RPM for Fedora and RHEL/CentOS/Scientific Linux 5-7

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Nefarious
Release Testers
Release Testers
Posts: 28
Joined: March 5th, 2009, 12:15 pm

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by Nefarious »

Hansvon wrote:I had problem making the F14 version from F18... As you seem to be the last user, could you build it by yourself? It's easy: just download the src.rpm and do "rpmbuild --rebuild ...src.rpm" and install with "yum localinstall ..." or "rpm -Uvh ..."

Thanks, all good now. I might add for anyone else doing this, that you will either have to sign the new rpm you created to pass the gpgcheck or just add --nogpgcheck to the end of your yum localinstall command. So your command to install is "yum localinstall SABnzbd-0.7.4-1.fc14.noarch.rpm --nogpgcheck".
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: RPM for Fedora 14-19 and RHEL/CentOS/Scientific Linux 5-

Post by Hansvon »

The reposititory address is changing.
From
http://fedora-sabnzbd.dyndns.org/SABnzbd/
To
https://dl.dropboxusercontent.com/u/14500830/SABnzbd/

(in fact, fedora-sabnzbd.dyndns.org is just a redirect to my dropbox but it may expire soon. dyndns.org pisses me off...)

For Fedora users, the repo file should be changed automatically (SABnzbd-release update). For CentOS users, please download the new .repo file.
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: RPM for Fedora 14-19 and RHEL/CentOS/Scientific Linux 5-

Post by Hansvon »

I just uploaded a new version (0.7.16-3). For Fedora 19 and 20, systemd is used to run the service instead of init.d. See the first post for configuration details. For people running the service, the transition is not automatic, you need to reconfigure. Sorry about that...

Tell me if it works for you. I'm using it since at least one month and it just works for me.
jbroome
Newbie
Newbie
Posts: 4
Joined: March 25th, 2014, 9:55 am

Re: RPM for Fedora 14-19 and RHEL/CentOS/Scientific Linux 5-

Post by jbroome »

Thank you very much for building these RPMs and putting them in a repo.

I'm getting the following error on the /history/ page after updating and restarting: http://pastebin.com/raw.php?i=rnR1LBpa

Linux x2 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 12 00:41:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
jbroome@x2:/etc/yum.repos.d$ rpm -q SABnzbd
SABnzbd-0.7.17-1.el6.noarch

I'll be happy to provide any further debugging information you'd need.

Thanks!
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: RPM for Fedora 14-19 and RHEL/CentOS/Scientific Linux 5-

Post by Hansvon »

Hi,

Do you have rating_enable defined in your sabnzbd.ini (grep rating_enable ~/.sabnzbd/sabnzbd.ini)? If not, that's probably the problem.

In my config file, the "rating_" parameters are defined in the [misc] section as follows:
rating_enable = 0
rating_feedback = 1
rating_api_key = ""
rating_host = www.oznzb.com

I don't know what these parameters are supposed to do.
jbroome
Newbie
Newbie
Posts: 4
Joined: March 25th, 2014, 9:55 am

Re: RPM for Fedora 14-19 and RHEL/CentOS/Scientific Linux 5-

Post by jbroome »

I don't have any matches for 'rating' in my sabnzbd.ini file. The datestamp on the file is Mar 18th. I'll look in my backups and see if the rating_* stuff was there and removed.

I'll also add the rating_enable = 0 line and see if that makes it happy.

Thanks for the response!
jbroome
Newbie
Newbie
Posts: 4
Joined: March 25th, 2014, 9:55 am

Re: RPM for Fedora 14-19 and RHEL/CentOS/Scientific Linux 5-

Post by jbroome »

I'm not sure if SAB didn't get killed all the way at the restart after updating or if it was the rating_enable = 0 line, but i'm back in business with the updated version. Thanks!
athflying
Newbie
Newbie
Posts: 4
Joined: April 16th, 2014, 8:24 pm

Re: RPM for Fedora 14-19 and RHEL/CentOS/Scientific Linux 5-

Post by athflying »

I am getting the following error when trying to start SABnzbd at startup. I can immediately "systemctl start [email protected]" and it starts just fine. Any ideas??

Apr 16 17:38:17 f19vm SABnzbd[748]: 2014-04-16 17:38:17,227::INFO::[SABnzbd:1489] Starting web-interface on 127.0.0.1:8080
Apr 16 17:38:17 f19vm SABnzbd[748]: 2014-04-16 17:38:17,228::ERROR::[SABnzbd:1504] Failed to start web-interface:
Apr 16 17:38:17 f19vm SABnzbd[748]: Traceback (most recent call last):
Apr 16 17:38:17 f19vm SABnzbd[748]: File "/usr/share/SABnzbd/SABnzbd.py", line 1495, in main
Apr 16 17:38:17 f19vm SABnzbd[748]: cherrypy.process.servers.check_port(browserhost, cherryport)
Apr 16 17:38:17 f19vm SABnzbd[748]: File "/usr/share/SABnzbd/cherrypy/process/servers.py", line 228, in check_port
Apr 16 17:38:17 f19vm SABnzbd[748]: socket.SOCK_STREAM):
Apr 16 17:38:17 f19vm SABnzbd[748]: error: [Errno 11] Resource temporarily unavailable
Apr 16 17:38:17 f19vm SABnzbd[748]: 2014-04-16 17:38:17,286::ERROR::[SABnzbd:304] Failed to start web-interface : [Errno 11] Resource temporarily unavailable
Apr 16 17:38:17 f19vm SABnzbd[748]: 2014-04-16 17:38:17,287::INFO::[__init__:371] SABnzbd shutting down...
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: RPM for Fedora 14-19 and RHEL/CentOS/Scientific Linux 5-

Post by shypike »

Some other app is holding port 8080.
Or your software firewall is being too clever.
athflying
Newbie
Newbie
Posts: 4
Joined: April 16th, 2014, 8:24 pm

Re: RPM for Fedora 14-19 and RHEL/CentOS/Scientific Linux 5-

Post by athflying »

I tried changing ports... No change. Will look in to firewall next.
athflying
Newbie
Newbie
Posts: 4
Joined: April 16th, 2014, 8:24 pm

Re: RPM for Fedora 14-19 and RHEL/CentOS/Scientific Linux 5-

Post by athflying »

This instance of SABnzbd is running on a F19 Virtualbox VM. Yesterday I migrated the VDI file from a SSD drive over to a 3.0 USB external drive and now SABnzbd starts at boot automatically. Thought I was losing it, so moved VDI back to SSD and has the error I already posted. Moved back to the USB drive and starts everytime after a reboot.
athflying
Newbie
Newbie
Posts: 4
Joined: April 16th, 2014, 8:24 pm

Re: RPM for Fedora 14-19 and RHEL/CentOS/Scientific Linux 5-

Post by athflying »

I spoke to sooon, it seemed to at first but now I can't get it to start from their either. Couchpotato and SB work fine with the systemd script, but can't get this to work. I have changed ip from local host to 0.0.0.0 to actual IP and nothing helps.
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: RPM for Fedora 14-20 and RHEL/CentOS/Scientific Linux 5-

Post by Hansvon »

Just a heads-up, fedora-sabnzbd.dyndns.org is gone (dyn.com has closed all free accounts...). RHEL/CentOS users need to update their .repo files.

RHEL 5:

Code: Select all

cd /etc/yum.repos.d/; wget -N https://dl.dropboxusercontent.com/u/14500830/SABnzbd/RHEL-CentOS/SABnzbd-5.repo
RHEL 6:

Code: Select all

cd /etc/yum.repos.d/; wget -N https://dl.dropboxusercontent.com/u/14500830/SABnzbd/RHEL-CentOS/SABnzbd-6.repo
jbroome
Newbie
Newbie
Posts: 4
Joined: March 25th, 2014, 9:55 am

Re: RPM for Fedora 14-20 and RHEL/CentOS/Scientific Linux 5-

Post by jbroome »

Hansvon wrote:Just a heads-up, fedora-sabnzbd.dyndns.org is gone (dyn.com has closed all free accounts...). RHEL/CentOS users need to update their .repo files.
This is what I came looking for, thanks!
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: RPM for Fedora 14-20 and RHEL/CentOS/Scientific Linux 5-

Post by Hansvon »

I've just uploaded a new rpm (0.7.17-5) with one change with respect to the official/previous version: a systray icon ( https://github.com/sabnzbd/sabnzbd/pull/153 )

The systray icon requires pygtk2 to be installed (the rpm doesn't pull it automatically). It will not be shown if you run SABnzbd as a service, and it can be disabled if you don't like it by setting win_menu to zero in config -> special (or directly in sabnzbd.ini).

Tell me if you encounter any problem or have any improvement suggestions.

If something goes very wrong, you can downgrade using "yum downgrade SABnzbd"
Post Reply