Disk IO error

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
clarky000
Newbie
Newbie
Posts: 7
Joined: December 4th, 2017, 2:18 am

Disk IO error

Post by clarky000 »

Hey Guys,

Im seeing this in my log file:

Code: Select all

2020-02-12 16:59:58,778::ERROR::[database:149] SQL Command Failed, see log
2020-02-12 16:59:58,780::INFO::[database:151] Traceback: 
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/sabnzbd/database.py", line 122, in execute
    self.c.execute(command)
OperationalError: disk I/O error
2020-02-12 16:59:59,328::ERROR::[database:149] SQL Command Failed, see log
2020-02-12 16:59:59,336::INFO::[database:151] Traceback: 
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/sabnzbd/database.py", line 120, in execute
    self.c.execute(command, args)
OperationalError: disk I/O error
2020-02-12 16:59:59,369::ERROR::[database:149] SQL Command Failed, see log
2020-02-12 16:59:59,371::INFO::[database:151] Traceback: 
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/sabnzbd/database.py", line 120, in execute
    self.c.execute(command, args)
OperationalError: disk I/O error
Question I have is - is it indicating that there is an IO error at /usr/share/sabnzbdplus/sabnzbd/database.py or at the path it's trying to write the file to?

TIA!
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Disk IO error

Post by safihre »

The path that is trying to write the database to. It's inside your Admin directory where also your sabnzbd.ini is locatied.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
clarky000
Newbie
Newbie
Posts: 7
Joined: December 4th, 2017, 2:18 am

Re: Disk IO error

Post by clarky000 »

Ok. Thanks for clarifying. I'm guessing either my sd card is failing or the file is corrupt.

Can I do anything to correct it? Can I rename it safely?
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Disk IO error

Post by safihre »

You could try and move the files, it will always look for these files where the sabnzbd.ini file is stored. You can change the location of all your files and then run Sabnzbd with the -f parameter to indicate where it should look for sabnzbd.ini.

Or just remove the whole admin directory, but backup the sabnzbd.ini before, and then start sabnzbd again. It will create new files.
Shutdown sabnzbd and put back sabnzbd.ini to regain your settings. Could also backup history1.db, to maintain history.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply