Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 07-01-2024, 07:30 AM   #1
judsal
Junior Member
judsal began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2024
Device: Kindle Paperwhite (10th Generation)
Library Problem (Mac M1 Pro)

Hi,

I've been a Calibre user for awhile now and I have been having problems with my library. I moved the library to a new local folder on my Mac. After creating a new library from this location, I had to restore database almost everytime I opened Calibre.

I just opened it and there's only one book in my library. When I click Switch/Create Library... and then choose my folder it says "There is no existing calibre library at /CalibreLibrary."

I can still see all my book folders with files inside in my folder. There are also 3 metadata files:

1) metadata [conflicted].db
2) metadata_db_prefs_backup.json
3) metadata_pre_restore.db

What should I do?
judsal is offline   Reply With Quote
Old 07-01-2024, 08:24 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,441
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Is that your Library name, Because Calibre Library is the default name (note space)?

BTW The full command is
Switch/create Library: USE EXISTING:<selection>
theducks is offline   Reply With Quote
Old 07-01-2024, 09:14 AM   #3
judsal
Junior Member
judsal began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2024
Device: Kindle Paperwhite (10th Generation)
Quote:
Originally Posted by theducks View Post
Is that your Library name, Because Calibre Library is the default name (note space)?

BTW The full command is
Switch/create Library: USE EXISTING:<selection>
Yes, that's my library name.

path/to/library/CalibreLibrary
judsal is offline   Reply With Quote
Old 07-01-2024, 10:24 AM   #4
mbovenka
Wizard
mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.
 
Posts: 2,052
Karma: 13579113
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
Quote:
Originally Posted by judsal View Post
There are also 3 metadata files:

1) metadata [conflicted].db
2) metadata_db_prefs_backup.json
3) metadata_pre_restore.db
That first file is supposed to be 'metadata.db'. The fact that it isn't called that is the reason Calibre thinks there is no library in that directory.

The '[conficted]' bit makes me think there is some backup/sync/cloud drive program messing with your library. You being on a Mac, Time Machine maybe? Anyway, kill that, whatever it is.
mbovenka is online now   Reply With Quote
Old 07-01-2024, 10:53 AM   #5
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 72,484
Karma: 309060442
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by mbovenka View Post
That first file is supposed to be 'metadata.db'. The fact that it isn't called that is the reason Calibre thinks there is no library in that directory.

The '[conficted]' bit makes me think there is some backup/sync/cloud drive program messing with your library. You being on a Mac, Time Machine maybe? Anyway, kill that, whatever it is.
Time Machine would never produce such a file. But I agree, it looks like some synchronisation mechanism is messing up.
pdurrant is offline   Reply With Quote
Old 07-01-2024, 11:03 AM   #6
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,027
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by mbovenka View Post
That first file is supposed to be 'metadata.db'. The fact that it isn't called that is the reason Calibre thinks there is no library in that directory.

The '[conficted]' bit makes me think there is some backup/sync/cloud drive program messing with your library. You being on a Mac, Time Machine maybe? Anyway, kill that, whatever it is.
Dropbox uses file names like that.
chaley is offline   Reply With Quote
Old 07-01-2024, 11:07 AM   #7
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 11,455
Karma: 230178176
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by chaley View Post
Dropbox uses file names like that.
Yes. All one needs to do is to decide which database file is the one that's actually in sync with the library files and rename it to "metadata.db".

AND pause the sync while Calibre is open!
Sirtel is offline   Reply With Quote
Old 07-01-2024, 02:56 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,354
Karma: 136006198
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Sirtel View Post
Yes. All one needs to do is to decide which database file is the one that's actually in sync with the library files and rename it to "metadata.db".

AND pause the sync while Calibre is open!
It's not a good idea to put any working library in the directory tree of any cloud sync software. It's best to keep a copy in the cloud sync directory tree and use FreeFileSync to one-way sync to the cloud directory tree.
JSWolf is offline   Reply With Quote
Old 07-02-2024, 04:53 AM   #9
rantanplan
Weirdo
rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.
 
Posts: 717
Karma: 9081544
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Tolino Shine Color, Tolino Vision 6, Kobo Clara 2E, Boox Note Air 2+
Quote:
Originally Posted by JSWolf View Post
It's not a good idea to put any working library in the directory tree of any cloud sync software. It's best to keep a copy in the cloud sync directory tree and use FreeFileSync to one-way sync to the cloud directory tree.
Or use rClone if you want to backup your library to DropBox.
rantanplan is offline   Reply With Quote
Old 07-02-2024, 04:57 AM   #10
judsal
Junior Member
judsal began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2024
Device: Kindle Paperwhite (10th Generation)
Thank you guys for the help. I'm not sure how the folder got renamed but I think it has something to do with PCloud. I was using a PCloud folder before and it seems like that library was somehow still in my Calibre although I thought I had deleted it.


I changed the name and deleted the PCloud library and everything seems to be working.
judsal is offline   Reply With Quote
Old 07-03-2024, 12:37 PM   #11
peaceridge
Wizard
peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.
 
peaceridge's Avatar
 
Posts: 1,016
Karma: 4407864
Join Date: Feb 2009
Location: North Carolina
Device: Kobo Aura1, Nexus7.2, Galaxy Tab A 8.4, Ipad Air & Mini 6
Quote:
Originally Posted by judsal View Post
Thank you guys for the help. I'm not sure how the folder got renamed but I think it has something to do with PCloud. I was using a PCloud folder before and it seems like that library was somehow still in my Calibre although I thought I had deleted it.


I changed the name and deleted the PCloud library and everything seems to be working.
I had the same problem a couple of days ago with PCloud. I don't sync, but moved a small library to PCloud. [I keep a small library of new additions called "move to pcloud" and move that to PCloud periodically, after which I delete the books in it.] Anyway, after I moved it, Calibre gave me the same error. I deleted the small library on my Mac, added a new empty one through Calibre and moved on. Thank you so much for your question, now I know it is a PCloud problem. Thank goodness I didn't move my entire library!
peaceridge is offline   Reply With Quote
Old 07-03-2024, 03:40 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,354
Karma: 136006198
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by peaceridge View Post
I had the same problem a couple of days ago with PCloud. I don't sync, but moved a small library to PCloud. [I keep a small library of new additions called "move to pcloud" and move that to PCloud periodically, after which I delete the books in it.] Anyway, after I moved it, Calibre gave me the same error. I deleted the small library on my Mac, added a new empty one through Calibre and moved on. Thank you so much for your question, now I know it is a PCloud problem. Thank goodness I didn't move my entire library!
You don't move an active library to your cloud's directory tree. You COPY. And you don't need a library with just new books to sync to the cloud as FreeFileSYnc will do the syncing/copying of yoy existing library FFS will sort it all out and deal easily with what's new/different.
JSWolf is offline   Reply With Quote
Old 07-03-2024, 03:47 PM   #13
peaceridge
Wizard
peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.
 
peaceridge's Avatar
 
Posts: 1,016
Karma: 4407864
Join Date: Feb 2009
Location: North Carolina
Device: Kobo Aura1, Nexus7.2, Galaxy Tab A 8.4, Ipad Air & Mini 6
Quote:
Originally Posted by JSWolf View Post
You don't move an active library to your cloud's directory tree. You COPY. And you don't need a library with just new books to sync to the cloud as FreeFileSYnc will do the syncing/copying of yoy existing library FFS will sort it all out and deal easily with what's new/different.
Thank you, you are always so helpful. I didn't move the library, I did copy it (I thought, but I will double check next time). As far as FreeFileSync, I've used it in the past on my old Windows before I changed to Mac, and it is great for looking at all my files, but it takes a while. Since I'm only copying a few books to Pcloud, it is just quicker doing it the way I've been doing. Unless, of course, Pcloud has changed something, then I'll go back to using FreeFileSync.
peaceridge is offline   Reply With Quote
Old 07-03-2024, 07:49 PM   #14
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,992
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by peaceridge View Post
Thank you, you are always so helpful. I didn't move the library, I did copy it (I thought, but I will double check next time). As far as FreeFileSync, I've used it in the past on my old Windows before I changed to Mac, and it is great for looking at all my files, but it takes a while. Since I'm only copying a few books to Pcloud, it is just quicker doing it the way I've been doing. Unless, of course, Pcloud has changed something, then I'll go back to using FreeFileSync.
If you use FreeFileSync's Mirror option on a calibre library folder, it will copy the entire library the first time it is used, but subsequent uses will only action additions, changes, and deletions since last use.

The advantage of using a sync tool (there are dozens of them) such as FFS is that they can work with most storage targets - cloud services, external drives, local file servers, NASes… FTP servers even. Some can be used to backup Android & IOS devices.

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
14-15 inch Mac Pad Pro (notebook with detachable screen) or 14-15 inch Ipad Pro Plus? xtech Apple Devices 31 01-13-2019 06:41 PM
Send library to Poke-Pro using calibre column (genres) to create library folders Bedurk Onyx Boox 4 01-03-2019 04:13 PM
14-15 inch Mac Pad Pro (notebook with detachable screen) or 14-15 inch Ipad Pro Plus? xtech General Discussions 0 06-07-2018 06:05 PM
reader library problem on Mac wwilson Sony Reader 2 04-06-2010 04:54 PM
Problem: new sonyprs505 & mac book pro Divz Calibre 4 12-11-2008 11:09 AM


All times are GMT -4. The time now is 06:51 AM.


MobileRead.com is a privately owned, operated and funded community.