Page 1 of 1

Can't access Config - 500 Internal Server Error

Posted: October 13th, 2016, 5:36 am
by Hendohimself
Hello all,

Wonder if anyone can help me out?

I've installed a sabnzbd package from synocommunity onto my synology diskstation. It's installed and opened ok, but i can't get at the configuration settings. This messages comes up:
500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
File "/volume1/@appstore/sabnzbd-testing/share/SABnzbd/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/volume1/@appstore/sabnzbd-testing/share/SABnzbd/cherrypy/lib/encoding.py", line 220, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/volume1/@appstore/sabnzbd-testing/share/SABnzbd/cherrypy/_cpdispatch.py", line 60, in __call__
return self.callable(*self.args, **self.kwargs)
File "/volume1/@appstore/sabnzbd-testing/share/SABnzbd/sabnzbd/interface.py", line 1272, in index
conf['folders'] = sabnzbd.nzbqueue.scan_jobs(all=False, action=False)
File "/volume1/@appstore/sabnzbd-testing/share/SABnzbd/sabnzbd/decorators.py", line 44, in call_func
return func(*params, **kparams)
File "/volume1/@appstore/sabnzbd-testing/share/SABnzbd/sabnzbd/decorators.py", line 32, in newFunction
return f(*args, **kw)
File "/volume1/@appstore/sabnzbd-testing/share/SABnzbd/sabnzbd/nzbqueue.py", line 1067, in scan_jobs
return NzbQueue.do.scan_jobs(all, action)
File "/volume1/@appstore/sabnzbd-testing/share/SABnzbd/sabnzbd/nzbqueue.py", line 153, in scan_jobs
for folder in globber_full(cfg.download_dir.get_path()):
File "/volume1/@appstore/sabnzbd-testing/share/SABnzbd/sabnzbd/misc.py", line 86, in globber_full
return [os.path.join(path, f) for f in os.listdir(path) if fnmatch.fnmatch(f, pattern)]
OSError: [Errno 13] Permission denied: '/volume1/downloads/incomplete'
Has anybody seen this before/got any idea of what i need to do?

I've had sabnzbd installed before and running happily for years with a superzebulon package, but that seemed to stop working a week or two back.

Thanks!

Re: Can't access Config - 500 Internal Server Error

Posted: October 13th, 2016, 6:07 am
by safihre
The error says it all..
OSError: [Errno 13] Permission denied: '/volume1/downloads/incomplete'

Make sure the SABnzbd user still has access to it.. Quick and dirty you can "chmod 777" the folder.

Re: Can't access Config - 500 Internal Server Error

Posted: October 13th, 2016, 6:44 am
by Hendohimself
Thanks for the reply - much appreciated. That's nailed it!