Code: Select all
Unrecoverable error in the server.
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 78, in setapp
self.request = self.get_request()
File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 233, in get_request
request, resp = self.cpapp.get_serving(local, remote, scheme, sproto)
File "/usr/share/sabnzbdplus/cherrypy/_cptree.py", line 112, in get_serving
cherrypy.engine.publish('acquire_thread')
File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/usr/share/sabnzbdplus/cherrypy/process/plugins.py", line 514, in acquire_thread
self.bus.publish('start_thread', i)
File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/usr/share/sabnzbdplus/sabnzbd/__init__.py", line 155, in connect_db
cherrypy.thread_data.history_db = sabnzbd.database.get_history_handle()
File "/usr/share/sabnzbdplus/sabnzbd/database.py", line 50, in get_history_handle
return HistoryDB(_HISTORY_DB)
File "/usr/share/sabnzbdplus/sabnzbd/database.py", line 66, in __init__
self.con = sqlite3.connect(db_path)
OperationalError: unable to open database file
I had hoped I could just add the PPA, launch aptitude, upgrade the packages, and call it a day. Unfortunately that got me where I am right now.
Since my SAB config isn't exactly complicated I did a full purge of all sabnzbdplus packages as well as my config file, emptying the entire cache directory. I then started it back up with a config file consisting of nothing but my log directory (since it won't run as a service without that). Still no change.
Another bit of information is on launch I see it try to create the directory '/etc/admin'. It fails and never tries again as far as I can tell, but it seems like this might be related if these SQLite databases are supposed to go in the admin directory, just it's not allowing me to configure where that admin directory lives apparently.