I got nzbdrone setup on my Ubuntu server (headless) to run automatically and added existing shows using the web ui. Then it seemed to lock up, so I logged into that machine and restarted the service (sudo service nzbdrone restart). Now I just get a 404 when I try to go to the URL for the app. I never changed any port settings, so can’t figure out why it’s just returning a 404? If I check the status of the service (service nzbdrone status) it says it’s running and gives me the process id, but the app just returns a 404. Any idea what I can do to get this working again? Thanks!
try killing all mono processes and starting again, you might have an zombie process.
Sorry for my ignorance, but are there any command line examples of how to kill all mono processes? I Googled it and didn’t come up with anything useful… Thanks!
Just like killing any other process, use kill
and if it won’t die use kill -9
I can kill the nzbdrone process, I just don’t know what other mono processes might be running…? I don’t believe I’ve installed any other mono-based packages - is there a way to find out? I thought maybe there was a command to list all mono processes so that I can kill them using their process ids…
Just to confirm though, I CAN stop the nzbdrone process and restart it and I still get a 404 on the web ui.
Ahh, not sure if there is a way to see the application that is running via mono.
The log files should be in /home//.config/NzbDrone - if NzbDrone is running properly it should be logging periodically as it runs through jobs. Also on start it should log if for some reason it can’t start the web server.
I’d suggest, stopping drone (kill mono), delete the log files, start drone, post the contents of the log file on pastebin.
@markus101 said:
The log files should be in /home//.config/NzbDrone - if NzbDrone is running properly it should be logging periodically as it runs through jobs. Also on start it should log if for some reason it can’t start the web server.
I don’t mean to be difficult, but I don’t have a /home/.config folder… Where else might the logs be kept? This machine is running Ubuntu stable 12.04, if that helps at all? I checked the install folder and it looks like just the executable, dependent assemblies and the UI stuff is there, no logs.
I used this link to setup the auto-start (option #1): https://github.com/NzbDrone/NzbDrone/wiki/Autostart-on-Linux
Sorry the forums nuked it: /home/<user>/.config/NzbDrone
where <user>
is your username
Try this:
ps -A | grep mono
That will give you a list of all the mono processes.
Then ‘kill -9 <PID#>’
You may need to 'sudo kill -9 <PID#>
@markus101 said:
Sorry the forums nuked it:/home/<user>/.config/NzbDrone
where<user>
is your username
Got it - I was able to view the log, which showed that the config file was corrupt. So I stopped nzbdrone process, renamed the config.xml to config_old.xml, then restarted nzbdrone and it comes right up. Thanks for your help!!
Ahh, thats too bad, looks like the service doesn’t care if the app actually starts, not sure if there is a way to make that better though.