Sabnzbd

From Amahi Wiki
Jump to: navigation, search

SABnzbd Plus Upgrade Path

The purpose of this guide is to explain how to upgrade from older versions of Amahi SABnzbd application (not SABnzbd SRC) to the new SABnzbd Plus version. In the past the application was an RPM-based install, but that has now changed to a source-based. This only has to be done one time. All new versions hereafter will automatically take care of any changes needed.

  • This will make upgrading simpler (all files are now in /var/hda/web-apps/sabnzbdplus/html). You can do it manually via downloading (Python Source file) and extracting new files into the directory or uninstall/reinstall the Amahi one-click app as it changes (settings file will be automatically backed up and restored as well).
  • The older versions utilize port 25914, so the new version has been configured to use 25915. This can be changed of course, but was done by design to allow both versions to run side-by-side for upgrade purposes.

Assumptions
You have SABnzbd (version < 0.6.10) and SABnzbd Plus (version 0.6.10) installed.

  1. Copy current Settings:
    • Copy /var/spool/sabnzbd/sabnzbd.ini file to your home directory.
    • This will allow you to read the setting you might want to incorporate in the new version.
  2. Copy Downloads:
    • Copy existing downloads from /var/spool/sabnzbd/incoming (whatever directory you have set) to /var/hda/files/newsgroups.
    • There is now a complete (incoming) and incomplete (incoming/temp) folders for Downloads.
  3. Uninstall old version:
    • Uninstall via Amahi Dashboard. There may be some clean up needed
    • Remove init script and other files ( /etc/init.d/sabnzbd, /usr/bin/sabnzbd, /var/spool/sabnzbd)
    • Remove amahi-sabnzbd RPM (in case this was not removed on uninstall)
    • You will find a backup of your settings from the uninstall at /tmp/sabnzbd.ini.bak (in case you forgot to copy it).

If all goes well, you should now have the latest version.


NOTE: These instructions might require some updates, so please feel free to do so.

Accessing SABnzbd Plus via IP Address

NOTE: Needed for using some SABnzbd remote control apps such as mynzb for the iPad

  • Open SABnzbd using http://sabnzbdplus
  • Navigate to the SABnzbd configuration page
  • Ensure the option for host is set to 0.0.0.0
  • Save changes using the icon at the bottom of the SABnzbd configuration page and then restart SABnzbd.
  • You should now be able to access SABnzbd using x.x.x.x:25915 (where "x" is the hda IP address and "25915" is the default port of SABnzbd when installed via the hda.