View Single Post
Old 02-24-2024, 05:10 PM   #4
ckronengold
Member
ckronengold began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jan 2018
Device: kindle basic
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.

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).
ckronengold is offline   Reply With Quote