Version 2.0.0.5163
Mono Version 4.6.2
AppData directory /home/greg/.config/NzbDrone
Startup directory /opt/NzbDrone
ubuntu 18.04
When I installed the page told me to start sonarr I should enter:
systemctl enable sonarr.service
When I start I use: mono --debug /opt/NzbDrone/NzbDrone.exe but when I put the same thing into the startup folder it doesn’t start. What am I doing wrong?
when I enter systemctl status sonarr.service I get:
If I do: system status sonarr service it gives me:
greg@movies:~$ systemctl status sonarr service
Unit service.service could not be found.
● sonarr.service - Sonarr Daemon
Loaded: loaded (/etc/systemd/system/sonarr.service; enabled; vendor preset: e
Active: failed (Result: exit-code) since Mon 2018-05-28 10:42:07 PDT; 4h 48mi
Process: 1111 ExecStart=/usr/bin/mono /opt/NzbDrone/NzbDrone.exe -nobrowser (c
Main PID: 1111 (code=exited, status=217/USER)
May 28 10:42:07 movies systemd[1]: sonarr.service: Service hold-off time over, s
May 28 10:42:07 movies systemd[1]: sonarr.service: Scheduled restart job, restar
May 28 10:42:07 movies systemd[1]: Stopped Sonarr Daemon.
May 28 10:42:07 movies systemd[1]: sonarr.service: Start request repeated too qu
May 28 10:42:07 movies systemd[1]: sonarr.service: Failed with result 'exit-code
May 28 10:42:07 movies systemd[1]: Failed to start Sonarr Daemon.
I will take a look and see what I can find. I don’t know why is says group. The owner is root, and I am group but, still. I was messing around and thought to move to chromium browser. Big mistake. One of the clever things it does is make the use my email name, which is drufus2002, the user name. This, in turn, really screwed things up.
I might dink with the service file insofar and owner and group goes. I will make a run at greg as owner (me) and nzbdrone for group and see what happens. U suspect if they were using the one there it couldn’t open the folder. We will see. Oh, when running sonarr should nzbdrone always be group?
My file permissions are actually me:greg (both of which is me).
I tried to change the greg to nzbdrone and was told that was invalid
What should my permissions be? (I will delete and create a new file if I have to)
I mean how should the permissions be set in files that sonarr use. This one, for instance, is owned by me and so is the group. When I tried to change one of these to nzbdrone ubuntu refused the request stating that it was not possible. I was, at the time, operating as sudo. I have noticed that setting owner or group is not willy nilly but must comply with a set of possible answers among which is not nzbdrone. So, folders and files that are accessed by sonarr/nzbdrone should have the permissions, for those folders and files set how?
I had not given much thought to this until I started keeping track of program logs which tell me that certain files did not have permission to deal with them.
I guess I should also mention that I now have:
Missing root folder: /mnt/8ccdc8d0-afeb-4c4b-bb44-9b4e84b7ecd4/TV
This iocation no longer exists. I don’t think it hurts anything as I have checked the settings and they are just fine. This is my mess when I was we doing how a second drive was being mounted (typing that location code was a pain in the a**)
Apologize for throwing something at you in the midst of another topic.
Application files (dlls, exes, etc) should be owned by the user running Sonarr (so it can update). Media files should have a group that Sonarr is a member of, that gives it read and write access.
Thanks for the reply I will check to see what is using that path
Now for a group that sonarr is a member of. I have no idea how to figure that one out. I do know, however, what the valid groups are:
greg@gregdown:~$ groupmod
adm gnats operator systemd-bus-proxy
audio greg plugdev systemd-journal
avahi input proxy systemd-network
avahi-autoipd irc pulse systemd-resolve
backup kmem pulse-access systemd-timesync
bin lightdm root tape
bluetooth list rtkit tty
cdrom lp sambashare users
clamav lpadmin saned utmp
clickpkg mail sasl uucp
colord man scanner uuidd
crontab messagebus shadow video
daemon mlocate src vnstat
dialout motion ssh voice
dip netdev ssl-cert whoopsie
disk news staff www-data
fax nm-openvpn sudo
floppy nogroup sys
games nopasswdlogin syslog
Here is my problem for the root folder. first picture shows empty mnt folder, second shows show edit base locations (impossible as its empty (but working)) the third shows current path.
All your series are set to use /mnt/8ccd... based on the screenshot. Because they were set to use it before you removed the root folder. You need to update all the series paths in Sonarr to the new path.
thanks for the reply. I would have been happy to update the series paths but I couldn’t figure out a way to do that by bulk so it would mean changing every entry. I choose, instead, to rename the database file, change the root file, and re-import everything. I also had to reset all the settings. Given that I had been fighting everything this worked out for me and I spent a LOT less time doing this instead of trying to fix stuff.
Now, as far as I can tell everything is working properly, my files are being transferred, etc. Life is good!!!