|
|
Thread Tools | Search this Thread |
05-27-2021, 08:44 PM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2021
Device: KINDLE
|
Calibre can't access DB from Standard User, but does from Admin User (Win10)
I hadn't used Calibre for a while, opened it successfully, saw there was an update so I installed that. It appeared to install successfully but on first launch it said the DB was corrupt, and when I followed the prompts to repair/restore the db these failed (both the Yes and No options failed).
I uninstalled, restarted Windows, and reinstalled from an Admin-type User Account, which then worked fine. But I want to use Calibre from my usual Standard-type User so I switched back to that. It has the original problem. Of course I can set Calibre to run as Admin, but then the library is stored in my Admin-type user which I don't want. I think I may have switched my usual User Account from Admin to Standard Type since I first installed the earlier version of Calibre some years ago. Is this a known problem of recent Windows 10 updates, or of Calibre v5.18 (64bit)? Is there a fix? Can you help? Many thanks in advance. |
05-27-2021, 08:52 PM | #2 |
creator of calibre
Posts: 44,293
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Fix the permissions on the files in the calibre library folder.
|
Advert | |
|
05-27-2021, 09:23 PM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2021
Device: KINDLE
|
Wow thanks for the quick response. And for your wonderful product!
I haven't worked with file permissions before so can you give me a quick tip or link to what that fix would look like? |
05-31-2021, 09:47 PM | #4 |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2021
Device: KINDLE
|
Can anyone help with this please?
In Permissions for my User Folder it says that I have Full control.
What else can I try? |
05-31-2021, 10:44 PM | #5 |
creator of calibre
Posts: 44,293
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Look at the error message it will tell you what file has permissions issues, fixthe permissions on that file/folder.
|
Advert | |
|
05-31-2021, 11:03 PM | #6 |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2021
Device: KINDLE
|
Thanks for the quick response!
The first error message is: calibre, version 5.19.0 ERROR: Failed to create library: Failed to create calibre library at: 'C:\\Users\\Bryan\\Documents\\Calibre Library'. You will be asked to choose a new library location. Traceback (most recent call last): File "calibre\gui2\main.py", line 182, in get_library_path File "os.py", line 223, in makedirs FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\Bryan\\Documents\\Calibre Library' When I click "OK" and choose my Documents folder then I get: "The library database at C:\Users\Bryan\Documents appears to be corrupted. Do you want calibre to try to and rebuild it automatically?" When I click "Yes" I get: calibre, version 5.19.0 ERROR: Failed to repair library: Restoring database failed, click "Show details" to see details Traceback (most recent call last): File "calibre\db\restore.py", line 129, in run File "calibre\db\restore.py", line 286, in replace_db File "shutil.py", line 261, in copyfile FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Bryan\\Documents\\metadata.db' |
05-31-2021, 11:10 PM | #7 | |
Bibliophagist
Posts: 39,120
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
After that, you can do the check and restore if needed on the database. Last edited by DNSB; 05-31-2021 at 11:13 PM. |
|
05-31-2021, 11:59 PM | #8 | |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2021
Device: KINDLE
|
Quote:
|
|
06-01-2021, 01:36 AM | #9 |
Bibliophagist
Posts: 39,120
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
06-01-2021, 05:12 PM | #10 |
Custom User Title
Posts: 9,236
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Win10's ransomware protection has been known to cause issues with programs attempt to write to the user Documents folders. (To rather silly extents.) It can be disabled in Windows Security > Virus & Threat Protection > Manage ransomware protection > Controlled folder access.
Last edited by ownedbycats; 06-01-2021 at 05:15 PM. |
06-01-2021, 08:54 PM | #11 | |
Bibliophagist
Posts: 39,120
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Viewing User Access | Roodavis | Server | 4 | 07-11-2020 02:22 PM |
Feature request: Calibre Multi user/device access | Cool Javelin | Library Management | 5 | 06-22-2018 07:02 AM |
FYI: Win10 System Admin may be required. | OldLincoln | Library Management | 3 | 09-13-2015 11:04 AM |
Multi-user access to Calibre db in cloud | higlider | Related Tools | 2 | 12-05-2013 06:32 AM |