=== dlloyd_ is now known as dlloyd | ||
drab | any clue what could be the cause of a UPS disconnecting every 5 mins? | 01:42 |
---|---|---|
drab | I'm running NUT on xenial with latest kernel and the UPS disconnects non stop | 01:43 |
drab | all the problems with disconnects I googled reported stuff about power/control, but that's already disabled for the UPS | 01:43 |
patdk-lap | I have no issues | 01:54 |
patdk-lap | you aren't using a usb in a vm are you? | 01:55 |
drab | patdk-lap: nope, plugged straight into the box | 02:00 |
drab | and I have 3 diff machines, from plain dsktop machines to a supermicro server and 2 of these UPSs (Eaton 1500) | 02:00 |
drab | they all show the same behavior | 02:00 |
drab | server and desktops are ubuntu xenial with latest kernel | 02:01 |
drab | the UPS works, I can talk to it and all, but I've had troubles when by chance I hit it during the disconnect window | 02:01 |
drab | and that's no good for a UPS... | 02:01 |
drab | or anything really, but especially some something that's supposed to add reliability to the system | 02:01 |
drab | I 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 down | 02:05 |
patdk-lap | dunno, I only have tripplite and apc | 02:19 |
patdk-lap | never had an issue like that, except when attempting to brige a usb port into a vm | 02:19 |
=== IdleOne- is now known as IdleOne | ||
ishaved4this | hey 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 hdd | 05:41 |
ishaved4this | is anyone up? | 05:44 |
OerHeks | ishaved4this, edit ~/.config/transmission/settings.json, and change "download-dir" and "incomplete-dir" | 05:49 |
OerHeks | to your hdd, something like /media/<your user>/abcabcabcabc etc/transmission/ | 05:51 |
ishaved4this | well transmission has been working on my internal hdd since i set it up | 05:52 |
ishaved4this | just 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 500gb | 05:53 |
ishaved4this | (or so I thought) and it refuses to download the torrent into it | 05:53 |
OerHeks | spaces in foldernames.. they should shoot the guy who invented that, and approved it. | 05:54 |
ishaved4this | hahaha is this my problem? | 06:02 |
OerHeks | i think you want > /mnt/Seagate\ 500gb | 06:03 |
ishaved4this | whoops! its actually /mnt/Seagate500gb | 06:04 |
OerHeks | oh oke, then no worry | 06:04 |
ishaved4this | but I am trying to download to /mnt/Seagate500gb/TV Shows | 06:05 |
ishaved4this | the funny thing is, that this works fine when I send a torrent to /home/user/tv Shows | 06:05 |
alkisg | Which user is transmission running at, you, or a system user called transmission-daemon? | 06:06 |
alkisg | *as | 06:06 |
ishaved4this | its running as its own user | 06:07 |
alkisg | And you think it has permission issues? | 06:07 |
alkisg | Then just su to that user and see if you have access | 06:07 |
alkisg | (using ls, cd ...) | 06:07 |
ishaved4this | well when I type in groups, debian-transmission is under me | 06:07 |
alkisg | It's not you that should have access to that group, but that user to your folders | 06:08 |
alkisg | Try sudo -u debian-transmission bash -l | 06:08 |
OerHeks | maybe change the group: chgrp -R debian-transmission /mnt/Seagate500gb/TV Shows | 06:08 |
alkisg | And from that bash, then cd / ls / check anything you want to see if you have access there | 06:09 |
ishaved4this | I did cd /mnt, and then /Seagate500GB and its saying no such file | 06:12 |
ishaved4this | Oer, what is that command doing? and shouldn't I do it to the entire seagate folder? because that directory has both /movies and /Tv Shows | 06:13 |
ishaved4this | TV* | 06:13 |
alkisg | Try this command, as the transmission user: ls /mnt/Seagate500GB | 06:14 |
ishaved4this | ok | 06:15 |
ishaved4this | in purple text it is showing 2 folders | 06:15 |
ishaved4this | lost+found and Seagate 500GB | 06:16 |
alkisg | Nice, so you have read access. Now try write access: | 06:16 |
alkisg | Eh wait, you have 2 Seagate500GB folders? | 06:16 |
alkisg | What's the output of this? ls /mnt/Seagate500GB | nc termbin.com 9999 | 06:17 |
ishaved4this | no, only one. I have folders within that folder | 06:17 |
ishaved4this | "/mnt/Seagate500GB: is a directory use netcat | 06:18 |
ishaved4this | " | 06:18 |
OerHeks | ls /mnt/Seagate500GB/ | nc termbin.com 9999 | 06:19 |
alkisg | Please use copy/paste, it helps to avoid mistyping things | 06:19 |
ishaved4this | lost+found | 06:20 |
ishaved4this | Seagate500GB | 06:20 |
ishaved4this | that's what it got | 06:20 |
alkisg | Did you use termbin? | 06:21 |
alkisg | Because termbin shows a URL | 06:21 |
ishaved4this | http://termbin.com/569m | 06:22 |
alkisg | OK, sorry, I needed ls -l: ls -l /mnt/Seagate500GB/ | nc termbin.com 9999 | 06:22 |
alkisg | So that the owner and permissions are shown too | 06:23 |
ishaved4this | okay, and do this from my user, or transmissions? | 06:23 |
alkisg | tranmission | 06:23 |
ishaved4this | debian-transmission@server:~$ ls -l: ls -l /mnt/Seagate500GB/ | nc termbin.com 9999 | 06:25 |
ishaved4this | ls: invalid option -- ':' | 06:25 |
ishaved4this | Try 'ls --help' for more information. | 06:25 |
ishaved4this | Use netcat. | 06:25 |
ishaved4this | debian-transmission@server:~$ | 06:25 |
alkisg | Only run the command after the : | 06:25 |
alkisg | ls -l /mnt/Seagate500GB/ | nc termbin.com 9999 | 06:25 |
ishaved4this | http://termbin.com/2bku | 06:26 |
alkisg | OK, so this: drwxrwxr-x 4 joey root 4096 Mar 12 23:19 Seagate500GB | 06:26 |
alkisg | This means that the joey user and the root group have write access | 06:26 |
alkisg | So, transmission won't be able to write in _that_ folder. Now let's see below that. | 06:27 |
alkisg | ls -l /mnt/Seagate500GB/Seagate500GB | nc termbin.com 9999 | 06:27 |
ishaved4this | that doesn't exsit | 06:27 |
ishaved4this | exist** | 06:28 |
alkisg | If it doesn't exist, you were not copy/pasting, but running your own commands | 06:28 |
ishaved4this | it goes /mnt/Seagate500Gb and in that directory is /Movies and /TV Shows | 06:28 |
alkisg | The ls command that you run says otherwise | 06:29 |
alkisg | Unless you're running whatever you want and not the commands that we ask | 06:29 |
ishaved4this | http://termbin.com/wm4f | 06:29 |
alkisg | Can you run this command and paste ALL the output? | 06:29 |
alkisg | ls -l /mnt/Seagate500GB/ | nc termbin.com 9999 | 06:29 |
alkisg | Don't run ls /mnt | 06:29 |
alkisg | Run the command as I put it above | 06:29 |
alkisg | And paste all the output, including the entries for . and .. | 06:30 |
ishaved4this | okay | 06:30 |
alkisg | Because if we ask for X and you tell us the results for Y, we can't help you, your replies don't make sense then | 06:30 |
ishaved4this | yeah, I have been copy and pasting. Heres the results for what you just told me to put in | 06:31 |
ishaved4this | http://termbin.com/855q | 06:31 |
alkisg | Let's try something else. What is the output of this? find /mnt -maxdepth 2 -type d | nc termbin.com 9999 | 06:33 |
ishaved4this | http://termbin.com/9qha | 06:34 |
alkisg | OK, see that line there?/mnt/Seagate500GB/Seagate500GB | 06:34 |
alkisg | Why do you say that this doesn't exist? | 06:34 |
alkisg | (08:27:25 πμ) alkisg: ls -l /mnt/Seagate500GB/Seagate500GB | nc termbin.com 9999 | 06:34 |
alkisg | (08:27:50 πμ) ishaved4this: that doesn't exsit | 06:34 |
alkisg | Now let's get the complete picture, with this command: find /mnt -maxdepth 3 -type d -ls | nc termbin.com 9999 | 06:35 |
alkisg | What's the output of that ^ command? | 06:35 |
ishaved4this | weird! because when I first had it set up, it didnt have two directories with the same name | 06:35 |
ishaved4this | okay ill paste that in | 06:35 |
ishaved4this | permission denied | 06:36 |
ishaved4this | hold on, nvm | 06:36 |
ishaved4this | http://termbin.com/ciux | 06:37 |
alkisg | Let's talk about this one: 74416131 4 drwxr-xr-x 2 root root 4096 Mar 12 23:15 /mnt/Seagate500GB/Seagate500GB/TV\ Shows | 06:37 |
alkisg | As you can see, only root can write there | 06:37 |
ishaved4this | ah. that and movies | 06:38 |
alkisg | Yes, it's the same for movies too | 06:38 |
ishaved4this | so I have to take ownership of those folders correct? | 06:38 |
alkisg | Not you, but transmission | 06:38 |
ishaved4this | okay, 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 |
alkisg | Does plex run as root? | 06:39 |
alkisg | ps aux|grep plex | 06:39 |
ishaved4this | joey 1238 0.0 0.0 4508 804 ? Ss 01:08 0:00 /bin/sh -c /usr/lib/plexmediaserver/Plex\ Media\ Server | 06:40 |
ishaved4this | joey 1241 0.1 2.1 439636 125524 ? Sl 01:08 0:07 /usr/lib/plexmediaserver/Plex Media Server | 06:40 |
ishaved4this | joey 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.bundle | 06:40 |
ishaved4this | joey 1367 0.0 1.0 304964 60468 ? Sl 01:08 0:03 /usr/lib/plexmediaserver/Plex DLNA Server | 06:40 |
ishaved4this | debian-+ 5564 0.0 0.0 14224 1028 pts/0 S+ 02:40 0:00 grep --color=auto plex | 06:40 |
ishaved4this | it runs as my normal user it seems | 06:40 |
alkisg | Then it won't have access to that folder | 06:41 |
alkisg | It may have access to a subfolder, if the subfolder has different owner or permissions | 06:41 |
alkisg | Try it yourself: touch /mnt/Seagate500GB/Seagate500GB/TV\ Shows/test | 06:41 |
alkisg | This should give you 'permission denied' | 06:42 |
ishaved4this | yup | 06:42 |
ishaved4this | so 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 |
alkisg | It's up to you | 06:43 |
alkisg | You can even make a "movies" group, and put joey and transmission to that group | 06:43 |
ishaved4this | okay so how do I add daemon-transmission to my group again? I forgot the command | 06:45 |
ishaved4this | I used "Sudo chown joey [directory] and now the termbin is looking like this | 06:49 |
ishaved4this | http://termbin.com/vy6s | 06: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 | ||
Hariharan | ping-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 | ||
jamespage | cpaelzer: does bug 1672367 ring any bells? yakkety specific and not a regression afaict | 12:53 |
ubottu | bug 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/1672367 | 12:53 |
roaksoax | b/win 8 | 13:19 |
cpaelzer | jamespage: hi | 13:21 |
cpaelzer | jamespage: yeah it actually does - let me check if it applies here | 13:21 |
cpaelzer | jamespage: ah no - yakkety | 13:22 |
cpaelzer | jamespage: ok all my bell ringing does not apply then | 13:22 |
cpaelzer | jamespage: we dropped something from depends to recommends in zesty related to this but nothing in yakkety | 13:22 |
cpaelzer | jamespage: although some of your debugging rings a bell and I can comment at least on that | 13:23 |
cpaelzer | jamespage: that apparmor is a red herring | 13:23 |
cpaelzer | I'll update the bug | 13:23 |
jamespage | cpaelzer: ta | 13:29 |
cpaelzer | jamespage: still updating | 13:29 |
cpaelzer | with more extras for you | 13:29 |
cpaelzer | jamespage: check the bug now | 13:34 |
cpaelzer | jamespage: I'm even closer now | 13:35 |
cpaelzer | I'm down to the same error msg | 13:35 |
cpaelzer | but since I lack your env you'll have to do the trial and error | 13:36 |
* cpaelzer is updating again | 13:36 | |
cpaelzer | jamespage: I'm atm creating the command chain you need | 13:41 |
cpaelzer | jamespage: I hope from there you can find your issue | 13:41 |
jamespage | cpaelzer: thankyou! | 13:43 |
cpaelzer | jamespage: updated the bug with more for you | 13:58 |
cpaelzer | jamespage: I hope it helps | 13:58 |
cpaelzer | I stop replying to myself there now, jamespage let me know if that gets you any further analyzing the case | 14:00 |
jamespage | cpaelzer: ack | 14:03 |
jamespage | cpaelzer: is there a way I can get libvirt to tell me what commands it tried to issue? | 14:16 |
cpaelzer | jamespage: If there is I don't know one | 14:18 |
cpaelzer | jamespage: I'd had hoped you'd know from the stack above what it submitted | 14:18 |
cpaelzer | :-/ | 14:18 |
jamespage | cpaelzer: ok got to the same error message - command in bug report | 14:47 |
coreycb | jamespage, beisner, python-os-brick 1.2.0-2ubuntu0.2~cloud0 is ready to promote to mitaka-updates | 15:01 |
Genk1 | HEllo all | 16:15 |
Genk1 | where I can find a trusted ssl certifcates for testing ? | 16:15 |
Genk1 | It seems that my Dovecot IMAP server doesn't like self-signed certificates | 16:16 |
rbasak | Genk1: 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 |
Genk1 | rbasak OK | 16:19 |
Genk1 | I was trying that last time | 16:20 |
Genk1 | with .localdomain but it didn't accept that | 16:20 |
Genk1 | I will try with something else | 16:20 |
rbasak | You will need a real domain. | 16:21 |
rbasak | No "real" CA will give you a certificate without a real domain. | 16:21 |
rbasak | If self-signed isn't acceptable, you have no other option. | 16:21 |
Genk1 | you're right | 16:21 |
rbasak | I suppose you could create your own CA, self-sign *that* and add it to your system CA list actually. | 16:21 |
Genk1 | thanks for your advice | 16:22 |
rbasak | But dovecot should work with self-signed anyway. | 16:22 |
rbasak | HTH :) | 16:22 |
cpaelzer | Thanks for the command jamespage | 16:32 |
cpaelzer | jamespage: and here things make sense, the error connecting made the "device" not appear | 16:33 |
cpaelzer | jamespage: so on the latter device_add it fails | 16:33 |
cpaelzer | jamespage: I guess it is not important if that is hotplug or on boot | 16:33 |
cpaelzer | jamespage: did you see you issues on boot, or later on? | 16:34 |
cpaelzer | posting to the bug to not loose it | 16:34 |
jamespage | cpaelzer: both | 16:41 |
tash | If EOL is listed for a distro as April 2017, does that mean April 1? | 18:30 |
nacc | tash: not necessarily | 18:31 |
tash | is there a way to find an exact date? | 18:32 |
tash | all 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 on | 18:32 |
nacc | tash: for 12.04? | 18:32 |
tash | yeah =\ | 18:33 |
nacc | i 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 anyways | 18:33 |
tash | yeah, makes sense | 18:33 |
sarnold | tash: I'm not sure there is an exact date planned until the date it happens | 18:36 |
drab | containers + bindfs + snaps outta be the coolest thing for fast dev I've seen in a long long time | 23:06 |
drab | \o/ hurray for tech that works | 23:06 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!