06-13-2010, 12:09 PM | #76 |
I devour books!
Posts: 789
Karma: 1285226
Join Date: Mar 2009
Device: iPad Air, Kindle 3/Kobo Aura HD, iPhone 6
|
Fixed it
PilotBob - I did get it to work and the problem was the metadata file which many said over a few posts. As soon as I got the right metadata file loaded, all was good. However, I have discovered a new issue. I updated some books on my netbook in Calibre however, the books did not update when I opened up Calibre on my desktop. I have both Calibre libraries pointed to my Dropbox account so I assumed that the files were updating on Dropbox. Any suggestions?
|
06-13-2010, 12:29 PM | #77 |
Wizard
Posts: 2,895
Karma: 6995721
Join Date: Dec 2008
Location: Idaho, on the side of a mountain
Device: Kindle Oasis, Fire 3d Gen and 5th Gen and Samsung Tab S
|
Did you have only one library open at a time? Remember, you have to exit on the task bar as well.
|
Advert | |
|
06-13-2010, 01:01 PM | #78 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
If you're using dropbox and multiple machines, please make sure you also have good backups. |
|
06-13-2010, 02:02 PM | #79 |
I devour books!
Posts: 789
Karma: 1285226
Join Date: Mar 2009
Device: iPad Air, Kindle 3/Kobo Aura HD, iPhone 6
|
Yup, reading and following the advice of all on this thread, I have ensured that I NEVER have more than one instance of Calibre opened at a time. I have checked the files on Dropbox and I see for example a new book added is in fact located on Dropbox. When I open up Calibre on my netbook, I see the book that was added. When I open up Calibre on my desktop, the new book added to Dropbox is not showing up. Shouldn't Calibre pick up there is a new folder with a new book? That is what is confusing me.
|
06-13-2010, 02:06 PM | #80 | |
I devour books!
Posts: 789
Karma: 1285226
Join Date: Mar 2009
Device: iPad Air, Kindle 3/Kobo Aura HD, iPhone 6
|
Quote:
|
|
Advert | |
|
06-13-2010, 02:08 PM | #81 | |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
|
|
06-13-2010, 02:16 PM | #82 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Great. I worry about dropbox users who might take this setup lightly. Calibre is pretty careful with our collections, but the dropbox configuration requires the user to take extra precautions to avoid messing up Calibre. Dropbox is a great setup for those who are being careful.
|
06-13-2010, 02:41 PM | #83 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
If you shutdown Computer-A before the 6 meg file can uploaded to Dropbox, when you go to Computer-B you will find the work you did on Computer-A missing. The updated metadata.db file still exists on you Computer-A but because it never had a chance to update Dropbox it is not available to Computer-B. If you exit Computer-B and go to Computer-A and start Calibre you'll find the changes missing here too because Dropbox has updated your machine with the most recent updated file (from Computer-B). Exit Calibre before considering the following. The metadata.db file with all of your changes didn't disappear it is now in the same directory as your metadata.db but has been labeled as a "conflicted copy" on my machine my last "conflicted copy" was named metadata (Computer-A's conflicted copy 2010-06-08).db Read these two (one, two) posts for more info. At this point I can rename metadata.db to metadata.old.db and rename my "conflicted copy" version of metadata.db to metadata.db. Now when I restart Calibre all of the work that was missing is back again. Last edited by DoctorOhh; 06-13-2010 at 04:40 PM. |
|
06-13-2010, 02:55 PM | #84 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Recovery from this is possible, but tricky. There will be no metadata.db file that is correct, and no way for dropbox to help. There will be no file yet available that has what is needed. You will need to run one of the last two metadata files, export the stuff known only to one machine, then run the other metadata and import the stuff you exported. |
|
06-13-2010, 03:27 PM | #85 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Redoing your changes may cause duplicate books in the in calibre's folder structure. Duplicates won't cause any problems unless you suffer fron OCD and continually search for problems in the pattern. |
|
06-13-2010, 04:13 PM | #86 |
I devour books!
Posts: 789
Karma: 1285226
Join Date: Mar 2009
Device: iPad Air, Kindle 3/Kobo Aura HD, iPhone 6
|
EVERYTHING GOOD!!!
First, hate to sound like a broken record but THANK YOU to you all for such great advice and suggestions. Eveything is working accordingly. I think what happened was Calibre on my netbook wasn't closed - as a matter of fact I know it didn't because I had the setting marked to keep it in my tray. I have removed that setting so when I close Calibre on any machine, it closes out completely. I removed one of the books I put in last night, re-added it back into Calibre - giving Dropbox enough time to synch. Once it completed, I went to my desktop and LO AND BEHOLD, it showed up in Calibre. I am so happy that I have worked this out because now I can access my library from both computers and this is a terrific thing.
|
06-13-2010, 08:22 PM | #87 |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Keep in mind... Dropbox IS a backup. It keeps back copies/versions of the files it syncs.
Second... DON'T shut down computers if you can avoid it... I leave all my PCs up and running. (Yes... we have plenty of coal in this country.) Anyway... as long as you close calibre on a PC when you aren't using it... you should be ok. Dropbox syncs at a block level so it doesn't upload the full 6MBs (if that is the size of the file) it just uploads the change delta which is very small and happens very fast. BOb |
06-14-2010, 09:19 AM | #88 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
06-14-2010, 11:18 AM | #89 |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
From their Web site FAQ:
"Dropbox saves a history of all deleted and previous versions of files for 30 days for all Dropbox accounts by default. If you have the Pack-Rat add-on, Dropbox saves those files for as long as you have the Pack-Rat add-on. With Pack-Rat, you never have to worry about losing an old version of a file." Pack-Rat is a pro account feature. I'm not sure if it cost extra or not. I just checked pack rat is an additional $40 per year. BOb |
06-14-2010, 12:06 PM | #90 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Ideally, one will manually resynch when a conflict is detected before things get out of hand (a process that requires some smarts and knowledge of the files Calibre uses in its library), but what does it do when multiple inconsistent files begin to build up on multiple computers as a result of a conflict? Is it possible to get each computer restored to its different state if one fails? Does it mark conflicted file 1 (STATUS 1) as belonging to computer 1 and conflicted file 1 (STATUS 2) as belonging to computer 2, then keep 30 day backups of both, or what? A related question is: "What do you see in Calibre during the conflict state?" Do you see your computer 2 metadata.db with all the books you added on computer 2 after the fork, or do you lose those and see only the files added on computer 1? To ask that a different way, I know that there will be a conflict file generated for metadata.db on computer 2. Is that file the computer 1 metadata.db or the computer 2 metadata.db? Similarly, once the fork occurs, you begin to generate folders using calibre ids. They will be replicated from computer 2 to computer 1 (the folders have no conflict, as they are new on computer 2 and have no corresponding folder on computer 1). If you try to manually synchronize the two machines after the fork, you may be asking Calibre to generate folders that already exist, and that will fail. What happens when Calibre does that? (I'm not trying to convince you, or anyone else, not to use dropbox - it's a great setup, provided its used wisely, and you remain sync'd, I'm just trying to figure out the limitations, risks and problems of using it.) Last edited by Starson17; 06-14-2010 at 12:12 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiple computers one db? | giddion | Calibre | 15 | 05-20-2011 08:11 PM |
Syncing across multiple computers | Sridhar | Calibre | 4 | 07-10-2010 11:27 AM |
Sync Library on two computers | BrianG | Calibre | 8 | 01-04-2010 06:59 PM |
Duplicate books - multiple formats | mranlett | Calibre | 5 | 09-26-2009 07:02 AM |
Multiple computers and Calibre | starrigger | Calibre | 11 | 03-19-2009 12:14 PM |