Installing sabnzbd on gentoo [updated to 0.5.6]

Feel free to talk about anything and everything in this board.
c0nv1ct
Newbie
Newbie
Posts: 5
Joined: March 30th, 2009, 12:06 pm

Re: Installing sabnzbd on gentoo [updated to 0.5.0-final]

Post by c0nv1ct »

kiorky wrote: I personnaly did not have the problem whereas i did never do fresh install but only upgrades from 0.4.12 to 0.5.
You may have forgot/failed to merge (dispatch-conf/etc-update) the configuration file which change a bit (diretories) between 0.4 & 0.5.
Just remerge, and check your configuration file.

If the problem persists, i think you have some garbage leftover somewhere or your history database in bad state.

Maybe purging all but your configuration file (/etc/sabnzbd.conf) that you 'll backup somewhere can help and be the quick and dirty way to fix your installation.
You can also trying first to bakcupdelete the sqlite files in:
/var/lib/sabnzbd/admin/history1.db
/var/lib/sabnzbd/dirscan/history1.db

For example, i could have done that to do the operation:

Code: Select all

emerge -C sabnzbd
# backup what is backupable in /var/lib/sabnzbd (like the complete folder ;) )
rm -rf /var/lib/sabzbd /etc/sabnzbd /usr/share/sabnzbd*
Then remerge it

Code: Select all

emerge sabnzbd
And grab some bits from the bakuped configuration file without copying it as-is.

Code: Select all

vimdiff ~/sabznbd.conf /etc/sabnzbd/sabnzbd.conf



Uninstalled and manually removed the rest and after reinstall all is working good now.  Thanks!
riss
Newbie
Newbie
Posts: 1
Joined: April 3rd, 2010, 9:43 am

Re: Installing sabnzbd on gentoo [updated to 0.5.0-final]

Post by riss »

hi,
i sucessfully installed sabnzbd with de overlay, but it seems to need a cheetah install (with emerge), what i've done,
but this is my problem :
on my system, python 2.5 and 2.6 are installed (2.6 for emerge and others apps, 2.5 for sabnzbd), but 2.5 don't use the cheetah that i've emerged so :

i can launch sabnzbd with 2.6 but with a lot of bugs (= not usable), and 2.5 won't start, it returns : "The following modules need to be installed: Cheetah, cherrypy(included, unpack the zip), sqlite(if python 2.4)"

(sqlite is installed of course).

Someone can help ?
thanks
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Installing sabnzbd on gentoo [updated to 0.5.0-final]

Post by shypike »

0.5.0 fully supports Python 2.6, at least if it's a decent implementation.
We test primarily with 2.6.
bolzerrr
Newbie
Newbie
Posts: 1
Joined: August 25th, 2010, 3:00 pm

Re: Installing sabnzbd on gentoo [updated to 0.5.0-final]

Post by bolzerrr »

Hi,

i cant install sabnzb, too:

layman  -L -o  http://hg.cryptelium.net/hg/system/gent ... layman.xml

=> * cryptelium                [Mercurial ] (https://hg.cryptelium.net/hg/system/g...)

layman -a cryptelium
* Overlay "cryptelium" does not exist.

Any ideas? Did an emerge mercurial & layman before this..
kiorky
Newbie
Newbie
Posts: 16
Joined: September 27th, 2009, 6:52 am

Re: Installing sabnzbd on gentoo [updated to 0.5.4]

Post by kiorky »

up
csop19
Newbie
Newbie
Posts: 14
Joined: July 30th, 2010, 8:59 am

Re: Installing sabnzbd on gentoo [updated to 0.5.4]

Post by csop19 »

You need to have mercurial installed.

Thanks for the installation instructions. Works here on Sabayon 5.4 :)
Last edited by csop19 on October 30th, 2010, 5:40 pm, edited 1 time in total.
chrisk2305
Newbie
Newbie
Posts: 4
Joined: November 9th, 2010, 8:18 am

Re: Installing sabnzbd on gentoo [updated to 0.5.4]

Post by chrisk2305 »

same here, cryptelium does not exist. Mercurial is installed and i have other overlays using mercurial working.

i downloaded the ebuilds manually and they installed fine, but i don't see any config files neiter can is a start stop script in /etc/init.d.

Can somebody help plz?
kiorky
Newbie
Newbie
Posts: 16
Joined: September 27th, 2009, 6:52 am

Re: Installing sabnzbd on gentoo [updated to 0.5.4]

Post by kiorky »

chrisk2305 wrote: same here, cryptelium does not exist. Mercurial is installed and i have other overlays using mercurial working.

i downloaded the ebuilds manually and they installed fine, but i don't see any config files neiter can is a start stop script in /etc/init.d.

Can somebody help plz?
Be sure to use last layman version:
layman --version
1.3.3
chrisk2305
Newbie
Newbie
Posts: 4
Joined: November 9th, 2010, 8:18 am

Re: Installing sabnzbd on gentoo [updated to 0.5.4]

Post by chrisk2305 »

thanks for your reply, but it still doesn't work, though i have cryptelium in my list, it is not used and I can't add it via layman:

Code: Select all

fileserver ~ # layman --version
1.4.1
fileserver ~ # layman -a cryptelium
* Overlay "cryptelium" does not exist.
fileserver ~ # layman -l
* arcon                     [Mercurial ] (https://arcon.googlecode.com/hg/                                                                   )
* cryptelium                [Mercurial ] (https://hg.cryptelium.net/hg/system/gentoo/overlay                                                 )
* gentoo-quebec             [Subversion] (https://gentoo-quebec.org/svn/gentoo-quebec/trunk/overlay/                                         )
* nx                        [Subversion] (svn://overlays.gentoo.org/proj/nx/testing                                                          )
* x11                       [Git       ] (git://git.overlays.gentoo.org/proj/x11   
User avatar
Rowdy.nl
Newbie
Newbie
Posts: 1
Joined: December 28th, 2010, 9:26 am
Location: The Netherlands

Re: Installing sabnzbd on gentoo [updated to 0.5.4]

Post by Rowdy.nl »

I had the same trouble, keeps bugging me about cryptelium. So I first did a sync of layman and after that a nice update. Worked like a charm!  ;)

Code: Select all

prime ~ # layman -S
prime ~ # PORTDIR_OVERLAY=/var/lib/layman/cryptelium ACCEPT_KEYWORDS="~amd64" emerge -av sabnzbd
Last edited by Rowdy.nl on December 28th, 2010, 9:44 am, edited 1 time in total.
malaky
Newbie
Newbie
Posts: 26
Joined: September 12th, 2008, 4:39 am

Re: Installing sabnzbd on gentoo [updated to 0.5.6]

Post by malaky »

Got my sab working here via the overlays.

The only issue I am having is the /etc/init.d/sabnzbd script is not starting sab in daemon mode.

If I do it manually it works fine, brings be back to the bash prompt, if I use the script it doesn't and I get all the log output... this at start up is a problem.

For now I am starting it manually in a screen so it doesn't interfere.

On closer inspection, the init.d script has the -d switch and I have played around with syntax and such but it still doesn't start in daemon mode properly.


Any ideas?
Pyros
Newbie
Newbie
Posts: 3
Joined: March 28th, 2011, 9:03 am

Re: Installing sabnzbd on gentoo [updated to 0.5.6]

Post by Pyros »

Any chance to have beta/RC version with this overlay ?

Thanks for the job done
malaky
Newbie
Newbie
Posts: 26
Joined: September 12th, 2008, 4:39 am

Re: Installing sabnzbd on gentoo [updated to 0.5.6]

Post by malaky »

cherrypy is now in the main gentoo portage :)


I'm still having problems with the above, daemon mode works on the command line, but not in my init.d script :/
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Installing sabnzbd on gentoo [updated to 0.5.6]

Post by shypike »

malaky wrote: cherrypy is now in the main gentoo portage :)
SABnzbd will only work with the specific CherryPy release included in our source distribution.
IhatemyISP
Newbie
Newbie
Posts: 1
Joined: May 20th, 2011, 10:08 am

Re: Installing sabnzbd on gentoo [updated to 0.5.6]

Post by IhatemyISP »

Any chance of getting 0.6.1 Final added to the overlay?

I will say a in place upgrade wasn't too difficult.

I cleared out my queue first, and them stopped SABnzbd, replaced the symlink to the new scripts, and restarted SABnzbd.

I'm not sure why, but SABnzbd kept wanting to make a temp copy of the conf file, which was initially installed (by default I believe) to /etc/. Permissions denied it, so I moved the conf to my sabznbd home folder, changed the /etc/conf.d/ file to reflect the move, and fired SABnzbd back up. No further issues.

I will say that I'm not too fond of the way it upgraded my history. It botched the totals a huge bit. (50TB down to 1008G ?)
Last edited by IhatemyISP on May 20th, 2011, 12:56 pm, edited 1 time in total.
Post Reply