03-16-2024, 10:05 AM | #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! |
03-16-2024, 11:02 AM | #2 | |
Resident Curmudgeon
Posts: 76,474
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
03-16-2024, 11:14 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2024
Device: Kindle Oasis
|
Readarr / QBitorrent
|
03-16-2024, 12:11 PM | #4 |
Resident Curmudgeon
Posts: 76,474
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
03-16-2024, 12:41 PM | #5 |
Grand Sorcerer
Posts: 12,762
Karma: 75000002
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 | |
|
03-16-2024, 02:26 PM | #6 |
the rook, bossing Never.
Posts: 12,375
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Legitimate stuff uses Torrent protocol.
|
03-16-2024, 02:27 PM | #7 |
the rook, bossing Never.
Posts: 12,375
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
|
03-16-2024, 03:18 PM | #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?) |
03-16-2024, 06:37 PM | #9 | |
Custom User Title
Posts: 9,574
Karma: 64960983
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 06:40 PM. |
|
03-16-2024, 06:43 PM | #10 | |
null operator (he/him)
Posts: 21,006
Karma: 27620706
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 |
|
03-16-2024, 06:47 PM | #11 |
Grand Sorcerer
Posts: 12,762
Karma: 75000002
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 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Permission error preventing the use of DeDRM | jomteon | Calibre | 18 | 02-28-2024 11:11 PM |
Calibre, version 6.19.1 ERROR: Permission denied | dunhill | Calibre | 7 | 06-06-2023 08:41 PM |
Error 13 Permission denied for covers | bookimp | Calibre | 2 | 07-21-2020 10:26 PM |
Error: Permission Denied | megthered | Calibre | 3 | 09-26-2015 12:51 PM |
Calibre 0.9.24 [64-bit] Permission Denied Error | edwdecarlo | Devices | 6 | 03-23-2013 02:22 PM |