|  | #1 | 
| Junior Member  Posts: 1 Karma: 10 Join Date: Feb 2018 Device: nook | 
				
				Rebuilding DB error
			 
			
			Mac OS-X with Calibre 3.17 I migrated from one computer to another and found that Calibre would not read the data-base to open the library. When I tried to rebuild I got the following error calibre, version 3.17.0 ERROR: Failed to repair library: Restoring database failed, click Show details to see details Traceback (most recent call last): File "site-packages/calibre/db/restore.py", line 127, in run File "site-packages/calibre/db/restore.py", line 281, in replace_db File "lib/python2.7/shutil.py", line 83, in copyfile IOError: [Errno 13] Permission denied: u'/Calibre/metadata.db' I've gone back in TimeMachine and pulled both the library and DB off and still am getting this error. I've hit my limit, actually I would just start over and re-import each book (ya I know) but Calibre has some hidden file someplace (and I have hidden files turned on) that insists it rebuild and not start over. The only posting I found on the forum for a similar issue included instructions that started with C:// ( ie that -other- OS) All I really want to do it get it all working... Ralph | 
|  |   | 
|  | #2 | 
| Well trained by Cats            Posts: 31,251 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | 
			
			Last line decoded: You do not have full rights to access the (Library) file or folder. Security (software) changes, restore from read only media (CD/DVD), wrong logon (multi-user PC's) being used, The file is IN USE by another program or instance. are a few | 
|  |   | 
| Advert | |
|  | 
|  | #3 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			And if you want to erase calibre's stored preferences, delete the directory ~/Library/Preferences/calibre
		 | 
|  |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Rebuilding from Scratch | johnelle | Library Management | 3 | 01-16-2018 11:55 AM | 
| Rebuilding my library | MSWallack | Marvin | 2 | 04-21-2017 10:42 AM | 
| Rebuilding after crash | Sami | Calibre | 6 | 09-25-2015 11:59 PM | 
| Rebuilding the Polymath | sbspalding | Self-Promotions by Authors and Publishers | 0 | 06-18-2013 01:08 PM | 
| Android APK Rebuilding | techiem2 | enTourage Archive | 7 | 05-25-2010 10:39 PM |