Auden69 Posted March 18, 2021 Share Posted March 18, 2021 Hello, I managing my library with Calibre (about 9000 Ebooks) and share it with Calibre-server. Sometimes i've this error when i try to edit a Book in calibre : Traceback (most recent call last): File "calibre/gui2/library/models.py", line 1130, in setData File "calibre/gui2/library/models.py", line 1204, in _set_data File "calibre/db/legacy.py", line 551, in set File "calibre/db/cache.py", line 72, in call_func_with_lock File "calibre/db/cache.py", line 1198, in set_field File "calibre/db/write.py", line 543, in set_books File "calibre/db/write.py", line 404, in many_many File "calibre/db/write.py", line 268, in get_db_id File "calibre/db/backend.py", line 920, in execute apsw.BusyError: BusyError: database is locked To avoid this bug, i've to shut off Calibre-web and restart Calibre. I found a Fix on a forum : From the manual: nobrl - Do not send byte range lock requests to the server. This is necessary for certain applications that break with cifs style mandatory byte range locks (and most cifs servers do not yet support requesting advisory byte range locks). So in the /etc/fstab: Code: //server/nas /home/nas cifs nobrl,user=uid,password=xxx,uid=1001,gid=1001 0 0 "Then you can use the calibre libraries on this volume without errors." But I don't know/understand what i should do on my unraid server... I'm starting with unraid 😞 Anyone can help me ? Thanks ! Auden. Quote Link to comment
xanose2947 Posted April 8, 2021 Share Posted April 8, 2021 I've just installed this calibre app into my unraid box. I'm now trying to use goodreads sync plugin [Link to plugin] so that all my reading progress is synced across calibre and my ereader. What I'm seeing in the logs is that the plugin cannot connect to my goodreads account because a web browser is required to do the OAuth2 handshake and none are installed/available. Does anyone have an idea how i could get around this? Note: I've never used calibre before and really know nothing about it File "calibre/gui2/notify.py", line 182, in get_notifier File "calibre/gui2/notify.py", line 110, in get_dbus_notifier File "dbus/_dbus.py", line 212, in __new__ File "dbus/_dbus.py", line 102, in __new__ File "dbus/bus.py", line 124, in __new__ dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead Restarting with: /opt/calibre/bin/calibre QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-abc' Failed to contact running instance of calibre QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-abc' Failed to contact running instance of calibre [Errno 111] Connection refused DBusExport: Failed to connect to DBUS session bus, with error: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-abc' Unable to detect a web browser to launch 'http://www.goodreads.com/oauth/authorize/?oauth_token=xXxXxXxXxXxX' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-abc' Quote Link to comment
Monty Posted April 16, 2021 Share Posted April 16, 2021 I'm having a weird issue with setting a user and pass in the docker config page. Latest version of linuxserver/calibre - the environmental variables for GUAC_USER & GUAC_PASS do not work - still have to log in with abc / abc. Cannot figure out how to change this (an I'm pretty sure I'm being silly) Quote Link to comment
dcpdad Posted April 16, 2021 Share Posted April 16, 2021 @Monty I can confirm that I am having the same issue. This started for me after yesterday's Docker update. 1 Quote Link to comment
saarg Posted April 16, 2021 Share Posted April 16, 2021 10 hours ago, Monty said: I'm having a weird issue with setting a user and pass in the docker config page. Latest version of linuxserver/calibre - the environmental variables for GUAC_USER & GUAC_PASS do not work - still have to log in with abc / abc. Cannot figure out how to change this (an I'm pretty sure I'm being silly) 6 hours ago, dcpdad said: @Monty I can confirm that I am having the same issue. This started for me after yesterday's Docker update. Might be worth it to read the documentation some times 😉 Quote Link to comment
thomas Posted April 17, 2021 Share Posted April 17, 2021 Solution is to add a new Variable called DISABLE_AUTH and set the value TRUE. I also deleted the 2 GUAC parameters. Read morehttps://guacamole.apache.org/doc/0.9.6/gug/configuring-guacamole.html 1 Quote Link to comment
Monty Posted April 17, 2021 Share Posted April 17, 2021 Quote 22.03.21: - Rebase to rdesktop-web baseimage. Deprecate GUAC_USER and GUAC_PASS env vars. Existing users can set the new var PASSWORD for the user abc. Ah, I see. So they've changed how the authentication works. I've added the password variable, and it's working. Yay Is there anyway to change the default username (abc) - I've read the documentation, and can't seem to find how to. Quote Link to comment
gsd2012 Posted April 18, 2021 Share Posted April 18, 2021 The question I have is how can I get the library to point to an existing one on my /media/ebooks/ share? It creates the Calibre Library under /config in the mtn/cache/appdata/calibre/config which I do not want it there. My media is on /mtn/user/media/ebooks since it has all the space there for it. I tried to change it but it will not let me see the directory in the /mtn/user/media/. I can see the media directory but it shows no sub-folders. I just don't want it filling up the cache drive with all that information. Any help would be appreciated. Quote Link to comment
marcus523 Posted April 18, 2021 Share Posted April 18, 2021 when you setup Calibre on docker did you map a path to the directory you keep your books in. Calibre has a /books path that you change at inception. Point /books to /mint/user/media, then run the docker. once started change the library location to /books and you should see your files. hope this helps Quote Link to comment
marcus523 Posted April 18, 2021 Share Posted April 18, 2021 I can confirm that deleting GUAC_USER and GUAC_PASS variables (aka user name, password) and adding the variable password ( set to abc) does work. Normal Calibre operation has resumed. Quote Link to comment
gsd2012 Posted April 19, 2021 Share Posted April 19, 2021 3 hours ago, marcus523 said: when you setup Calibre on docker did you map a path to the directory you keep your books in. Calibre has a /books path that you change at inception. Point /books to /mint/user/media, then run the docker. once started change the library location to /books and you should see your files. hope this helps Yeah that is what I thought too but it is pointing to the /mtn/user/media/ebooks where the books are at and the original Calibre database. When it boots up it puts the Calibre Library under the /config section which is not on the user drives. P.S. Took me a while to figure out that removing the username and pass makes it work right...lol Quote Link to comment
gsd2012 Posted April 19, 2021 Share Posted April 19, 2021 6 hours ago, gsd2012 said: The question I have is how can I get the library to point to an existing one on my /media/ebooks/ share? It creates the Calibre Library under /config in the mtn/cache/appdata/calibre/config which I do not want it there. My media is on /mtn/user/media/ebooks since it has all the space there for it. I tried to change it but it will not let me see the directory in the /mtn/user/media/. I can see the media directory but it shows no sub-folders. I just don't want it filling up the cache drive with all that information. Any help would be appreciated. Ok after some tinkering I figured out the problem. I had it pointed right but when you first create the initial library look for the directory label "books" which is the root of my share /mtn/user/media/ebooks/ it will then find the original Calibre database and pull everything in. All is good now!!! Quote Link to comment
gsd2012 Posted April 20, 2021 Share Posted April 20, 2021 I got Calibre up and working with the old library that I had but each time I reboot the docker (after adding plugins) it goes back to the point of starting a new database again looking for the library. I then locate it again and it comes right up but goes back to the /root each time I reboot it. Second part is if I make a change in the Preferences and reboot it does not save the changes. It resets them back to the original ones. Same goes with changing the icons. I just did a test on plugins too and once it reboots the plugins are all reset back to default and not showing installed. Another strange thing happened over night were I can't pull metadata for the books anymore either. 2 Quote Link to comment
TBoneStaek Posted April 20, 2021 Share Posted April 20, 2021 (edited) 7 hours ago, gsd2012 said: I got Calibre up and working with the old library that I had but each time I reboot the docker (after adding plugins) it goes back to the point of starting a new database again looking for the library. I then locate it again and it comes right up but goes back to the /root each time I reboot it. Second part is if I make a change in the Preferences and reboot it does not save the changes. It resets them back to the original ones. Same goes with changing the icons. I just did a test on plugins too and once it reboots the plugins are all reset back to default and not showing installed. Another strange thing happened over night were I can't pull metadata for the books anymore either. I'm having the same issue after pulling the latest image. It's like it "forgot" where my library is and every time I repoint to it and restart the docker it "forgets" again. I'm getting errors in my logs as well. https://privatebin.net/?6cb378d34ade868b#Euikg6Kvz2K4XK1xJq7V1U6a7Mz65Vz47f9wdraoAPUV Edited April 20, 2021 by TBoneStaek add log 1 Quote Link to comment
saarg Posted April 20, 2021 Share Posted April 20, 2021 1 hour ago, TBoneStaek said: I'm having the same issue after pulling the latest image. It's like it "forgot" where my library is and every time I repoint to it and restart the docker it "forgets" again. I'm getting errors in my logs as well. https://privatebin.net/?6cb378d34ade868b#Euikg6Kvz2K4XK1xJq7V1U6a7Mz65Vz47f9wdraoAPUV It's getting fixed. 1 Quote Link to comment
thymon Posted April 20, 2021 Share Posted April 20, 2021 1 hour ago, saarg said: It's getting fixed. So I waiting for patch. Thank you @saarg 1 Quote Link to comment
Draven Posted April 20, 2021 Share Posted April 20, 2021 After my weekly docker update, Calibre doesn't work anymore. I've joined a screenshot of the WebUI. Thank you for your help. Quote Link to comment
gsd2012 Posted April 20, 2021 Share Posted April 20, 2021 6 hours ago, TBoneStaek said: I'm having the same issue after pulling the latest image. It's like it "forgot" where my library is and every time I repoint to it and restart the docker it "forgets" again. I'm getting errors in my logs as well. https://privatebin.net/?6cb378d34ade868b#Euikg6Kvz2K4XK1xJq7V1U6a7Mz65Vz47f9wdraoAPUV Yes that is exactly what happen to me. It keeps forgetting everything even the plugins too. Quote Link to comment
gsd2012 Posted April 20, 2021 Share Posted April 20, 2021 54 minutes ago, gsd2012 said: Yes that is exactly what happen to me. It keeps forgetting everything even the plugins too. Well I guess the update fixed it all..working now. Quote Link to comment
b0m541 Posted April 22, 2021 Share Posted April 22, 2021 On 4/20/2021 at 3:51 PM, Draven said: After my weekly docker update, Calibre doesn't work anymore. I've joined a screenshot of the WebUI. Thank you for your help. Same crap here, just updated.. sad. Quote Link to comment
saarg Posted April 22, 2021 Share Posted April 22, 2021 5 hours ago, b0m541 said: Same crap here, just updated.. sad. Press OK, and then you should get the login window. You might have to remove the previous set env variable for user/password as the base image was changed. It's in the changelog of the readme. Quote Link to comment
madzharov Posted April 24, 2021 Share Posted April 24, 2021 It is working, no complains here, but since I am using a password manager with a rather complex password - is there a way to send that password to the login screen as I didn't see the clipboard feature working for that use case? Also can the default user be changed? Quote Link to comment
b0m541 Posted April 27, 2021 Share Posted April 27, 2021 On 4/22/2021 at 7:42 AM, saarg said: Press OK, and then you should get the login window. You might have to remove the previous set env variable for user/password as the base image was changed. It's in the changelog of the readme. Thanks, it works. Quote Link to comment
SeattleBandit Posted April 29, 2021 Share Posted April 29, 2021 (edited) so i skimmed and didn't see a result if i missed it my apologies - but my docker auto updated and now the gui won't load - the docker starts up and when i try and load the webgui - i just get a blank screen and no calibre app - looks like a new guacamole though tried doing a force update - i'm seeing nothing obvious in the logs any suggestions? edit: sooooooooooooo looks like my dark reader plugin was basically blanking the vnc - pebkac Edited April 29, 2021 by SeattleBandit Quote Link to comment
n8breeze Posted May 2, 2021 Share Posted May 2, 2021 (edited) Hello, I am new to Calibre, and I would like to know, if and if then how I can use Calibre without importing the files itself. I have a (partly) well managed E-Book Collection of 480gb, which I want to stay. Calibre should only manage the Access and its Metadata. How am I starting to achieve this? Didn't find it here or in the RTFM, if I missed it, please point me to the according docs, thanks in advance. I am adding my Config here: When I want to change the place of the library, it does not see my Array, as I understand it is looking in the docker.img only. It puts its Files in /import/-Calibre-/ instead of /mnt/disk1/Array/BookServ/-Calibre-/ Edited May 2, 2021 by n8breeze Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.