Weird issue on synology NAS

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.
Post Reply
iMediocre
Newbie
Newbie
Posts: 4
Joined: May 14th, 2012, 1:41 pm

Weird issue on synology NAS

Post by iMediocre »

Hi everybody,

I really hope this hasn't been posted before, if it has, please point me to the right thread.

My problem is as follows: I've had sabnzbd working on a synology DS211J in combination with sickbeard. Everything worked fine for a long time but all of a sudden it just broke (I guess). I couldn't connect to the webinterface nor was anything downloading. It also made accessing websites which I hosted on my nas impossible. I first just tried stopping the package but for a few days I would just get an error that another package was being configured or installed and that I should wait. I wasn't doing anything with a different package so wasn't really sure what to do. After a few days I could stop and run the package again but nothing would happen, I still couldn't reach sabnzbd. So I deinstalled sabnzb and tried to reinstall (this only fixed accessing the websites). But when I try to install I get the message that a different package is already using that port. When I go to the sabnzbd port I get this error (even though sabnzbd isn't installed anymore):

Unrecoverable error in the server.
Traceback (most recent call last):
File "/usr/local/sabnzbd/share/SABnzbd/cherrypy/_cpwsgi.py", line 78, in setapp
File "/usr/local/sabnzbd/share/SABnzbd/cherrypy/_cpwsgi.py", line 233, in get_request
File "/usr/local/sabnzbd/share/SABnzbd/cherrypy/_cptree.py", line 112, in get_serving
File "/usr/local/sabnzbd/share/SABnzbd/cherrypy/process/wspbus.py", line 147, in publish
File "/usr/local/sabnzbd/share/SABnzbd/cherrypy/process/plugins.py", line 514, in acquire_thread
File "/usr/local/sabnzbd/share/SABnzbd/cherrypy/process/wspbus.py", line 147, in publish
File "/usr/local/sabnzbd/share/SABnzbd/sabnzbd/__init__.py", line 180, in connect_db
File "/usr/local/sabnzbd/share/SABnzbd/sabnzbd/database.py", line 50, in get_history_handle
File "/usr/local/sabnzbd/share/SABnzbd/sabnzbd/database.py", line 66, in __init__
OperationalError: unable to open database file

I'm not sure what to try next. I hope someone knows how to solve this.

Thanks in advance.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Weird issue on synology NAS

Post by shypike »

Try to find the file history1.db and remove it.
iMediocre
Newbie
Newbie
Posts: 4
Joined: May 14th, 2012, 1:41 pm

Re: Weird issue on synology NAS

Post by iMediocre »

Thanks for the response.

I wouldn't really be sure where to look for it. The only place I'd know is in the sabnzbd folder, and it's not there. Don't suppose you could help me a bit further?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Weird issue on synology NAS

Post by shypike »

It depends on what the package creator did.
By default all admin files are in $HOME/.sabnzbd
Where $HOME is the home folder of the user account under which SABnzbd runs.
You'll need an ssh terminal session for access.
iMediocre
Newbie
Newbie
Posts: 4
Joined: May 14th, 2012, 1:41 pm

Re: Weird issue on synology NAS

Post by iMediocre »

I'm really a noob at the terminal thing.

I've tried going into the homes folders (and subfolders) and used ls to list the files. None were history1.db. I also tried the command: find -name "history1.db" while in the homes folder, but it doesn't seem to find anything. I also tried looking while in /volume1 but there it doesn't find anything either. I do get a list of folders where permission was denied, but these don't have anything to do with sabnzbd. When I try to look in the folders which are listed in my first post, I get a lot of permission denied errors. I'm not sure why that is, I double checked everything and I should have permission.

BTW, I'm using the superzebulon repository/package.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Weird issue on synology NAS

Post by shypike »

The Config->Folders page will show you where files are located.
"System" section, field "Default Base Folder".
Then look in "Administrative Folder" (usually "admin").
iMediocre
Newbie
Newbie
Posts: 4
Joined: May 14th, 2012, 1:41 pm

Re: Weird issue on synology NAS

Post by iMediocre »

I understand, but the only problem is that I can't get sabnzbd working at all. I deleted sabnzb and tried to reinstall but I keep getting an error message that port 8080 is already reserved/being used by another service. So there's no way for me to check the config -> folders page.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Weird issue on synology NAS

Post by shypike »

I'm afraid you'll have to go back to the package creator for more info.
Post Reply