New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SabNZBD cannot be started after upgrade #282

Closed
lleblanc51 opened this Issue Nov 4, 2012 · 89 comments

Comments

Projects
None yet
@lleblanc51

lleblanc51 commented Nov 4, 2012

Hi!

I just upgrade Python Package from Synocommunity and SabNZBD to latest version 0.7.5-2 and Sab don't want to start.

I try to uninstall Python Package and SabNZBD and reinstall with no change...

Python package Version 2.7.3-3
SabNZBD 0.7.5-2

I try this and got a n error message
WHS> /var/packages/sabnzbd/scripts/start-stop-status start
Starting SABnzbd ...
-sh: /usr/local/sabnzbd/env/bin/python: not found
WHS>

What's wrong ?

Thanks for your help.

@lleblanc51

This comment has been minimized.

Show comment
Hide comment
@lleblanc51

lleblanc51 Nov 4, 2012

Forgot to say the NAS model ans DSM Version...

DS212j and DSM 4.1-2647

lleblanc51 commented Nov 4, 2012

Forgot to say the NAS model ans DSM Version...

DS212j and DSM 4.1-2647

@Diaoul

This comment has been minimized.

Show comment
Hide comment
@Diaoul

Diaoul Nov 4, 2012

Member

Did you stop SABnzbd before updating ?

Member

Diaoul commented Nov 4, 2012

Did you stop SABnzbd before updating ?

@lleblanc51

This comment has been minimized.

Show comment
Hide comment
@lleblanc51

lleblanc51 Nov 4, 2012

Unfortunately no, I use the button automatically update all in Synology packet window :(

Now It's a new install as I desinstall all package (Sab and Python) and reinstall them, no ?

lleblanc51 commented Nov 4, 2012

Unfortunately no, I use the button automatically update all in Synology packet window :(

Now It's a new install as I desinstall all package (Sab and Python) and reinstall them, no ?

@Diaoul

This comment has been minimized.

Show comment
Hide comment
@Diaoul

Diaoul Nov 4, 2012

Member

Maybe you got a SABnzbd running in the background then. I'll add more security in the update process so that the update stops the package before running the update.

Member

Diaoul commented Nov 4, 2012

Maybe you got a SABnzbd running in the background then. I'll add more security in the update process so that the update stops the package before running the update.

@lleblanc51

This comment has been minimized.

Show comment
Hide comment
@lleblanc51

lleblanc51 Nov 4, 2012

But what can I do to make SabNZBD work ?

lleblanc51 commented Nov 4, 2012

But what can I do to make SabNZBD work ?

@Diaoul

This comment has been minimized.

Show comment
Hide comment
@Diaoul

Diaoul Nov 4, 2012

Member

Run in SSH: ps | grep SABnzbd.py and output here the result

Member

Diaoul commented Nov 4, 2012

Run in SSH: ps | grep SABnzbd.py and output here the result

@Diaoul

This comment has been minimized.

Show comment
Hide comment
@Diaoul

Diaoul Nov 4, 2012

Member

Reboot your NAS will stop any background process

Member

Diaoul commented Nov 4, 2012

Reboot your NAS will stop any background process

@lleblanc51

This comment has been minimized.

Show comment
Hide comment
@lleblanc51

lleblanc51 Nov 4, 2012

I just try this :

  • Uninstall SabNZBD
  • Uninstall Python

Restart the Nas

Install Python

Restart the Nas

Install SabNZBD
Still the same error

WHS> ps | grep SABnzbd.py
25239 root 2980 S grep SABnzbd.py

lleblanc51 commented Nov 4, 2012

I just try this :

  • Uninstall SabNZBD
  • Uninstall Python

Restart the Nas

Install Python

Restart the Nas

Install SabNZBD
Still the same error

WHS> ps | grep SABnzbd.py
25239 root 2980 S grep SABnzbd.py

@lleblanc51

This comment has been minimized.

Show comment
Hide comment
@lleblanc51

lleblanc51 Nov 4, 2012

It's strange, seems Python is not installed correctly, how can I check if the installation is OK ?

I'm sorry but I'm not familiar with SSH and the synology OS...

lleblanc51 commented Nov 4, 2012

It's strange, seems Python is not installed correctly, how can I check if the installation is OK ?

I'm sorry but I'm not familiar with SSH and the synology OS...

@vinzcoyote

This comment has been minimized.

Show comment
Hide comment
@vinzcoyote

vinzcoyote Nov 4, 2012

I do the same thing, and got the same problem on DS-210+ with last DSM

14750 root 2964 S grep SABnzbd.py

vinzcoyote commented Nov 4, 2012

I do the same thing, and got the same problem on DS-210+ with last DSM

14750 root 2964 S grep SABnzbd.py

@Diaoul

This comment has been minimized.

Show comment
Hide comment
@Diaoul

Diaoul Nov 4, 2012

Member

In the log tab of the Python SPK in Package Center

Member

Diaoul commented Nov 4, 2012

In the log tab of the Python SPK in Package Center

@SkiBum1942

This comment has been minimized.

Show comment
Hide comment
@SkiBum1942

SkiBum1942 Nov 4, 2012

The init script references python as: PYTHON="${INSTALL_DIR}/env/bin/python"

but there is no env dir in the sabnzbd dir:
ls -l /usr/local/sabnzbd
lrwxrwxrwx 1 root root 26 Nov 4 21:59 /usr/local/sabnzbd -> /volume1/@appstore/sabnzbd
ls -l /volume1/@appstore/sabnzbd/
drwxr-xr-x 3 sabnzbd root 4096 Nov 4 21:59 app
drwxr-xr-x 2 sabnzbd root 4096 Nov 4 21:59 bin
drwxr-xr-x 3 sabnzbd root 4096 Nov 4 21:59 share
drwxr-sr-x 5 sabnzbd root 4096 Nov 4 21:59 var

sh -x /var/packages/sabnzbd/scripts/start-stop-status start

  • PACKAGE=sabnzbd
  • DNAME=SABnzbd
  • INSTALL_DIR=/usr/local/sabnzbd
  • PYTHON_DIR=/usr/local/python
  • PATH=/usr/local/sabnzbd/bin:/usr/local/sabnzbd/env/bin:/usr/local/python/bin:/usr/local/bin:/bin:/usr/bin:/usr/syno/bin
  • RUNAS=sabnzbd
  • PYTHON=/usr/local/sabnzbd/env/bin/python
  • SABNZBD=/usr/local/sabnzbd/share/SABnzbd/SABnzbd.py
  • CFG_FILE=/usr/local/sabnzbd/var/config.ini
  • LOG_FILE=/usr/local/sabnzbd/var/logs/sabnzbd.log
  • PID_FILES=/usr/local/sabnzbd/var/sabnzbd-*.pid
  • daemon_status
  • [ -f /usr/local/sabnzbd/var/sabnzbd-*.pid ]
  • return 1
  • echo Starting SABnzbd ...
    Starting SABnzbd ...
  • start_daemon
  • su - sabnzbd -c PATH=/usr/local/sabnzbd/bin:/usr/local/sabnzbd/env/bin:/usr/local/python/bin:/usr/local/bin:/bin:/usr/bin:/usr/syno/bin /usr/local/sabnzbd/env/bin/python /usr/local/sabnzbd/share/SABnzbd/SABnzbd.py -f /usr/local/sabnzbd/var/config.ini --pid /usr/local/sabnzbd/var/ -d
    -sh: /usr/local/sabnzbd/env/bin/python: not found
  • exit 127

When I look at the sickbeard package, there IS a env dir which seems to contain a full python environment.

SkiBum1942 commented Nov 4, 2012

The init script references python as: PYTHON="${INSTALL_DIR}/env/bin/python"

but there is no env dir in the sabnzbd dir:
ls -l /usr/local/sabnzbd
lrwxrwxrwx 1 root root 26 Nov 4 21:59 /usr/local/sabnzbd -> /volume1/@appstore/sabnzbd
ls -l /volume1/@appstore/sabnzbd/
drwxr-xr-x 3 sabnzbd root 4096 Nov 4 21:59 app
drwxr-xr-x 2 sabnzbd root 4096 Nov 4 21:59 bin
drwxr-xr-x 3 sabnzbd root 4096 Nov 4 21:59 share
drwxr-sr-x 5 sabnzbd root 4096 Nov 4 21:59 var

sh -x /var/packages/sabnzbd/scripts/start-stop-status start

  • PACKAGE=sabnzbd
  • DNAME=SABnzbd
  • INSTALL_DIR=/usr/local/sabnzbd
  • PYTHON_DIR=/usr/local/python
  • PATH=/usr/local/sabnzbd/bin:/usr/local/sabnzbd/env/bin:/usr/local/python/bin:/usr/local/bin:/bin:/usr/bin:/usr/syno/bin
  • RUNAS=sabnzbd
  • PYTHON=/usr/local/sabnzbd/env/bin/python
  • SABNZBD=/usr/local/sabnzbd/share/SABnzbd/SABnzbd.py
  • CFG_FILE=/usr/local/sabnzbd/var/config.ini
  • LOG_FILE=/usr/local/sabnzbd/var/logs/sabnzbd.log
  • PID_FILES=/usr/local/sabnzbd/var/sabnzbd-*.pid
  • daemon_status
  • [ -f /usr/local/sabnzbd/var/sabnzbd-*.pid ]
  • return 1
  • echo Starting SABnzbd ...
    Starting SABnzbd ...
  • start_daemon
  • su - sabnzbd -c PATH=/usr/local/sabnzbd/bin:/usr/local/sabnzbd/env/bin:/usr/local/python/bin:/usr/local/bin:/bin:/usr/bin:/usr/syno/bin /usr/local/sabnzbd/env/bin/python /usr/local/sabnzbd/share/SABnzbd/SABnzbd.py -f /usr/local/sabnzbd/var/config.ini --pid /usr/local/sabnzbd/var/ -d
    -sh: /usr/local/sabnzbd/env/bin/python: not found
  • exit 127

When I look at the sickbeard package, there IS a env dir which seems to contain a full python environment.

@lleblanc51

This comment has been minimized.

Show comment
Hide comment
@lleblanc51

lleblanc51 Nov 4, 2012

In this tab I've got :
Python 2.7.3
System Installed modules :

Nothing more...

lleblanc51 commented Nov 4, 2012

In this tab I've got :
Python 2.7.3
System Installed modules :

Nothing more...

@Diaoul

This comment has been minimized.

Show comment
Hide comment
@Diaoul

Diaoul Nov 4, 2012

Member

What Synology model?
Le 4 nov. 2012 23:39, "Laurent Leblanc" notifications@github.com a écrit :

In this tab I've got :
Python 2.7.3
System Installed modules :

Nothing more...


Reply to this email directly or view it on GitHubhttps://github.com/SynoCommunity/spksrc/issues/282#issuecomment-10056570.

Member

Diaoul commented Nov 4, 2012

What Synology model?
Le 4 nov. 2012 23:39, "Laurent Leblanc" notifications@github.com a écrit :

In this tab I've got :
Python 2.7.3
System Installed modules :

Nothing more...


Reply to this email directly or view it on GitHubhttps://github.com/SynoCommunity/spksrc/issues/282#issuecomment-10056570.

@lleblanc51

This comment has been minimized.

Show comment
Hide comment
@lleblanc51

lleblanc51 commented Nov 4, 2012

DS212j

@Diaoul

This comment has been minimized.

Show comment
Hide comment
@Diaoul

Diaoul Nov 4, 2012

Member

I think the installation is taking too long and DSM kills the install
script while installing.

No fail message when installing Python ?

Member

Diaoul commented Nov 4, 2012

I think the installation is taking too long and DSM kills the install
script while installing.

No fail message when installing Python ?

@codeyy

This comment has been minimized.

Show comment
Hide comment
@codeyy

codeyy Nov 4, 2012

Same problem with DS412+, also missing the env folder (/usr/local/sabnzbd/env/bin/python)

codeyy commented Nov 4, 2012

Same problem with DS412+, also missing the env folder (/usr/local/sabnzbd/env/bin/python)

@lleblanc51

This comment has been minimized.

Show comment
Hide comment
@lleblanc51

lleblanc51 Nov 4, 2012

I just try again...

I click Intall package, starting downloading, I say no to would you like to run package
I click install a second time, installation take about 2 minutes

I got this message : Package correctly installed, run the package to activate the packet reparation

The message is in french, maybe a bad english translation...

lleblanc51 commented Nov 4, 2012

I just try again...

I click Intall package, starting downloading, I say no to would you like to run package
I click install a second time, installation take about 2 minutes

I got this message : Package correctly installed, run the package to activate the packet reparation

The message is in french, maybe a bad english translation...

@pseudomix

This comment has been minimized.

Show comment
Hide comment
@pseudomix

pseudomix Nov 4, 2012

Hello,
I have the same behaviour with my DS1812+ and with all Python dependant packages (Sickbeard, Couchpatato, headphones).

pseudomix commented Nov 4, 2012

Hello,
I have the same behaviour with my DS1812+ and with all Python dependant packages (Sickbeard, Couchpatato, headphones).

@lleblanc51

This comment has been minimized.

Show comment
Hide comment
@lleblanc51

lleblanc51 Nov 4, 2012

Is the Python 2.7.3-3 really compatible with my Nas ? Maybe I can try to re install the old version ? But I don't know where I can found it...

lleblanc51 commented Nov 4, 2012

Is the Python 2.7.3-3 really compatible with my Nas ? Maybe I can try to re install the old version ? But I don't know where I can found it...

@A1rwav3

This comment has been minimized.

Show comment
Hide comment
@A1rwav3

A1rwav3 Nov 4, 2012

HI guys, I do have the same problem with my DS1812+

I just ran all the updates available and Python and Sabnzbd were part of them... Now I cannot restart the Sab package, I got the same message about an error during the reconstruction...

That's what I have in the start-stop-status file:

'# Others
INSTALL_DIR="/usr/local/${PACKAGE}"
PYTHON_DIR="/usr/local/python"
PATH="${INSTALL_DIR}/bin:${INSTALL_DIR}/env/bin:${PYTHON_DIR}/bin:/usr/local/bin:/bin:/usr/bin:/usr/syno/bin"
RUNAS="sabnzbd"
PYTHON="${INSTALL_DIR}/env/bin/python"
SABNZBD="${INSTALL_DIR}/share/SABnzbd/SABnzbd.py"
CFG_FILE="${INSTALL_DIR}/var/config.ini"
LOG_FILE="${INSTALL_DIR}/var/logs/sabnzbd.log"
PID_FILES="${INSTALL_DIR}/var/sabnzbd-*.pid"

Also Sab seems to be the only one which has a problem, I can stop and start Sickbeard...

A1rwav3 commented Nov 4, 2012

HI guys, I do have the same problem with my DS1812+

I just ran all the updates available and Python and Sabnzbd were part of them... Now I cannot restart the Sab package, I got the same message about an error during the reconstruction...

That's what I have in the start-stop-status file:

'# Others
INSTALL_DIR="/usr/local/${PACKAGE}"
PYTHON_DIR="/usr/local/python"
PATH="${INSTALL_DIR}/bin:${INSTALL_DIR}/env/bin:${PYTHON_DIR}/bin:/usr/local/bin:/bin:/usr/bin:/usr/syno/bin"
RUNAS="sabnzbd"
PYTHON="${INSTALL_DIR}/env/bin/python"
SABNZBD="${INSTALL_DIR}/share/SABnzbd/SABnzbd.py"
CFG_FILE="${INSTALL_DIR}/var/config.ini"
LOG_FILE="${INSTALL_DIR}/var/logs/sabnzbd.log"
PID_FILES="${INSTALL_DIR}/var/sabnzbd-*.pid"

Also Sab seems to be the only one which has a problem, I can stop and start Sickbeard...

@StefanVerbiest

This comment has been minimized.

Show comment
Hide comment
@StefanVerbiest

StefanVerbiest Nov 4, 2012

Hello,

I have got the same problem on my ds1515. I have reinstalled the dsm and al of the on phyton depending packages won't run anymore (sabnzb, sickbeard, couchpotato, etc)

StefanVerbiest commented Nov 4, 2012

Hello,

I have got the same problem on my ds1515. I have reinstalled the dsm and al of the on phyton depending packages won't run anymore (sabnzb, sickbeard, couchpotato, etc)

@CB4STI3N

This comment has been minimized.

Show comment
Hide comment
@CB4STI3N

CB4STI3N Nov 5, 2012

Hello,

I have got the same problem on my DS1512+ with latest firmware.
I have reinstalled python ans sabnzbd, but sab got this message :

"Echec lors du lancement de la réparation du paquet".

No fail message when installing Python.

Sickbeard, couchpatato server and Headphones work normally.
So, I restart the NAS, but sabnzbd does the same error.

Thank you for your help

CB4STI3N commented Nov 5, 2012

Hello,

I have got the same problem on my DS1512+ with latest firmware.
I have reinstalled python ans sabnzbd, but sab got this message :

"Echec lors du lancement de la réparation du paquet".

No fail message when installing Python.

Sickbeard, couchpatato server and Headphones work normally.
So, I restart the NAS, but sabnzbd does the same error.

Thank you for your help

@upmg

This comment has been minimized.

Show comment
Hide comment
@upmg

upmg Nov 5, 2012

Hi using a DS212J - DSM 4.1-2657

This is the first time I have tried running Python or SABnzbd on my NAS. Installed Python first and then Sab yet when I try start SAB it fails stating "Failed to run package service"

Any ideas what we can do please?

upmg commented Nov 5, 2012

Hi using a DS212J - DSM 4.1-2657

This is the first time I have tried running Python or SABnzbd on my NAS. Installed Python first and then Sab yet when I try start SAB it fails stating "Failed to run package service"

Any ideas what we can do please?

@SkiBum1942

This comment has been minimized.

Show comment
Hide comment
@SkiBum1942

SkiBum1942 Nov 5, 2012

If you have an existing sickbeard or couchpotato install, you can grab the "env" from there to fix your sabnzbd install. This fixed it for me:

rsync -av /volume1/@appstore/sickbeard/env /volume1/@appstore/sabnzbd/
chown -R sabnzbd /volume1/@appstore/sabnzbd/env

Afterwards I could start the sabnzbd service.

SkiBum1942 commented Nov 5, 2012

If you have an existing sickbeard or couchpotato install, you can grab the "env" from there to fix your sabnzbd install. This fixed it for me:

rsync -av /volume1/@appstore/sickbeard/env /volume1/@appstore/sabnzbd/
chown -R sabnzbd /volume1/@appstore/sabnzbd/env

Afterwards I could start the sabnzbd service.

@LachlanS

This comment has been minimized.

Show comment
Hide comment
@LachlanS

LachlanS Nov 5, 2012

Confirming the same issue for me. I stopped all packages that used Python before upgrading Python, then upgrading SABnzbd. The "env" folder is likewise not present. Now I'm a spk_newb, but is SABnzbd really supposed to have its own copy of Python?

LachlanS commented Nov 5, 2012

Confirming the same issue for me. I stopped all packages that used Python before upgrading Python, then upgrading SABnzbd. The "env" folder is likewise not present. Now I'm a spk_newb, but is SABnzbd really supposed to have its own copy of Python?

@sjoswig

This comment has been minimized.

Show comment
Hide comment
@sjoswig

sjoswig Nov 5, 2012

Hey there, have the same issue. No env directory is present. Is there a chance that someone zips the env directory for download? Have nothing to copy.

sjoswig commented Nov 5, 2012

Hey there, have the same issue. No env directory is present. Is there a chance that someone zips the env directory for download? Have nothing to copy.

@Diaoul

This comment has been minimized.

Show comment
Hide comment
@Diaoul

Diaoul Nov 5, 2012

Member

Yes

Member

Diaoul commented Nov 5, 2012

Yes

@secavia

This comment has been minimized.

Show comment
Hide comment
@secavia

secavia Nov 5, 2012

on DS1511+
Python 2.7.3-2 installed from package center, Sabnzbd 0.7.5-2 from package center.
error : "Echec lors du lancement de la réparation du paquet" :(
no log in Python, no log in Sabnzbd

in var log message :
Nov 5 22:03:17 PkgMan.cgi: pkgtool.cpp:2597 Failed to start package sabnzbd

:(

secavia commented Nov 5, 2012

on DS1511+
Python 2.7.3-2 installed from package center, Sabnzbd 0.7.5-2 from package center.
error : "Echec lors du lancement de la réparation du paquet" :(
no log in Python, no log in Sabnzbd

in var log message :
Nov 5 22:03:17 PkgMan.cgi: pkgtool.cpp:2597 Failed to start package sabnzbd

:(

@mormerod

This comment has been minimized.

Show comment
Hide comment
@mormerod

mormerod Nov 5, 2012

Fixed. Awesome, Thanks

mormerod commented Nov 5, 2012

Fixed. Awesome, Thanks

@CB4STI3N

This comment has been minimized.

Show comment
Hide comment
@CB4STI3N

CB4STI3N Nov 5, 2012

Fixed for me :

Uninstall all programs using python (after making a backup configurations)
Uninstalling python 2.7.3-3
Installing python 2.7.3-2 from the package center
Install sabnzbd 0.7.5-2
Install other program using python
and finally copy the configuration files for each program.

Everything is ok
Thanks Diaoul and others.

CB4STI3N commented Nov 5, 2012

Fixed for me :

Uninstall all programs using python (after making a backup configurations)
Uninstalling python 2.7.3-3
Installing python 2.7.3-2 from the package center
Install sabnzbd 0.7.5-2
Install other program using python
and finally copy the configuration files for each program.

Everything is ok
Thanks Diaoul and others.

@secavia

This comment has been minimized.

Show comment
Hide comment
@secavia

secavia Nov 5, 2012

on DS1511+ not fixed for me

Uninstall Python, reboot
Inslall python 2.7.3.-2 for package center
Install sanzbd 0.7.5-2 for package center

Error : Echec lors de la réparation du paquet

Help me please

secavia commented Nov 5, 2012

on DS1511+ not fixed for me

Uninstall Python, reboot
Inslall python 2.7.3.-2 for package center
Install sanzbd 0.7.5-2 for package center

Error : Echec lors de la réparation du paquet

Help me please

@ytsejam1138

This comment has been minimized.

Show comment
Hide comment
@ytsejam1138

ytsejam1138 Nov 5, 2012

I'm still have a problem running SABnzbd, I have a DS212.

Uninstall Python, reboot
Inslall python 2.7.3.-2 for package center
Install sanzbd 0.7.5-2 for package center

It still fails to run. Everything else works fine, it's just SABnzbd I have the same download directory I have always had /volume1/video/

I have also noticed that when installing a package I now have to hit install twice. Once to download the SPK and once to actually install the SPK.

ytsejam1138 commented Nov 5, 2012

I'm still have a problem running SABnzbd, I have a DS212.

Uninstall Python, reboot
Inslall python 2.7.3.-2 for package center
Install sanzbd 0.7.5-2 for package center

It still fails to run. Everything else works fine, it's just SABnzbd I have the same download directory I have always had /volume1/video/

I have also noticed that when installing a package I now have to hit install twice. Once to download the SPK and once to actually install the SPK.

@metryann

This comment has been minimized.

Show comment
Hide comment
@metryann

metryann Nov 5, 2012

Hello,

@secavia and @ytsejam1138 : I had exactly the same problem. I resolved it by deleting manually some remaining SABnzbd folders.

  1. Uninstall SABnzbd
  2. Search SABnzbd remaining folders : find / -name sabnzbd
  3. Delete folders found
  4. Try reinstalling SABnzbd

That fixed the problem for me, I could install and run SABnzbd.

However, I also have to click "Install" twice. If anyone knows why, thank you for help.

Thanks

metryann commented Nov 5, 2012

Hello,

@secavia and @ytsejam1138 : I had exactly the same problem. I resolved it by deleting manually some remaining SABnzbd folders.

  1. Uninstall SABnzbd
  2. Search SABnzbd remaining folders : find / -name sabnzbd
  3. Delete folders found
  4. Try reinstalling SABnzbd

That fixed the problem for me, I could install and run SABnzbd.

However, I also have to click "Install" twice. If anyone knows why, thank you for help.

Thanks

@Diaoul

This comment has been minimized.

Show comment
Hide comment
@Diaoul

Diaoul Nov 5, 2012

Member

Yes, that's a bug in the Package Center. First click actually download the package, second click installs.

Member

Diaoul commented Nov 5, 2012

Yes, that's a bug in the Package Center. First click actually download the package, second click installs.

@ytsejam1138

This comment has been minimized.

Show comment
Hide comment
@ytsejam1138

ytsejam1138 Nov 5, 2012

@mertyann

Thank you so much!! That worked. I needed to delete the folllowing directories:

/usr/local/sabnzbd
/usr/local/sabnzbd/sabnzbd
/usr/syno/etc/packages/sabnzbd
/tmp/@synopackage/sabnzbd

ytsejam1138 commented Nov 5, 2012

@mertyann

Thank you so much!! That worked. I needed to delete the folllowing directories:

/usr/local/sabnzbd
/usr/local/sabnzbd/sabnzbd
/usr/syno/etc/packages/sabnzbd
/tmp/@synopackage/sabnzbd

@Diaoul

This comment has been minimized.

Show comment
Hide comment
@Diaoul

Diaoul Nov 5, 2012

Member

FYI, I recompiled Python 2.7.3-3 and I'm uploading to the private beta repository.
After a first check, everything seems fine, I think that parallel make must have break something the first time.

Member

Diaoul commented Nov 5, 2012

FYI, I recompiled Python 2.7.3-3 and I'm uploading to the private beta repository.
After a first check, everything seems fine, I think that parallel make must have break something the first time.

@bigblackvenom

This comment has been minimized.

Show comment
Hide comment
@bigblackvenom

bigblackvenom Nov 5, 2012

Thanks a bunch metryann and ytsejam1138,

It solved the issue after delete some remaining sabnzbd folders.

DS411
DSM 4.1-2647

bigblackvenom commented Nov 5, 2012

Thanks a bunch metryann and ytsejam1138,

It solved the issue after delete some remaining sabnzbd folders.

DS411
DSM 4.1-2647

@secavia

This comment has been minimized.

Show comment
Hide comment
@secavia

secavia Nov 5, 2012

Thanks a bunch metryann and ytsejam1138,

It solved the issue after delete some remaining sabnzbd folders.

DS1511+

secavia commented Nov 5, 2012

Thanks a bunch metryann and ytsejam1138,

It solved the issue after delete some remaining sabnzbd folders.

DS1511+

@A1rwav3

This comment has been minimized.

Show comment
Hide comment
@A1rwav3

A1rwav3 Nov 5, 2012

Don't be sorry, Thanks a lot for your work!

A1rwav3 commented Nov 5, 2012

Don't be sorry, Thanks a lot for your work!

@Diaoul

This comment has been minimized.

Show comment
Hide comment
@Diaoul

Diaoul Nov 8, 2012

Member

Any issues with the Python in private beta? I'll deploy the it soon

Member

Diaoul commented Nov 8, 2012

Any issues with the Python in private beta? I'll deploy the it soon

@Diaoul

This comment has been minimized.

Show comment
Hide comment
@Diaoul

Diaoul Nov 8, 2012

Member

You are faster to report issues than to contribute...

Member

Diaoul commented Nov 8, 2012

You are faster to report issues than to contribute...

@ytsejam1138

This comment has been minimized.

Show comment
Hide comment
@ytsejam1138

ytsejam1138 Nov 8, 2012

How can we report on the Python 2.7.3-3 if it's a Private BETA? It doesn't show up in Package Center.

ytsejam1138 commented Nov 8, 2012

How can we report on the Python 2.7.3-3 if it's a Private BETA? It doesn't show up in Package Center.

@Diaoul

This comment has been minimized.

Show comment
Hide comment
@Diaoul

Diaoul Nov 8, 2012

Member

Send me an email so I can give you access to the private beta repository. You can find my email here.

Member

Diaoul commented Nov 8, 2012

Send me an email so I can give you access to the private beta repository. You can find my email here.

@ruinit

This comment has been minimized.

Show comment
Hide comment
@ruinit

ruinit Nov 9, 2012

Could someone help me out I am a terrible newb. I tried this listed above to fix my sab install but it gives me and error.
rsync -av /volume1/@appstore/sickbeard/env /volume1/@appstore/sabnzbd/
chown -R sabnzbd /volume1/@appstore/sabnzbd/env

ERROR: module is read only
rsync error: syntax or usage error (code 1) at main.c(1034) [Receiver=3.0.8]
rsync error: rsync service is no running (code 43) at io.c(653) [sender=3.0.8]

I really have no idea how to backup my sab config files to do a reinstall so any help would be great

ruinit commented Nov 9, 2012

Could someone help me out I am a terrible newb. I tried this listed above to fix my sab install but it gives me and error.
rsync -av /volume1/@appstore/sickbeard/env /volume1/@appstore/sabnzbd/
chown -R sabnzbd /volume1/@appstore/sabnzbd/env

ERROR: module is read only
rsync error: syntax or usage error (code 1) at main.c(1034) [Receiver=3.0.8]
rsync error: rsync service is no running (code 43) at io.c(653) [sender=3.0.8]

I really have no idea how to backup my sab config files to do a reinstall so any help would be great

@ytsejam1138

This comment has been minimized.

Show comment
Hide comment
@ytsejam1138

ytsejam1138 Nov 14, 2012

Running Python 2.7.3-3 now in conjunction with SABnzbd, CouchPotato, and SickBeard with no problems

ytsejam1138 commented Nov 14, 2012

Running Python 2.7.3-3 now in conjunction with SABnzbd, CouchPotato, and SickBeard with no problems

@mutovkin

This comment has been minimized.

Show comment
Hide comment
@mutovkin

mutovkin Dec 5, 2012

The way I fix the issue is that I ssh into the box and edit
/var/packages/sabnzbd/scripts/start-stop-status

There I just need to fix python path to be:
PYTHON="${PYTHON_DIR}/bin/python"

and now everything works, no need to re-install anything or perform any other reboot, restart, reinstall magic.

mutovkin commented Dec 5, 2012

The way I fix the issue is that I ssh into the box and edit
/var/packages/sabnzbd/scripts/start-stop-status

There I just need to fix python path to be:
PYTHON="${PYTHON_DIR}/bin/python"

and now everything works, no need to re-install anything or perform any other reboot, restart, reinstall magic.

@Diaoul

This comment has been minimized.

Show comment
Hide comment
@Diaoul

Diaoul Dec 5, 2012

Member

As I already said, this solution isn't recomended.

Member

Diaoul commented Dec 5, 2012

As I already said, this solution isn't recomended.

@alwyatt

This comment has been minimized.

Show comment
Hide comment
@alwyatt

alwyatt Oct 22, 2014

Hey there, I've got the same issue. I've tried lots of these suggestions above and here: #63, but can't actually use sabnzbd

Sabnzbd: 0.7.18-10
Python: 2.7.8-10
Synology: DS412+
DSM: 5.0-4493 Update 5

I've tried uninstalling both sabnzbd & python, deleting any sabnzb folders, restarting and then reinstalling both and then restarting again before running.

I've been able to run the wizard and NOT enable https, but as soon as I try to launch localhost:8080 , 127.0.0.1:8080 or 192.168.1.100:8080 I get "web page not available"

According to the package center sabnzb is running and if I run "/var/packages/sabnzbd/scripts/start-stop-status start" it returns that sabnzbd is already running.

Can anyone help?

I have read in the log that there is an error about changing permissions in the /volume1/downloads/incomplete folder , but I don't understand how this would stop the package from running

alwyatt commented Oct 22, 2014

Hey there, I've got the same issue. I've tried lots of these suggestions above and here: #63, but can't actually use sabnzbd

Sabnzbd: 0.7.18-10
Python: 2.7.8-10
Synology: DS412+
DSM: 5.0-4493 Update 5

I've tried uninstalling both sabnzbd & python, deleting any sabnzb folders, restarting and then reinstalling both and then restarting again before running.

I've been able to run the wizard and NOT enable https, but as soon as I try to launch localhost:8080 , 127.0.0.1:8080 or 192.168.1.100:8080 I get "web page not available"

According to the package center sabnzb is running and if I run "/var/packages/sabnzbd/scripts/start-stop-status start" it returns that sabnzbd is already running.

Can anyone help?

I have read in the log that there is an error about changing permissions in the /volume1/downloads/incomplete folder , but I don't understand how this would stop the package from running

@Dr-Bean

This comment has been minimized.

Show comment
Hide comment
@Dr-Bean

Dr-Bean Oct 22, 2014

Member

@alwyatt Can I suggest to open a new issue? Adding on to a two year old closed issue might not be the best approach...

When you open a new issue, add the sabnzbd logs (either via GUI, or via /usr/local/sabnzbd/var/logs). If the logs contain more than, say, 10 lines, upload them to gist.github.com or pastebin, and provide a link in the new issue instead of pasting them directly into the issue.

While you're at it, check if the firewall on the NAS allows port 8080 (or allow all traffic for testing purposes), and in your browser, do http://ip-of-your-NAS:8080. Both localhost and 127.0.0.1 cannot be used, because those link to the device you're working on.

Member

Dr-Bean commented Oct 22, 2014

@alwyatt Can I suggest to open a new issue? Adding on to a two year old closed issue might not be the best approach...

When you open a new issue, add the sabnzbd logs (either via GUI, or via /usr/local/sabnzbd/var/logs). If the logs contain more than, say, 10 lines, upload them to gist.github.com or pastebin, and provide a link in the new issue instead of pasting them directly into the issue.

While you're at it, check if the firewall on the NAS allows port 8080 (or allow all traffic for testing purposes), and in your browser, do http://ip-of-your-NAS:8080. Both localhost and 127.0.0.1 cannot be used, because those link to the device you're working on.

@alwyatt

This comment has been minimized.

Show comment
Hide comment
@alwyatt

alwyatt Oct 24, 2014

@Dr-Bean thanks and posted here #1286

alwyatt commented Oct 24, 2014

@Dr-Bean thanks and posted here #1286

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment