Upgrading from sabnzbd 0.6.1 on c1pher to sabnzb 0.7.0 on sunrise overlay.
Code: Select all
/etc/init.d/sabnzbd stop
echo ">=dev-lang/python-2.7.3-r2:2.7 sqlite" >> /etc/portage/package.use
emerge --ask sabnzbd
etc-update is needed for conf.d/ and init.d/ scripts.
conf.d/sabnzbd previously pointed to /etc/sabnzbd/sabnzbd.ini
the new copy wants to point to /var/lib/sabnzbd/config/sabnzbd.ini
Code: Select all
mv /var/lib/sabnzbd/config/sabnzbd.ini /var/lib/sabnzbd/config/sabnzbd.ini.sample
cp /etc/sabnzbd/sabnzbd.ini /var/lib/sabnzbd/config/sabnzbd.ini
Since you only need to set 2 options in conf.d/sabnzbd (hostname and port) I prefer to overwrite it with the new config and set them manually.
choose option -5 (if there are other updates not related to sab, sort them first)
Open /etc/conf.d/sabnzbd and edit these, they are already set in your .ini file but need to be set again so init can control the process.
Code: Select all
SAB_HOSTNAME="localhost"
SAB_PORT="8080"
Then start as normal with
If you haven't alreayd included it in your start up run
You probably want to remove c1pher overlay now
You might get some errors regarding Python
Code: Select all
* Please rebuild dev-lang/python:2.6 with the following USE flags enabled: sqlite
Well, add sqlite to your USE="" in /etc/make.conf and recompile python 2.6, you can't just "emerge python" if you have 3+ installed as it will only update the newest python version you have.
Then carry on with sabnzbd