Hi all,
I'm trying to create a new library on a NAS device which has been mounted on my local machine.
Some Stats:
NAS: Netgear ReadyNAS NV+
OS: Ubuntu 11.10
Mount Location: /media/mediaStorage/EBooks
Mount Type: CIFS
When I load Calibre it tells me that the database appears to be corrupted.
Error:
Code:
calibre, version 0.8.37
Corrupted database: The library database at /media/mediaServer/EBooks appears to be corrupted. Do you want calibre to try and rebuild it automatically? The rebuild may not be completely successful. If you say No, a new empty calibre library will be created.
Traceback (most recent call last):
File "site-packages/calibre/gui2/main.py", line 190, in initialize_db
File "site-packages/calibre/library/database2.py", line 196, in __init__
File "site-packages/calibre/library/database2.py", line 151, in connect
File "site-packages/calibre/library/database2.py", line 518, in initialize_database
File "site-packages/calibre/library/sqlite.py", line 314, in run
DatabaseException: database is locked
RemoteTraceback (most recent call last):
File "site-packages/calibre/library/sqlite.py", line 271, in run
OperationalError: database is locked
I've taken a look at the permissions on the .db file which is created and my user has read/write permissions on the file.
I then press 'NO' to create a new database and get the following error:
Code:
calibre, version 0.8.37
ERROR: Bad database location: Bad database location u'/media/mediaServer/EBooks'. calibre will now quit.
Traceback (most recent call last):
File "site-packages/calibre/gui2/main.py", line 177, in initialize_db_stage2
File "site-packages/calibre/library/database2.py", line 196, in __init__
File "site-packages/calibre/library/database2.py", line 148, in connect
OSError: [Errno 26] Text file busy: '/media/mediaServer/EBooks/metadata.db'
Is this all just crazy permissions problems? Any suggestions on how I might resolve it? I've set the permissions both via the file properties and by sshing into the NAS as root and setting permissions there as well.
thanks,
enjiro