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 07-08-2018, 10:13 AM   #1
Lakrimar
Junior Member
Lakrimar began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2018
Device: Tolino
Access error when enabling user database

I just wanted to enable authentication by userdb but when I access the website I get an http-500 error. The logfile contains the following information:

Code:
calibre server listening on 127.0.0.1:4711
OPDS feeds advertised via BonJour at: 127.0.0.1 port: 4711
Unhandled exception in state: State: _job_done Client: 127.0.0.1:58696 Request: GET /calibre/interface-data/books-init?library_id=calibre-library&sort=timestamp.desc&1531057863804 HTTP/1.1
Traceback (most recent call last):
  File "site-packages/calibre/srv/loop.py", line 569, in tick
  File "site-packages/calibre/srv/loop.py", line 307, in _job_done
  File "site-packages/calibre/srv/pool.py", line 35, in run
  File "site-packages/calibre/srv/http_response.py", line 441, in run_request_handler
  File "site-packages/calibre/srv/routes.py", line 305, in dispatch
  File "site-packages/calibre/srv/auth.py", line 258, in __call__
  File "site-packages/calibre/srv/auth.py", line 296, in do_http_auth
  File "site-packages/calibre/srv/auth.py", line 252, in check
  File "site-packages/calibre/srv/users.py", line 139, in get
  File "site-packages/calibre/srv/users.py", line 80, in conn
CantOpenError: CantOpenError: unable to open database file
The access works flawless without authentication. I tried to change the permissions on the metadata.db but this doesn't change or solve the problem.
Lakrimar is offline   Reply With Quote
Old 07-08-2018, 10:23 AM   #2
Lakrimar
Junior Member
Lakrimar began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2018
Device: Tolino
Ok, just ignore it - got it up and running. Maybe it was a folder permission which was not set properly
Lakrimar is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre database access issues barrymcsorley Calibre 7 01-03-2017 10:08 AM
[Android] using CC to access existing database barlowrm Calibre Companion 9 12-06-2016 09:46 PM
Can I access the database from a metadata source plugin? Jellby Development 7 02-03-2015 03:29 AM
Is it safe for two copies of Calibre to access the same database? Halo Calibre 7 01-31-2013 01:03 PM


All times are GMT -4. The time now is 12:46 PM.


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