Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 06-28-2011, 04:34 PM   #1
artifact
Addict
artifact ought to be getting tired of karma fortunes by now.artifact ought to be getting tired of karma fortunes by now.artifact ought to be getting tired of karma fortunes by now.artifact ought to be getting tired of karma fortunes by now.artifact ought to be getting tired of karma fortunes by now.artifact ought to be getting tired of karma fortunes by now.artifact ought to be getting tired of karma fortunes by now.artifact ought to be getting tired of karma fortunes by now.artifact ought to be getting tired of karma fortunes by now.artifact ought to be getting tired of karma fortunes by now.artifact ought to be getting tired of karma fortunes by now.
 
Posts: 276
Karma: 3569616
Join Date: Feb 2009
Device: jetBook (RIP), Kobo Touch
Headless server on NAS readonly problem

I'm trying the NAS for a calibre-server source trick others have done and get the following:

error: Traceback (most recent call last):
File "site.py", line 58, in main
File "site-packages/calibre/library/server/main.py", line 114, in main
File "site-packages/calibre/library/database2.py", line 201, in __init__
File "site-packages/calibre/library/database2.py", line 290, in initialize_dynamic
File "site-packages/calibre/library/sqlite.py", line 304, in run
DatabaseException: attempt to write a readonly database
RemoteTraceback (most recent call last):
File "site-packages/calibre/library/sqlite.py", line 264, in run
OperationalError: attempt to write a readonly database

Command line:
/usr/share/calibre/calibre-server --with-library=/mnt/backup/Calibre --port=3456 --develop

--develop was added due to a January thread about log writing which I hoped would take care of readonly .

GUI use is on a Macbook and is never simultanous and confirmed to be shut down when I've tried to start the server. NAS is a Buffalo which uses XFS file format though I can copy stuff back and forth from Windows, Mac, and linux with no trouble so I don't -think- XFS would be to blame. Squeezeserver serves up music fine to multiple devices from the '/mnt/backup' drive so I don't think that is an issue.

Help! Where is the 'readonly database' is coming from?

(The plan is UIless web-only, read only service where I can download books to my WiFi reader from my always on linux box. Test trials on the Macbook with the GUI had it working great -- now to port it over.)
artifact is offline   Reply With Quote
Old 06-28-2011, 09:34 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error means the metadata.db file in your calibre library is read only.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Old Thread] News auto download and email on headless server mcphail Related Tools 9 11-19-2011 03:50 AM
Fresh daily papers daily with Calibre, on a headless server Fastolfe General Discussions 2 12-20-2010 05:29 AM
Readonly Database seanbw Calibre 6 03-17-2010 06:30 PM
Headless Calibre Server Setup godzilla8nj Related Tools 4 03-10-2010 01:39 PM
Library on NAS server? bous Calibre 5 11-26-2009 05:03 AM


All times are GMT -4. The time now is 06:30 AM.


MobileRead.com is a privately owned, operated and funded community.