Page 1 of 1

SABnzbd3 won't start on Synology DS214+

Posted: August 23rd, 2020, 3:41 am
by pven
I've updated the SABnzb-package on my Synology DS214+ (this also included a Python3-upgrade). But after this SABnzbd won't start.

This is all the logging I have:

Code: Select all

2020-08-23 10:09:26,620::INFO::[misc:523] script_dir directory: /usr/local/sabnzbd/var/scripts does not exist, try to create it
2020-08-23 10:09:26,726::INFO::[_cplogging:219] [23/Aug/2020:10:09:26] HTTP
Request Headers:
  COOKIE: stay_login=1; tk_tc=PhMW4bBlmLcWI8xY; did=DAZejgmhnbEbYKbprZqo3nYBINUHW3CIg7ZvNmfk17tZVVNz8ZNtS1N0981Z06c7RkpltWotjSneqH3dPQEU1cZHJ48gnYQgsmqIaaDmYxdTtlNNPHOSjp6fGiFX39v; login_cookie=6a6dd4352162dda15293228862e5d052f3716d2d; login_salt=730; id=zQ8KWa0qv8TDTx2EFzE2olMuV7ppwf0juKbpyZRfnGA3Ro12QLetM1JiYzjCPbYASJtllwNAUtqvdg6CmTujsg; smid=EBLysIusVh1rdFylMTwnODRyyPsAgNn5D0F5rLnTik6RTwPS1GMHIfsXWjqd9cpRW3VsW5UZ6aL47GrzqgvJ1Q
  Remote-Addr: 192.168.1.108
  USER-AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
  CONNECTION: keep-alive
  REFERER: https://local.stuff.com:10101/
  X-REQUESTED-WITH: XMLHttpRequest
  SEC-FETCH-MODE: cors
  HOST: local.stuff.com:10101
  SEC-FETCH-SITE: same-origin
  ACCEPT: */*
  ACCEPT-LANGUAGE: en-US,en;q=0.9,nl;q=0.8
  SEC-FETCH-DEST: empty
  ACCEPT-ENCODING: gzip, deflate, br
2020-08-23 10:09:26,789::ERROR::[_cplogging:219] [23/Aug/2020:10:09:26] HTTP
Traceback (most recent call last):
  File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/_cprequest.py", line 670, in respond
  File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/lib/encoding.py", line 220, in __call__
  File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/_cpdispatch.py", line 60, in __call__
  File "/volume1/@appstore/sabnzbd/share/SABnzbd/sabnzbd/interface.py", line 127, in internal_wrap
  File "/volume1/@appstore/sabnzbd/share/SABnzbd/sabnzbd/interface.py", line 944, in index
  File "/var/packages/python/target/lib/python2.7/site-packages/Cheetah/Template.py", line 1259, in __init__
    self._compile(source, file, compilerSettings=compilerSettings)
  File "/var/packages/python/target/lib/python2.7/site-packages/Cheetah/Template.py", line 1546, in _compile
    self._fileMtime = os.path.getmtime(file)
  File "/var/packages/sabnzbd/target/env/lib/python2.7/genericpath.py", line 62, in getmtime
OSError: [Errno 2] No such file or directory: '/var/packages/sabnzbd/target/share/SABnzbd/interfaces/Glitter/templates/queue.tmpl'
2020-08-23 10:09:27,533::INFO::[misc:523] script_dir directory: /usr/local/sabnzbd/var/scripts does not exist, try to create it
2020-08-23 10:09:27,534::ERROR::[misc:525] Cannot create directory /usr/local/sabnzbd/var/scripts
2020-08-23 10:09:30,548::INFO::[misc:523] script_dir directory: /usr/local/sabnzbd/var/scripts does not exist, try to create it
The directory mentioned in the last line exists btw.
Btw: I have no idea where the reference to python2.7 is coming from ...

When changing back to SabNZd 2.3.9 (including some changed references to python2 iso python3) everything works again,

Re: SABnzbd3 won't start on Synology DS214+

Posted: August 23rd, 2020, 3:58 am
by safihre
Seems it is not using python3.
Could you report this at SynoCommunity? https://github.com/SynoCommunity/spksrc

Re: SABnzbd3 won't start on Synology DS214+

Posted: August 23rd, 2020, 4:23 am
by pven
I will (later today). Thanks, and keep up the good work.