Running on Ubuntu - Cant access web interface?

Hey Everyone,

Came across this tool thanks to oznzb - downloaded it to my ubuntu box as per the instructions on the front page.

However when i start the instance, it confirms with “Press any key to exit” but if i nagivate to my box XX.XX.XX.XX:8989 i get a page cannot be displayed error.

I decided to check the status by running “service nzbdrone status” and i get the output:nzbdrone stop/waiting

From this i then tried to restart the service and get the error:
stop: Unknown instance:
start: Rejected send message, 1 matched rules; type=“method_call”, sender=":1.12" (uid=1000 pid=3544 comm=“start nzbdrone “) interface=“com.ubuntu.Upstart0_6.Job” member=“Start” error name=”(unset)” requested_reply=“0” destination=“com.ubuntu.Upstart” (uid=0 pid=1 comm="/sbin/init")

I tried to then review all my mono processes (ps -A | grep mono) just incase i had a rogue one running somewhere but supposedly nothing is running as i get no output from this command. Last but not least i tried a system restart and i still get the same error, I would really like to give this tool a spin and would greatly appreciate any help / support anyone can put forth :slight_smile:

Thanks,

MrTPN

Maybe my video can help you look things over? https://www.youtube.com/watch?v=3UI6sHl00fY

Sounds like its failing to start properly, check your log files they should be in ~/.config/NzbDrone/logs

Well after a little digging around i decided to run sudo apt-get install mono-complete and re-install Nzbdrone.

I am pleased to report that she runs just FINE, however only if i start her under sudo.

Any ideas what this might be related to?

MrTPN

So, to further my post, i have currently got NzbDrone installed and running as root which seems to work fine, however i want to run it as another user.

When attempting to run as another user, it simply won’t run.

From what i can see it won’t run because the AppData directory is /root/.config/NzbDrone which is root’s home folder.

Is it possible to move the configs for NzbDrone to another location and point AppData to it? I have had a look in the config files that i could find, but didn’t see anything.

Thanks in advance!

MrTPN

You should be able to copy the NzbDrone folder to /home/user/.config then sudo chown user:user -R /home/user/.config/NzbDrone and be ok

Hi All - Everything is now up and running, thanks everyone for the input :slight_smile:

One thing i wanted nzbdrone to do for me was organise my collection, so i kicked of the organisation tool but now i get the below error. Would greatly appreciate any support / help on understanding what parameter it has an issue with exactly. Thanks!

MrTPN

=====================

Message
Unable to set last write time: Invalid parameter

Exception
System.IO.IOException: Invalid parameter
at System.IO.File.SetLastWriteTime (System.String path, DateTime lastWriteTime) [0x00000] in :0
at System.IO.Directory.SetLastWriteTime (System.String path, DateTime lastWriteTime) [0x00000] in :0
at System.IO.Directory.SetLastWriteTimeUtc (System.String path, DateTime lastWriteTimeUtc) [0x00000] in :0
at NzbDrone.Common.DiskProvider.SetFolderWriteTime (System.String path, DateTime time) [0x00000] in :0
at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Tv.Series series, System.String destinationFilename) [0x00000] in :0

That command only takes two values, path and time, one of those it doesn’t like. It gets called twice when using a season folder (once on the series folder and another time on the season folder).

Does that happen for every file thats moved?

Hey Markus - Would seem so, every series i have asked it to organise fails with the same error for each file.

So a little lost as to what might be causing the issue, it seems to do just fine moving files from my downloads directory into the TV-Shows folder but is then unable to organise anything else in there.

MrTPN

Are files being renamed before the warning is logged?

I’d for you to do the following:

  1. Stop NzbDrone
  2. Run NzbDrone with mono --debug NzbDrone.exe
  3. Enable Trace Logging
  4. Delete the existing logs
  5. Rename one episode in a season (uncheck the other ones)
  6. Post logs on Pastebin
  7. Provide a link to the logs

That should give me a better idea on where its happening and hopefully why.