View Single Post
Old 01-23-2014, 05:54 AM   #1
bhbloom
Junior Member
bhbloom began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2011
Device: Kindle 4
Drobo NAS and Linux

I am attempting to use a Raspberry Pi to run Calibre-server and access calibre libraries stored on a Drobo on the local network.
I mounted the drobo on the Pi
***********
MAKE MOUNT DIRECTORY ON Pi
mkdir drobomnt
sudo mount //192.168.0.9/public /drobomnt
**************
I can then see all the files on the Drobo.

When I run
calibre-server --with-library /drobomnt/CalLibtest --port 8081 &

it comes up with this error
**********************************
pi@raspberrypi ~ $ Traceback (most recent call last):
File "/usr/bin/calibre-server", line 19, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/library/server/main.py", line 118, in main
db = LibraryDatabase2(opts.with_library)
File "/usr/lib/calibre/calibre/library/database2.py", line 221, in __init__
self.initialize_dynamic()
File "/usr/lib/calibre/calibre/library/database2.py", line 334, in initialize_dynamic
'UPDATE authors SET sort=author_to_author_sort(name) WHERE sort IS NULL')
File "/usr/lib/calibre/calibre/library/sqlite.py", line 314, in run
raise DatabaseException(*res)
calibre.library.sqlite.DatabaseException: attempt to write a readonly database
RemoteTraceback (most recent call last):
File "/usr/lib/calibre/calibre/library/sqlite.py", line 271, in run
ok, res = True, bfunc(*args, **kwargs)
OperationalError: attempt to write a readonly database

[1]+ Exit 1 calibre-server --with-library /drobomnt/CalLibtest --port 8081
******************

However, I can run the server when the files are directly attached to the Pi.
(apart from a library which has 17000 entries)

It is , I think, a problem with the Drobo.

Anyone got any ideas?

Basil
bhbloom is offline   Reply With Quote