View Single Post
Old 06-20-2017, 05:48 PM   #6
amatriain
Junior Member
amatriain began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2017
Device: sony reader t3
I'm seeing the same in a calibre 3 installation upgraded from 2.x running in a headless server (the folder with the library is called "Calibre"):

- /mobile interface works fine

- If I start the full calibre desktop gui via X fowarding and run the calibre server from there, the web interface works fine.

- If I start calibre-server from the command line (headless mode) I get the "choose a library to browse" message but the button to actually choose a library doesn't appear.

- I've realised that when running the server from the full desktop gui, after choosing a library, a fragment is added to the URL like this: "#library_id=Calibre&panel=book_list". When running calibre-server in headless mode, if I add a fragment to the URL: "#panel=book_list" I get the list of books in my library and I can use it. However if I try to add the library name to the URL "library_id=Calibre" then some things do not work, for example when trying to retrieve a book cover image I see a 404 error in the browser logs with the return message "Library u'Calibre' not found".

It seems to me there's a bug when running calibre-server in headless mode, it leaves the library name blank and some things break. A workaround is to add "#panel=book_list" manually to the URL but the library name is still blank and I suspect some things will still be broken.

Anything else I can do to help pin down the bug please tell me.
amatriain is offline   Reply With Quote