![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2023
Device: iPad
|
Could not change the on disk location
Hello,
I have got a new computer and reinstalled Calibre, linked to my Google drive. And now anytime I try to change something I have an error such as the one below : HELP?? ### calibre, version 6.20.0 ERROR: Permission denied: Could not change the on disk location of this book. Is it open in another program? Locked file: G:\My Drive\Calibre\Library\Winnicott\Jeu et realite (1766)\cover.jpg Traceback (most recent call last): File "calibre\gui2\library\models.py", line 1257, in setData File "calibre\gui2\library\models.py", line 1331, in _set_data File "calibre\db\legacy.py", line 558, in set File "calibre\db\cache.py", line 85, in call_func_with_lock File "calibre\db\cache.py", line 1508, in set_field File "calibre\db\cache.py", line 1522, in update_path File "calibre\db\backend.py", line 1875, in update_path File "calibre\utils\copy_files.py", line 226, in copy_tree File "calibre\utils\copy_files.py", line 143, in copy_all File "shutil.py", line 372, in copystat PermissionError: [WinError 5] Access is denied: 'G:\\My Drive\\Calibre\\Library\\Winnicott\\Jeu et realite (1766)\\cover.jpg' |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,362
Karma: 238915017
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Calibre and Google Drive are incompatible. Keeping your library on Google Drive will result in a corrupted library.
|
![]() |
![]() |
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,957
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Be advised that besides GD (100% guaranteed to be bad), Putting the active Library on ANY networked drive is only a case of WHEN.
(lots of folk say they do it, but then they may be prepared to deal with the fallout. Advice: Don't) |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2023
Device: iPad
|
Interesting…! Unfortunately that is my entire use case. Having synchronized access to my entire library. I never realized it wasn’t meant for this. Thanks!
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,362
Karma: 238915017
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
You can keep a copy on a cloud drive, but not an active library. Google Drive is not compatible even for a copy, though.
|
![]() |
![]() |
![]() |
#6 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,836
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
I do use a GUI to rsync and do one way copy to my local server from main pc and then update a laptop if going out. This is in addition to backups and Calibre Export. |
|
![]() |
![]() |
![]() |
#7 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,829
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#8 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,605
Karma: 7511185
Join Date: Sep 2020
Device: none
|
Recently I decided to switch from exporting yearly my whole library (375 GB minus full-text-search.db - 78 GB), through Calibre built-in feature, to use FreeFileSync with an external SSD enclosure, thanks to the sound advice given by honorable MR members.
Now I just mirror the local file changes and found it to be way faster than I thought it would! As for cloud backup, this would be awesome but... Last edited by Comfy.n; 06-20-2023 at 01:52 AM. |
![]() |
![]() |
![]() |
#9 |
Enthusiast
![]() Posts: 40
Karma: 10
Join Date: Aug 2011
Location: Atlantic Beach, FL
Device: Amazon Fire HD 10
|
I'm getting the same error. I'm not using Google Drive, my library is on MS Drive, has been that way for a decade. Any suggestion?
|
![]() |
![]() |
![]() |
#10 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,500
Karma: 168929301
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
See the many many messages about issues with libraries stored on cloud storage. As has been said many times before, if you store your library on a storage system using a network connection, it's not a question of if you will have library issues, it's a question of when.
I would suggest copying your library back from OneDrive to your computer. Then try repairing the library. If that fails, you can try creating a new library and then adding the books from your old library to your new library. Good luck! In the calibre FAQs, see: I am getting errors with my calibre library on a networked drive/NAS?. From SQLite's web site, see: SQLite Over a Network, Caveats and Considerations. Last edited by DNSB; 06-01-2025 at 07:20 PM. |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,362
Karma: 238915017
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Keep your active library on a local, unsynced drive and a copy on MS Drive. You can use FreeFileSync to mirror the changes to the copy. One-way (mirror) sync only, not two-way!
|
![]() |
![]() |
![]() |
#12 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,470
Karma: 145863170
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Here is a good video on using rclone and also mounting it as a drive. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
On Disk Location error | azuravian | Library Management | 4 | 03-11-2023 12:40 AM |
Change Location for eBooks | Bouboule | Calibre | 6 | 09-14-2018 10:02 AM |
Change install location | Blrp | Calibre | 4 | 01-15-2016 11:18 AM |
"Could not change the on-disk location of this book" | Sunspoticus | Library Management | 4 | 08-21-2014 09:25 AM |
Change Output Location? | CChamp | Devices | 2 | 09-11-2011 07:17 PM |