0.7.3 empty ini after disk full (+ unclean shutdown?)

Report & discuss bugs found in 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
gerombo
Newbie
Newbie
Posts: 1
Joined: March 3rd, 2013, 5:36 am

0.7.3 empty ini after disk full (+ unclean shutdown?)

Post by gerombo »

Hi,

I had a full disk and in parallel some nonrelated issue which possibly made my gf hard reset my server a couple of times.
Result: sabnzbd returns the wizard, .ini setting are gone, no API key, server config, switches etc anymore. :(

Also the sabnzbd.ini.bak is back to default :-[

I'm running 0.7.3 on

Code: Select all

xbmc@<mynode>:~$ uname -a
Linux <mynode>3.5.0-19-generic #30-Ubuntu SMP Tue Nov 13 17:49:53 UTC 2012 i686 i686 i686 GNU/Linux
xbmc@<mynode>:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.10 - XBMCbuntu
Release:        12.10
Codename:       quantal
below a part of my log that seems relevant.

Code: Select all

2013-03-02 21:06:29,578::INFO::[sabnzbdplus:1245] --------------------------------
2013-03-02 21:06:29,578::INFO::[sabnzbdplus:1246] sabnzbdplus-0.7.3 (rev=e24aedc6acf1e477887a115b9a423838bdb19172)
2013-03-02 21:06:29,579::INFO::[sabnzbdplus:1258] Platform = posix
2013-03-02 21:06:29,579::INFO::[sabnzbdplus:1259] Python-version = 2.7.3 (default, Sep 26 2012, 21:53:58) 
[GCC 4.7.2]
2013-03-02 21:06:29,579::INFO::[sabnzbdplus:1260] Arguments = /usr/bin/sabnzbdplus --daemon --server 0.0.0.0:8105
2013-03-02 21:06:29,579::INFO::[sabnzbdplus:1273] Read INI file /home/xbmc/.sabnzbd/sabnzbd.ini
2013-03-02 21:06:29,581::INFO::[__init__:919] Loading data for bookmarks.sab from /home/xbmc/.sabnzbd/admin/bookmarks.sab
2013-03-02 21:06:29,581::INFO::[__init__:919] Loading data for rss_data.sab from /home/xbmc/.sabnzbd/admin/rss_data.sab
2013-03-02 21:06:29,581::INFO::[__init__:919] Loading data for totals9.sab from /home/xbmc/.sabnzbd/admin/totals9.sab
2013-03-02 21:06:29,582::INFO::[postproc:90] Loading postproc queue
2013-03-02 21:06:29,582::INFO::[__init__:919] Loading data for postproc1.sab from /home/xbmc/.sabnzbd/admin/postproc1.sab
2013-03-02 21:06:29,582::INFO::[__init__:919] Loading data for queue9.sab from /home/xbmc/.sabnzbd/admin/queue9.sab
2013-03-02 21:06:29,613::INFO::[__init__:919] Loading data for watched_data.sab from /home/xbmc/.sabnzbd/admin/watched_data.sab
2013-03-02 21:06:29,614::INFO::[downloader:208] Resuming
2013-03-02 21:06:29,615::ERROR::[config:776] Cannot write to INI file /home/xbmc/.sabnzbd/sabnzbd.ini
2013-03-02 21:06:29,616::INFO::[config:777] Traceback: 
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/sabnzbd/config.py", line 772, in save_config
    CFG.write()
  File "/usr/lib/python2.7/dist-packages/configobj.py", line 2101, in write
    h.close()
IOError: [Errno 28] No space left on device
2013-03-02 21:06:29,616::INFO::[__init__:318] All processes started
2013-03-02 21:06:29,616::INFO::[sabnzbdplus:334] Web dir is /usr/share/sabnzbdplus/interfaces/Plush
2013-03-02 21:06:29,617::INFO::[sabnzbdplus:334] Web dir is /usr/share/sabnzbdplus/interfaces/Config
2013-03-02 21:06:29,621::ERROR::[config:776] Cannot write to INI file /home/xbmc/.sabnzbd/sabnzbd.ini
2013-03-02 21:06:29,621::INFO::[config:777] Traceback: 
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/sabnzbd/config.py", line 772, in save_config
    CFG.write()
  File "/usr/lib/python2.7/dist-packages/configobj.py", line 2101, in write
    h.close()
IOError: [Errno 28] No space left on device
2013-03-02 21:06:29,621::INFO::[sabnzbdplus:450] _yenc module... found!
2013-03-02 21:06:29,621::INFO::[sabnzbdplus:458] par2 binary... found (/usr/bin/par2)
2013-03-02 21:06:29,621::INFO::[sabnzbdplus:466] unrar binary... found (/usr/bin/unrar)
2013-03-02 21:06:29,621::INFO::[sabnzbdplus:471] unzip binary... found (/usr/bin/unzip)
2013-03-02 21:06:29,621::INFO::[sabnzbdplus:477] nice binary... found (/usr/bin/nice)
2013-03-02 21:06:29,621::INFO::[sabnzbdplus:481] ionice binary... found (/usr/bin/ionice)
2013-03-02 21:06:29,621::INFO::[sabnzbdplus:486] pyOpenSSL... found (True)
2013-03-02 21:06:29,622::INFO::[sabn2013-03-03 10:30:10,058::WARNING::[interface:203] API Key incorrect, Use the api key from Config->General in your 3rd party program:
2013-03-03 10:30:15,044::WARNING::[interface:203] API Key incorrect, Use the api key from Config->General in your 3rd party program:
2013-03-03 10:30:20,055::WARNING::[interface:203] API Key incorrect, Use the api key from Config->General in your 3rd party program:
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: 0.7.3 empty ini after disk full (+ unclean shutdown?)

Post by sander »

Are you writing this as a bug report, or do you want help on the error message "Cannot write to INI file /home/xbmc/.sabnzbd/sabnzbd.ini" and getting your SAB to run again?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: 0.7.3 empty ini after disk full (+ unclean shutdown?)

Post by shypike »

There might be something odd going on in error handling in this specific case.
I've added it to the (long) checklist.
Post Reply