Difference between revisions of "Sabnzbd"

From Amahi Wiki
Jump to: navigation, search
Line 10: Line 10:
 
You have '''SABnzbd''' (version < 0.6.10) and '''SABnzbd Plus''' (version 0.6.10) installed.
 
You have '''SABnzbd''' (version < 0.6.10) and '''SABnzbd Plus''' (version 0.6.10) installed.
  
* <u>Copy current Settings:</u>
+
# <u>Copy current Settings:</u>
** Copy '''/var/spool/sabnzbd/sabnzbd.ini''' file to your home directory.   
+
## 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.
+
## This will allow you to read the setting you might want to incorporate in the new version.
* <u>Copy Downloads:</u>
+
# <u>Copy Downloads:</u>
** Copy existing downloads from '''/var/spool/sabnzbd/incoming''' (whatever directory you have set) to '''/var/hda/files/newsgroups'''.
+
## 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.
+
## There is now a '''complete''' (incoming) and '''incomplete''' (incoming/temp) folders for Downloads.
* <u>Uninstall old version:</u>
+
# <u>Uninstall old version:</u>
** Uninstall via Amahi Dashboard
+
## Uninstall via Amahi Dashboard
** There may be some clean up needed
+
## There may be some clean up needed
 
*** Remove init script and other files ( '''/etc/init.d/sabnzbd''', '''/usr/bin/sabnzbd''', '''/var/spool/sabnzbd''')
 
*** 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)
 
*** Remove '''amahi-sabnzbd''' RPM (in case this was not removed on uninstall)

Revision as of 00:31, 26 November 2011

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 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:
    1. Copy /var/spool/sabnzbd/sabnzbd.ini file to your home directory.
    2. This will allow you to read the setting you might want to incorporate in the new version.
  2. Copy Downloads:
    1. Copy existing downloads from /var/spool/sabnzbd/incoming (whatever directory you have set) to /var/hda/files/newsgroups.
    2. There is now a complete (incoming) and incomplete (incoming/temp) folders for Downloads.
  3. Uninstall old version:
    1. Uninstall via Amahi Dashboard
    2. 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.