View Single Post
Old 02-24-2024, 11:31 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 36,913
Karma: 148318164
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by ckronengold View Post
Whats the best way to pass those in the calibre-server.service file?

When I edited the line "ExecStart=/opt/calibre/calibre-server --userdb /srv/calibre/users.sqlite --enable-auth" I'm getting an error.
Spoiler:

Code:
Error: Unhandled error
Uncaught TypeError: Cannot read properties of undefined (reading 'is_local')
Error at http://192.168.0.221:8080/:10878:141
Traceback (most recent call last):
    at XMLHttpRequest.ρσ_anonfunc (http://192.168.0.221:8080/:5951:21)
    at complete_callback (http://192.168.0.221:8080/:5919:17)
    at on_data_loaded (http://192.168.0.221:8080/:11515:24)
    at UserSessionData.set_library_option (http://192.168.0.221:8080/:10897:25)
    at UserSessionData.set (http://192.168.0.221:8080/:10878:141)
TypeError: Cannot read properties of undefined (reading 'is_local')


But it works when I launch calibre-server directly from the command line.

I created three users and removed write access from them. (I didn't specify a library because I have 3 different libraries, all of which were working before adding users).
You may want to check the two message threads currently directly below your thread:
Content server error...
and Calibre server error after updating to 7.5.1 which mention the same error and which will be corrected in the next calibre release.
DNSB is offline   Reply With Quote