Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 09-11-2022, 11:14 PM   #1
Jest
Junior Member
Jest began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2022
Device: none
Server permission issues: readonly/500

I have successfully installed Calibre in a Docker container on my NAS, and can access the application and content server. However, there is a permissions issue somewhere along the line:

calibre server listening on 0.0.0.0:8081
OPDS feeds advertised via BonJour at: 172.17.0.2 port: 8081
Unhandled exception in state: State: _job_done Client: 172.17.0.1:51740 Request: POST /book-set-last-read-position/library/661/EPUB HTTP/1.1
Traceback (most recent call last):
File "calibre/srv/loop.py", line 626, in tick
File "calibre/srv/loop.py", line 347, in _job_done
File "calibre/srv/http_response.py", line 502, in job_done
File "polyglot/builtins.py", line 61, in reraise
File "calibre/srv/pool.py", line 33, in run
File "calibre/srv/http_response.py", line 459, in run_request_handler
File "calibre/srv/routes.py", line 312, in dispatch
File "calibre/srv/books.py", line 223, in set_last_read_position
File "calibre/db/cache.py", line 77, in call_func_with_lock
File "calibre/db/cache.py", line 2678, in set_last_read_position
File "calibre/db/backend.py", line 1019, in execute
apsw.ReadOnlyError: ReadOnlyError: attempt to write a readonly database

I also receive an Ajax/500 error in the browser when reading.

PUID and GUID match the owner of the files, though the Guacamole Client user is named "abc" with the correct UID.

I'm very close to the synced highlights/reading position we're all hoping for—any help would be greatly appreciated.
Jest is offline   Reply With Quote
Old 09-12-2022, 12:49 AM   #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,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Fix whatever is breaking the permissions on metadata.db. Or dont use docker. Use the calibre binaries directly. There is no need for the added complication.
kovidgoyal is offline   Reply With Quote
Advert
Old 09-14-2022, 07:39 PM   #3
Jest
Junior Member
Jest began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2022
Device: none
Things are working well now with Docker, though I didn't do anything noteworthy with permissions. I'll keep an eye on it. Via the browser I'm able to read/highlight/make notes on any device, regardless of operating system or network.

Thank you for the tremendous product. It has quietly just worked for me for over a decade.
Jest is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 8 permission issues kanigetts Library Management 4 03-19-2013 05:11 PM
Server and Account Permission Issues Struikrover Devices 7 12-19-2012 03:45 PM
500 Internal Server Error accessing content server Calibre 0.8.8 DaddyO57 Calibre 1 07-20-2012 06:08 PM
Headless server on NAS readonly problem artifact Related Tools 1 06-28-2011 09:34 PM
PRS-500 issues.. AprilHare Sony Reader 4 07-18-2008 09:55 PM


All times are GMT -4. The time now is 06:37 PM.


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