NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
NZBGet
2 TopicsInstall NZBGet 17.1 on ReadyNAS OS 6.6.0 (working)
Hello everyone, I spent some time with @hugbug (offical developer of NZBGet) over the weekend and let him know about the issues we are having getting a working version for OS 6.6.0. He encouraged me to use the offical installer and pretty much guaranteed it would work on OS 6.6.0, while hesitant, I took him up on his offer since he was willing to support the install should anything go wrong. Here is what you need to do to get NZBGet current version working, and best of all the update within app now works! (Note: My machine is RN516, your mileage may vary. This will not give you a visible app in the apps section of front end, but it will persist and auto-start on reboot). This will work very similiar to Sonarr as it just runs all the time in the background and start on reboot of the NAS. Webgui is always availble this way. If you are on 6.5.2, run NZBGet and backup your settings/config to your local computer Uninstall NZBGet Upgrade to OS 6.6.0 Download the installer wget -O - http://nzbget.net/info/nzbget-version-linux.json | \ sed -n "s/^.*stable-download.*: \"\(.*\)\".*/\1/p" | \ wget --no-check-certificate -i - -O nzbget-latest-bin-linux.run Start the installer (default path) sh nzbget-latest-bin-linux.run Start the installer (custom path, I chose /apps/nzbget) sh nzbget-latest-bin-linux.run --destdir /path/to/install/nzbget Test that you get the command console <nzbget-directory>/nzbget -s If you get an error about the config file not being read, you need to make sure a copy of it is in one of the directories it specifies in the error message. Just drag or make a copy of the default config file and drop it into one of the required directories such as /.nzbget Now start a web-browser and open URL http://ip-address-of-linux-machine:6789. You should see NZBGet web-interface. Default login credentials are username: nzbget, password: tegbzn6789. Once you have access to webgui, you can restore your settings you backed up in the old version. (everything backs up perfectly except the paths section. If you try to restore those form the old ReadyNAS app you will get a 404 error not found. This is because the ReadyNAS app and Official NZBGet installer use different folder structures. I had to manually recreate my paths to match the same folders but it only takes a few minutes. Run as a service (Daemon mode) <nzbget-directory>/nzbget -s Let's make NZBGet persist and auto-start on reboot (credit to HTPC setup guide for Debian installations for this one, don't use hugbug's script it doesn't work) Fire up WinSCP browse to and create /etc/init.d/nzbget or nano to create the empty file: nano /etc/init.d/nzbget Paste this code and save the file (Change the path in these 2 areas to reflect your path i.e./usr/local/bin/nzbget -D, /usr/local/bin/nzbget -Q) #!/bin/sh # Start/stop the NZBget daemon. # case "$1" in start) echo -n "Start services: NZBget" /usr/local/bin/nzbget -D ;; stop) echo -n "Stop services: NZBget" /usr/local/bin/nzbget -Q ;; restart) $0 stop $0 start ;; *) echo "Usage: $0 start|stop|restart" exit 1 ;; esac exit 0 Make the configuration file executable and update the init.d to be used at boot chmod +x /etc/init.d/nzbget && update-rc.d nzbget defaults Create /downloads folder or you will get errors that looks like this during the boot sequence: mkdir /path/to/downloads (These nzb.conf errors can be solved by creating the /downloads directory) Start services: NZBgetnzbget.conf(49): Invalid value for option "InterDir" (/downloads/inter/): could not create directory : nzbget.conf(70): Invalid value for option "TempDir" (/downloads/tmp/): could not create directory : nzbget.conf(67): Invalid value for option "QueueDir" (/downloads/queue/): could not create directory : nzbget.conf(61): Invalid value for option "NzbDir" (/downloads/nzb/): could not create directory : Now NZBGet will start automatically on boot! That's it, you are up and running with NZBGet on ReadyNAS OS 6.6.0 Again special thanks to developer of NZBGet hugbug for making this dream a reality, enjoy :)