![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2024
Device: Kindle Oasis
|
Calibre Permission Error
Hi Everyone,
I am running calibre LSIO docker and keep getting this error: Traceback (most recent call last): File "calibre/db/backend.py", line 415, in rmtree_with_retry File "shutil.py", line 732, in rmtree File "shutil.py", line 683, in _rmtree_safe_fd File "shutil.py", line 681, in _rmtree_safe_fd PermissionError: [Errno 13] Permission denied: 'metadata.opf' I have manually checked all of the metadata.opf files that are mounted in my system (QNAP linux host) library directory have proper permissions, but I don't know where else there could be these "metadata.opf" files? Calibre seems to be working im just getting this errors spamming in my logs Thanks in advance! |
![]() |
![]() |
![]() |
#2 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2024
Device: Kindle Oasis
|
Readarr / QBitorrent
|
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,510
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Jon; I really wish you'd stop with this harping over torrented material. Whether they are or not is not relevant to the question being asked. There is NO indication in the log of any book titles / sources.
Sent from my Pixel 7a using Tapatalk |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,016
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Legitimate stuff uses Torrent protocol.
|
![]() |
![]() |
![]() |
#7 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,016
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2024
Device: Kindle Oasis
|
Apologies - sharing full logs here: https://pastebin.com/HgRWFjn3
It seems like something in the `expire_old_trash` function could be causing it. Is there a way to force delete everything in the trash (including db records referencing trash if needed?) |
![]() |
![]() |
![]() |
#9 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,970
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Check the tooltip for 'permanently delete after', there's an option to delete upon closing Calibre which may help. Last edited by ownedbycats; 03-16-2024 at 05:40 PM. |
|
![]() |
![]() |
![]() |
#10 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,720
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Because you mentioned QNAP, which I know as a Network Accessible Storage (NAS) device ==>> I am getting errors with my calibre library on a networked drive/NAS? Because this is the error you're getting ==>> I am getting a “Permission Denied” error? The .caltrash folder (which is hidden) contains no database. The library folder contents for a removed book is moved to .caltrash/b/nnnn where nnnn is the books id column. AFAIK there is no reference to removed books or formats in the library database. BR |
|
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,510
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Any details as to how you've created the Docker container, and how you've mounted the folder containing your calibre library to the container?
Sent from my Pixel 7a using Tapatalk |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Permission error preventing the use of DeDRM | jomteon | Calibre | 18 | 02-28-2024 10:11 PM |
Calibre, version 6.19.1 ERROR: Permission denied | dunhill | Calibre | 7 | 06-06-2023 07:41 PM |
Error 13 Permission denied for covers | bookimp | Calibre | 2 | 07-21-2020 09:26 PM |
Error: Permission Denied | megthered | Calibre | 3 | 09-26-2015 11:51 AM |
Calibre 0.9.24 [64-bit] Permission Denied Error | edwdecarlo | Devices | 6 | 03-23-2013 01:22 PM |