Search #Ubuntu channel logs

Note: Use Ctrl+F to search through these logs

Saturday, March 4, 2017

#ubuntu channel featuring priporg, w6equj5, ljc, CrazyTux, hggdh, jamesd,

hggdh 2017-03-04 16:45:22
?
jamesd 2017-03-04 16:46:57
alexa is a game changer it rocks...
ljc 2017-03-04 16:50:13
hey i'm having trouble setting up my wifi on ubuntu server
ljc 2017-03-04 16:51:33
i've laid out my files to be following this template https://ubuntuforums.org/showthread.php?t=1238387 . with /etc/network/interfaces pointing to wpa_supplicant.conf
ljc 2017-03-04 16:53:00
and i've tried wpa_supplicant.conf with psk="PASSWORD" and psk=103aHASH (generated from running `wpa_passphrase ssid password`)
ljc 2017-03-04 16:53:06
but neither work
w6equj5 2017-03-04 16:58:35
Hi all, I need help troubleshooting Ethernet connection issues on a fresh install of Xubuntu 16.04. I know for sure the Ethernet card works because my live USB could connect to the Internet. But once installed, Xubuntu tells me it is connected, but nothing works. Even pinging my gateway doesn't work. I have no clue why. Same computer had same problem with the previous install of Ubuntu 14.04. I thought reinstalling a new one would somehow
w6equj5 2017-03-04 16:58:35
solve it but now. Please help!
vengeancecube 2017-03-04 16:59:21
hello
reisio 2017-03-04 16:59:54
hi
vengeancecube 2017-03-04 17:00:00
Wondering if anyone can help me as I'm freaking out...I'm sure you get this all the time but I just lost everything. Ran a chmod and all my files are gone
reisio 2017-03-04 17:00:12
no, they aren't
vengeancecube 2017-03-04 17:00:21
I really hope you're right
reisio 2017-03-04 17:00:34
chmod doesn't delete things
vengeancecube 2017-03-04 17:00:38
sudo find /storage/PlexMedia -type d -exec chmod 755 {} \;; find /storage/PlexMedia -type f -exec chmod 644 {} \;
vengeancecube 2017-03-04 17:00:41
that's what I ran
reisio 2017-03-04 17:00:58
there's probably a 0.000000000000000000000000000001% chance that lost any files
vengeancecube 2017-03-04 17:01:04
checked the drive and all my files are gone
reisio 2017-03-04 17:01:11
they're probably just no longer readable in the way you want them to be
vengeancecube 2017-03-04 17:01:26
ok, so next question: how do I get them back?
reisio 2017-03-04 17:01:54
vengeancecube: what kind of files are they?
reisio 2017-03-04 17:01:59
vengeancecube: why'd you run that in the first place?
vengeancecube 2017-03-04 17:02:01
it's terabytes of photos and videos
reisio 2017-03-04 17:02:07
k
vengeancecube 2017-03-04 17:02:08
I am setting up a plex media server
reisio 2017-03-04 17:02:09
vengeancecube: why'd you run that in the first place?
vengeancecube 2017-03-04 17:02:19
wanted to be able to view them all on my TV
reisio 2017-03-04 17:02:26
okay, well
reisio 2017-03-04 17:02:38
if you aren't worried about other people reading them, you can just chmod 777 the files
vengeancecube 2017-03-04 17:02:39
the tutorial I was going through said I'd need to let plex have ownership of the folder
reisio 2017-03-04 17:02:42
and you'll probably be back in business
reisio 2017-03-04 17:02:55
sounds like a daft tutorial
reisio 2017-03-04 17:02:58
either that or plex itself is crap
vengeancecube 2017-03-04 17:03:02
ok, admittedly newb here
vengeancecube 2017-03-04 17:03:16
what exactly should I enter to get the files back
vengeancecube 2017-03-04 17:03:22
the entire /storage is empty
vengeancecube 2017-03-04 17:03:41
I don't care about others reading them for now
reisio 2017-03-04 17:03:41
you'll need ssh access to the plex device, then
reisio 2017-03-04 17:03:48
or physical filesystem access
vengeancecube 2017-03-04 17:03:49
terminal is already up
reisio 2017-03-04 17:04:06
so where're your files?
vengeancecube 2017-03-04 17:04:21
they were in /storage
reisio 2017-03-04 17:04:24
chmod -R 777 path/to/files/ will probably suffice
vengeancecube 2017-03-04 17:04:30
ok, let me try
reisio 2017-03-04 17:04:32
just keep in mind that it's a command you don't want to ordinarily run casually
reisio 2017-03-04 17:04:41
as with the command you already ran that broke stuff, it can really break stuff
reisio 2017-03-04 17:04:55
in this case, with a bunch of personal files on a local network only, there's little risk
vengeancecube 2017-03-04 17:04:59
ok. geez I hope this works
reisio 2017-03-04 17:04:59
personal media files*
reisio 2017-03-04 17:05:05
it won't ever delete data
reisio 2017-03-04 17:05:12
but it can really make your life hard
vengeancecube 2017-03-04 17:05:21
ran it
vengeancecube 2017-03-04 17:05:24
no output
vengeancecube 2017-03-04 17:05:31
checked the folder and there's still nothing there
reisio 2017-03-04 17:05:32
try restarting your plex/network mount/service
reisio 2017-03-04 17:05:39
service/s :p
vengeancecube 2017-03-04 17:06:43
no good there
vengeancecube 2017-03-04 17:06:58
plex shouldn't really ever delete anything. It just accesses the media
vengeancecube 2017-03-04 17:07:16
maybe I need to back up here
reisio 2017-03-04 17:07:59
you should backup anything you care about that you haven't backed up
vengeancecube 2017-03-04 17:08:04
I was trying to move the metadat from plex off my server's main drive before added the libraries
reisio 2017-03-04 17:08:05
but there's virtually no chance you've lost anything
reisio 2017-03-04 17:08:14
probably the server can't read the files now
reisio 2017-03-04 17:08:20
and your network mount manifests that as no files
vengeancecube 2017-03-04 17:08:43
is there any way to verify that the files are still there?
reisio 2017-03-04 17:08:53
from the plex install, yeah
vengeancecube 2017-03-04 17:09:05
I mean from the terminal
reisio 2017-03-04 17:09:05
find /path/to/files/ -type f -exec file {} \; | head
reisio 2017-03-04 17:09:19
yes, but not from your local install that presently thinks they don't exist, probably not
reisio 2017-03-04 17:09:25
unless you can ssh into the plex install
vengeancecube 2017-03-04 17:09:34
ok, I'm a little confused
vengeancecube 2017-03-04 17:09:48
I've got a machine running ubuntu server down in my basement
vengeancecube 2017-03-04 17:09:55
I installed plex media server on it
vengeancecube 2017-03-04 17:10:03
it's got a raid 5 running
vengeancecube 2017-03-04 17:10:13
I'm ssh'd into the server from my desktop
vengeancecube 2017-03-04 17:10:22
the files should be in /storage
vengeancecube 2017-03-04 17:10:32
but when I cd /storage there's nothing there
vengeancecube 2017-03-04 17:10:49
does that all sound right?
reisio 2017-03-04 17:11:34
vengeancecube: why /storage?
vengeancecube 2017-03-04 17:11:48
that's the folder where all my media was stored
vengeancecube 2017-03-04 17:11:55
it's the only folder on the raid 5
w6equj5 2017-03-04 17:12:00
vengeancecube, reisio, sorry to interrupt guys but could it have something to do with a storage that has been unmounted?
vengeancecube 2017-03-04 17:12:13
no, everything is mounted
vengeancecube 2017-03-04 17:12:18
I can see the /storage folder
vengeancecube 2017-03-04 17:12:24
just everything that was in it is gone
reisio 2017-03-04 17:12:38
vengeancecube: what's 'mount' say about 'storage'?
vengeancecube 2017-03-04 17:12:57
apologies, not sure what you mean by that
reisio 2017-03-04 17:13:14
mount | grep -i storage
vengeancecube 2017-03-04 17:13:42
I ran that and there was no output
reisio 2017-03-04 17:14:10
then probably it isn't mounted
reisio 2017-03-04 17:14:12
it depends
reisio 2017-03-04 17:14:16
grep -i storage /etc/fstab
vengeancecube 2017-03-04 17:14:37
ran that, nothing happened
vengeancecube 2017-03-04 17:14:51
if it wasn't mounted, how could I cd to the folder?
reisio 2017-03-04 17:14:58
okay, how about egrep -ir '\/storage' /etc/
vengeancecube 2017-03-04 17:15:03
wouldn't it tell me that it doesn't exist?
reisio 2017-03-04 17:15:07
a directory ("folder") is just a directory
reisio 2017-03-04 17:15:17
no, typically you have an empty directory for any mount point
reisio 2017-03-04 17:15:22
if it's not mounted, it'd be an empty directory
vengeancecube 2017-03-04 17:15:32
grep: /etc/group-: Permission denied grep: /etc/sudoers: Permission denied grep: /etc/gshadow: Permission denied grep: /etc/shadow: Permission denied grep: /etc/libvirt/qemu/networks/default.xml: Permission denied grep: /etc/libvirt/qemu.conf: Permission denied grep: /etc/shadow-: Permission denied grep: /etc/apparmor.d/cache/sbin.dhclient: Permission denied grep: /etc/apparmor.d/cache/usr.lib.libvirt.virt-aa-helper: Permission
vengeancecube 2017-03-04 17:15:38
whoa
reisio 2017-03-04 17:15:45
sudo egrep then
vengeancecube 2017-03-04 17:16:25
one sec
vengeancecube 2017-03-04 17:17:20
that put out : /etc/samba/smb.conf:path = /storage
vengeancecube 2017-03-04 17:17:51
I did have the folder on a samba file share so I could access it through windows
vengeancecube 2017-03-04 17:18:44
that setting off any red flags?
reisio 2017-03-04 17:20:00
not really
reisio 2017-03-04 17:20:11
but it's also not clear how you were mounting /storage, if you were
reisio 2017-03-04 17:20:26
vengeancecube: try sudo locate *some*filename*string*you*know*
reisio 2017-03-04 17:20:29
sudo locate *jpg
reisio 2017-03-04 17:20:33
or sudo find / -iname '*.jpg'
vengeancecube 2017-03-04 17:20:39
sudo mount -t ext4 /dev/md0 /storage
vengeancecube 2017-03-04 17:20:42
was how I mounted it
reisio 2017-03-04 17:20:47
oh you mounted it manually?
reisio 2017-03-04 17:20:49
try that again, then
vengeancecube 2017-03-04 17:21:13
oh good lord
vengeancecube 2017-03-04 17:21:16
they're there
vengeancecube 2017-03-04 17:21:22
holy crap you just saved my bacon
vengeancecube 2017-03-04 17:21:27
it's all there
priporg 2017-03-04 17:21:31
hi, i'm having trouble installing java on Ubuntu 16.04. i tired doing sudo apt install default-jre. Cannot verify java is installed in firefox https://www.java.com/en/download/installed.jsp. Help
vengeancecube 2017-03-04 17:21:40
dude, reisio thank you
vengeancecube 2017-03-04 17:21:45
seriously
reisio 2017-03-04 17:21:50
priporg: you want java in your browser? This is usually a terrible idea
reisio 2017-03-04 17:21:53
vengeancecube: :p
reisio 2017-03-04 17:22:03
vengeancecube: so probably if you want that always mounted, you should add a line to /etc/fstab
vengeancecube 2017-03-04 17:22:03
oh thank God
vengeancecube 2017-03-04 17:22:15
yeah, there WAS a line
reisio 2017-03-04 17:22:20
although you probably won't forget it at this point :p
priporg 2017-03-04 17:22:48
reisio, it's pretty common that have java installed in browsers...
vengeancecube 2017-03-04 17:23:01
WAIT
vengeancecube 2017-03-04 17:23:07
good grief, I just figured it out
reisio 2017-03-04 17:23:07
priporg: not for maybe 5 years now, no
vengeancecube 2017-03-04 17:23:20
I reinstalled ubuntu today
reisio 2017-03-04 17:23:23
it's a massive, enormous, terrific security hole
vengeancecube 2017-03-04 17:23:28
holy crap I'm an idiot
reisio 2017-03-04 17:23:30
you can still do it, you should just know that
vengeancecube 2017-03-04 17:23:46
I rebooted and it didn't remount
reisio 2017-03-04 17:23:51
makes sense
thyriaen 2017-03-04 17:23:54
trying to install libqtcore4 and i got this error : any help ? http://pastebin.com/2jiUKsQy
reisio 2017-03-04 17:23:59
one time I disabled the first USB device automatically in an install
vengeancecube 2017-03-04 17:24:00
geez it was so simple
reisio 2017-03-04 17:24:11
and then the usb order changed and I couldn't figure out why the keyboard didn't work :p
priporg 2017-03-04 17:24:13
reisio, right. unfortunately many apps in browsers require java to run.
reisio 2017-03-04 17:24:22
priporg: no
reisio 2017-03-04 17:24:26
but maybe >0 do
vengeancecube 2017-03-04 17:24:27
I'd buy you a beer if I could
reisio 2017-03-04 17:24:32
probably not >0 worth using, however
vengeancecube 2017-03-04 17:24:34
thank you so much for the help
reisio 2017-03-04 17:24:38
vengeancecube: where're you at?
vengeancecube 2017-03-04 17:24:45
upstate NY
priporg 2017-03-04 17:24:46
reisio, what is >0
reisio 2017-03-04 17:24:50
vengeancecube: that's a hike :p
reisio 2017-03-04 17:24:56
priporg: a number more than 0
vengeancecube 2017-03-04 17:25:18
Well bathe in the satisfaction that you solved someone's life crisis today
vengeancecube 2017-03-04 17:25:41
can't properly describe the panic when I saw that empty folder
priporg 2017-03-04 17:25:59
hi, i'm having trouble installing java on Ubuntu 16.04. i tried doing sudo apt install default-jre. Cannot verify java is installed in firefox https://www.java.com/en/download/installed.jsp. What am i doing wrong?
reisio 2017-03-04 17:26:04
vengeancecube: :D
reisio 2017-03-04 17:26:10
vengeancecube: and now you setup your backup system :p
vengeancecube 2017-03-04 17:26:21
The family photos are backed up but the rest of it wasn't. And it wasn't stuff that I could never get again but it would take months.
w6equj5 2017-03-04 17:26:21
My Ethernet connection thinks it's on. Xubuntu (16.04) tells me I'm connected, but I can't even ping my gateway ("Destinatin Host Unreachable"). What should be my first troubleshooting step?
reisio 2017-03-04 17:26:28
vengeancecube: and since you said you're using RAID, let me tell you now: a RAID is not a backup
vengeancecube 2017-03-04 17:26:33
Oh I know
reisio 2017-03-04 17:26:38
ok :)
vengeancecube 2017-03-04 17:26:42
it's just one line of defense
vengeancecube 2017-03-04 17:26:49
the truly important stuff it backed up
reisio 2017-03-04 17:26:50
well, it's not a backup at all
reisio 2017-03-04 17:26:59
RAID is about redundancy of access, not data
reisio 2017-03-04 17:27:45
terrible misnomer
vengeancecube 2017-03-04 17:27:51
well if one drive went down I could still theoretically rebuild with no data loss right? I still have the truly important stuff backed up of course but it'd be nice not to have to use it
reisio 2017-03-04 17:28:30
it's just not the issue, you really don't want to try and think of RAID as a backup system
vengeancecube 2017-03-04 17:29:02
I certainly don't rely on it. As I said, I keep backups of the really irreplaceable stuff
reisio 2017-03-04 17:29:07
the purpose of RAID is to increase access to data on storage and _not_ to ensure that data is available in safe, redundant copies
vengeancecube 2017-03-04 17:29:10
one off-site
priporg 2017-03-04 17:29:13
RAID is about speed
reisio 2017-03-04 17:29:15
okay, just making sure :)
vengeancecube 2017-03-04 17:29:31
okay, I need to go have a beer.
vengeancecube 2017-03-04 17:29:39
drinking to you reisio. Thanks again
reisio 2017-03-04 17:29:49
mmm, beer
reisio 2017-03-04 17:29:53
taking a day off beer
reisio 2017-03-04 17:30:00
but tomorrow, oh tomorrow...
reisio 2017-03-04 17:30:03
ze beer she will flow
CrazyTux 2017-03-04 17:33:44
I have Xubuntu 16.10 installed. Over that I have installed Lubuntu, Gnome, Mate DEs
CrazyTux 2017-03-04 17:34:13
may be because of this it takes more time during boot up.
Bashing-om 2017-03-04 17:34:49
CrazyTux: 1)No - the only loss s disk space , 2) No . though lighter desktops can run faster in the more limited resources .
priporg 2017-03-04 17:36:00
CrazyTux, yes slower
priporg 2017-03-04 17:38:03
i don't think firefox supports Java
priporg 2017-03-04 17:38:12
anymore...
Bashing-om 2017-03-04 17:43:00