/srv/irclogs.ubuntu.com/2017/03/13/#ubuntu-server.txt

=== dlloyd_ is now known as dlloyd
drabany clue what could be the cause of a UPS disconnecting every 5 mins?01:42
drabI'm running NUT on xenial with latest kernel and the UPS disconnects non stop01:43
draball the problems with disconnects I googled reported stuff about power/control, but that's already disabled for the UPS01:43
patdk-lapI have no issues01:54
patdk-lapyou aren't using a usb in a vm are you?01:55
drabpatdk-lap: nope, plugged straight into the box02:00
draband I have 3 diff machines, from plain dsktop machines to a supermicro server and 2 of these UPSs (Eaton 1500)02:00
drabthey all show the same behavior02:00
drabserver and desktops are ubuntu xenial with latest kernel02:01
drabthe UPS works, I can talk to it and all, but I've had troubles when by chance I hit it during the disconnect window02:01
draband that's no good for a UPS...02:01
drabor anything really, but especially some something that's supposed to add reliability to the system02:01
drabI got these guys because they are on the compatible list of NUT, and work well with it except this disconnect shenanings that I can't track down02:05
patdk-lapdunno, I only have tripplite and apc02:19
patdk-lapnever had an issue like that, except when attempting to brige a usb port into a vm02:19
=== IdleOne- is now known as IdleOne
ishaved4thishey guys, I'm pretty new to running my own home server and I was wondering if anyone could help me out in terms of getting transmission-daemons permissions right so i can allow it to download into a mounted ext4 hdd05:41
ishaved4thisis anyone up?05:44
OerHeksishaved4this, edit ~/.config/transmission/settings.json, and change  "download-dir" and "incomplete-dir"05:49
OerHeksto your hdd, something like /media/<your user>/abcabcabcabc etc/transmission/05:51
ishaved4thiswell transmission has been working on my internal hdd since i set it up05:52
ishaved4thisjust a few hours ago I set up this external, made it auto mountable, and used chwon to give myelf ownership of my folder /mnt/Seagate 500gb05:53
ishaved4this(or so I thought) and it refuses to download the torrent into it05:53
OerHeksspaces in foldernames.. they should shoot the guy who invented that, and approved it.05:54
ishaved4thishahaha is this my problem?06:02
OerHeksi think you want >  /mnt/Seagate\ 500gb06:03
ishaved4thiswhoops! its actually /mnt/Seagate500gb06:04
OerHeksoh oke, then no worry06:04
ishaved4thisbut I am trying to download to /mnt/Seagate500gb/TV Shows06:05
ishaved4thisthe funny thing is, that this works fine when I send a torrent to /home/user/tv Shows06:05
alkisgWhich user is transmission running at, you, or a system user called transmission-daemon?06:06
alkisg*as06:06
ishaved4thisits running as its own user06:07
alkisgAnd you think it has permission issues?06:07
alkisgThen just su to that user and see if you have access06:07
alkisg(using ls, cd ...)06:07
ishaved4thiswell when I type in groups, debian-transmission is under me06:07
alkisgIt's not you that should have access to that group, but that user to your folders06:08
alkisgTry sudo -u debian-transmission bash -l06:08
OerHeksmaybe change the group:  chgrp -R debian-transmission /mnt/Seagate500gb/TV Shows06:08
alkisgAnd from that bash, then cd / ls / check anything you want to see if you have access there06:09
ishaved4thisI did cd /mnt, and then /Seagate500GB and its saying no such file06:12
ishaved4thisOer, what  is that command doing? and shouldn't I do it to the entire seagate folder? because that directory has both /movies and /Tv Shows06:13
ishaved4thisTV*06:13
alkisgTry this command, as the transmission user: ls /mnt/Seagate500GB06:14
ishaved4thisok06:15
ishaved4thisin purple text it is showing 2 folders06:15
ishaved4thislost+found and Seagate 500GB06:16
alkisgNice, so you have read access. Now try write access:06:16
alkisgEh wait, you have 2 Seagate500GB folders?06:16
alkisgWhat's the output of this? ls /mnt/Seagate500GB | nc termbin.com 999906:17
ishaved4thisno, only one. I have folders within that folder06:17
ishaved4this"/mnt/Seagate500GB: is a directory use netcat06:18
ishaved4this"06:18
OerHeks ls /mnt/Seagate500GB/ | nc termbin.com 999906:19
alkisgPlease use copy/paste, it helps to avoid mistyping things06:19
ishaved4thislost+found06:20
ishaved4thisSeagate500GB06:20
ishaved4thisthat's what it got06:20
alkisgDid you use termbin?06:21
alkisgBecause termbin shows a URL06:21
ishaved4thishttp://termbin.com/569m06:22
alkisgOK, sorry, I needed ls -l: ls -l /mnt/Seagate500GB/ | nc termbin.com 999906:22
alkisgSo that the owner and permissions are shown too06:23
ishaved4thisokay, and do this from my user, or transmissions?06:23
alkisgtranmission06:23
ishaved4thisdebian-transmission@server:~$ ls -l: ls -l /mnt/Seagate500GB/ | nc termbin.com 999906:25
ishaved4thisls: invalid option -- ':'06:25
ishaved4thisTry 'ls --help' for more information.06:25
ishaved4thisUse netcat.06:25
ishaved4thisdebian-transmission@server:~$06:25
alkisgOnly run the command after the :06:25
alkisgls -l /mnt/Seagate500GB/ | nc termbin.com 999906:25
ishaved4thishttp://termbin.com/2bku06:26
alkisgOK, so this: drwxrwxr-x 4 joey root 4096 Mar 12 23:19 Seagate500GB06:26
alkisgThis means that the joey user and the root group have write access06:26
alkisgSo, transmission won't be able to write in _that_ folder. Now let's see below that.06:27
alkisgls -l /mnt/Seagate500GB/Seagate500GB | nc termbin.com 999906:27
ishaved4thisthat doesn't exsit06:27
ishaved4thisexist**06:28
alkisgIf it doesn't exist, you were not copy/pasting, but running your own commands06:28
ishaved4thisit goes /mnt/Seagate500Gb and in that directory is /Movies and /TV Shows06:28
alkisgThe ls command that you run says otherwise06:29
alkisgUnless you're running whatever you want and not the commands that we ask06:29
ishaved4thishttp://termbin.com/wm4f06:29
alkisgCan you run this command and paste ALL the output?06:29
alkisgls -l /mnt/Seagate500GB/ | nc termbin.com 999906:29
alkisgDon't run ls /mnt06:29
alkisgRun the command as I put it above06:29
alkisgAnd paste all the output, including the entries for . and ..06:30
ishaved4thisokay06:30
alkisgBecause if we ask for X and you tell us the results for Y, we can't help you, your replies don't make sense then06:30
ishaved4thisyeah, I have been copy and pasting. Heres the results for what you just told me to put in06:31
ishaved4thishttp://termbin.com/855q06:31
alkisgLet's try something else. What is the output of this? find /mnt -maxdepth 2 -type d | nc termbin.com 999906:33
ishaved4thishttp://termbin.com/9qha06:34
alkisgOK, see that line there?/mnt/Seagate500GB/Seagate500GB06:34
alkisgWhy do you say that this doesn't exist?06:34
alkisg(08:27:25 πμ) alkisg: ls -l /mnt/Seagate500GB/Seagate500GB | nc termbin.com 999906:34
alkisg(08:27:50 πμ) ishaved4this: that doesn't exsit06:34
alkisgNow let's get the complete picture, with this command: find /mnt -maxdepth 3 -type d -ls | nc termbin.com 999906:35
alkisgWhat's the output of that ^ command?06:35
ishaved4thisweird! because when I first had it set up, it didnt have two directories with the same name06:35
ishaved4thisokay ill paste that in06:35
ishaved4thispermission denied06:36
ishaved4thishold on, nvm06:36
ishaved4thishttp://termbin.com/ciux06:37
alkisgLet's talk about this one: 74416131      4 drwxr-xr-x   2 root     root         4096 Mar 12 23:15 /mnt/Seagate500GB/Seagate500GB/TV\ Shows06:37
alkisgAs you can see, only root can write there06:37
ishaved4thisah. that and movies06:38
alkisgYes, it's the same  for movies too06:38
ishaved4thisso I have to take ownership of those folders correct?06:38
alkisgNot you, but transmission06:38
ishaved4thisokay, now I also use plex. if only root can read/write here shouldnt i also give plex permission to read/write as well?06:39
alkisgDoes plex run as root?06:39
alkisgps aux|grep plex06:39
ishaved4thisjoey      1238  0.0  0.0   4508   804 ?        Ss   01:08   0:00 /bin/sh -c /usr/lib/plexmediaserver/Plex\ Media\ Server06:40
ishaved4thisjoey      1241  0.1  2.1 439636 125524 ?       Sl   01:08   0:07 /usr/lib/plexmediaserver/Plex Media Server06:40
ishaved4thisjoey      1307  0.2  0.9 1726432 56540 ?       SNl  01:08   0:11 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-03e4cfa35/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.4.3.3433-03e4cfa35 /usr/lib/plexmediaserver/Resources/Plug-ins-03e4cfa35/System.bundle06:40
ishaved4thisjoey      1367  0.0  1.0 304964 60468 ?        Sl   01:08   0:03 /usr/lib/plexmediaserver/Plex DLNA Server06:40
ishaved4thisdebian-+  5564  0.0  0.0  14224  1028 pts/0    S+   02:40   0:00 grep --color=auto plex06:40
ishaved4thisit runs as my normal user it seems06:40
alkisgThen it won't have access to that folder06:41
alkisgIt may have access to a subfolder, if the subfolder has different owner or permissions06:41
alkisgTry it yourself: touch /mnt/Seagate500GB/Seagate500GB/TV\ Shows/test06:41
alkisgThis should give you 'permission denied'06:42
ishaved4thisyup06:42
ishaved4thisso should I give joey ownership to the subfolders, along with having dabian-transmission in my group, or should I independently give them access to the folders?06:43
alkisgIt's up to you06:43
alkisgYou can even make a "movies" group, and put joey and transmission to that group06:43
ishaved4thisokay so how do I add daemon-transmission to my group again? I forgot the command06:45
ishaved4thisI used "Sudo chown joey [directory] and now the termbin is looking like this06:49
ishaved4thishttp://termbin.com/vy6s06:49
=== Agent_ is now known as Agent
=== _degorenko|afk is now known as degorenko
=== mundus2018 is now known as Lxrowe
=== Lxrowe is now known as mundus2018
Hariharanping-all : what is the option to do text based installation of ubuntu with preseed file?09:51
=== JanC is now known as Guest42627
=== JanC_ is now known as JanC
jamespagecpaelzer: does bug 1672367 ring any bells? yakkety specific and not a regression afaict12:53
ubottubug 1672367 in qemu (Ubuntu) "libvirtError: internal error: unable to execute QEMU command 'device_add': Property 'virtio-blk-device.drive' can't find value 'drive-virtio-disk1'" [Undecided,New] https://launchpad.net/bugs/167236712:53
roaksoaxb/win 813:19
cpaelzerjamespage: hi13:21
cpaelzerjamespage: yeah it actually does - let me check if it applies here13:21
cpaelzerjamespage: ah no - yakkety13:22
cpaelzerjamespage: ok all my bell ringing does not apply then13:22
cpaelzerjamespage: we dropped something from depends to recommends in zesty related to this but nothing in yakkety13:22
cpaelzerjamespage: although some of your debugging rings a bell and I can comment at least on that13:23
cpaelzerjamespage: that apparmor is a red herring13:23
cpaelzerI'll update the bug13:23
jamespagecpaelzer: ta13:29
cpaelzerjamespage: still updating13:29
cpaelzerwith more extras for you13:29
cpaelzerjamespage: check the bug now13:34
cpaelzerjamespage: I'm even closer now13:35
cpaelzerI'm down to the same error msg13:35
cpaelzerbut since I lack your env you'll have to do the trial and error13:36
* cpaelzer is updating again13:36
cpaelzerjamespage: I'm atm creating the command chain you need13:41
cpaelzerjamespage: I hope from there you can find your issue13:41
jamespagecpaelzer: thankyou!13:43
cpaelzerjamespage: updated the bug with more for you13:58
cpaelzerjamespage: I hope it helps13:58
cpaelzerI stop replying to myself there now, jamespage let me know if that gets you any further analyzing the case14:00
jamespagecpaelzer: ack14:03
jamespagecpaelzer: is there a way I can get libvirt to tell me what commands it tried to issue?14:16
cpaelzerjamespage: If there is I don't know one14:18
cpaelzerjamespage: I'd had hoped you'd know from the stack above what it submitted14:18
cpaelzer:-/14:18
jamespagecpaelzer: ok got to the same error message - command in bug report14:47
coreycbjamespage, beisner, python-os-brick 1.2.0-2ubuntu0.2~cloud0 is ready to promote to mitaka-updates15:01
Genk1HEllo all16:15
Genk1where I can find a trusted ssl certifcates for testing ?16:15
Genk1It seems that my Dovecot IMAP server doesn't like self-signed certificates16:16
rbasakGenk1: you could get real certificates from letsencrypt at no charge. That's probably the easiest nowadays, even for testing.16:19
rbasak(use test.genk1.com or whatever)16:19
Genk1rbasak OK16:19
Genk1I was trying that last time16:20
Genk1with .localdomain  but it didn't accept that16:20
Genk1I will try with something else16:20
rbasakYou will need a real domain.16:21
rbasakNo "real" CA will give you a certificate without a real domain.16:21
rbasakIf self-signed isn't acceptable, you have no other option.16:21
Genk1you're right16:21
rbasakI suppose you could create your own CA, self-sign *that* and add it to your system CA list actually.16:21
Genk1thanks for your advice16:22
rbasakBut dovecot should work with self-signed anyway.16:22
rbasakHTH :)16:22
cpaelzerThanks for the command jamespage16:32
cpaelzerjamespage: and here things make sense, the error connecting made the "device" not appear16:33
cpaelzerjamespage: so on the latter device_add it fails16:33
cpaelzerjamespage: I guess it is not important if that is hotplug or on boot16:33
cpaelzerjamespage: did you see you issues on boot, or later on?16:34
cpaelzerposting to the bug to not loose it16:34
jamespagecpaelzer: both16:41
tashIf EOL is listed for a distro as April 2017, does that mean April 1?18:30
nacctash: not necessarily18:31
tashis there a way to find an exact date?18:32
tashall I see on the doc site is April 2017, but I'd like to know if I have time ... or if end of March is what I need to focus on18:32
nacctash: for 12.04?18:32
tashyeah =\18:33
nacci don't believe an exact date is available, but i'd ask in #ubuntu-release probably. However, you want to migrate *before* it goes EOL anyways18:33
tashyeah, makes sense18:33
sarnoldtash: I'm not sure there is an exact date planned until the date it happens18:36
drabcontainers + bindfs + snaps outta be the coolest thing for fast dev I've seen in a long long time23:06
drab\o/ hurray for tech that works23:06

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!