|
|
#1 |
|
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Mar 2022
Device: kindle 10 gen
|
Trying to move Library to other location (database is locked)
Hi.
Im trying to get up a backup i have from my library. I have now my library in a LXC debian (proxmox). And im sharing the library through SAMBA. Im running Calibre in my notebook. And connecting from my notebook to the lxc samba share. When i try to move the "calibre library" to my real library (the backup) first say that the database have some errors, Ok, and try to fix... after several hours seeing how it is looking at the books, etc. i get this: calibre, version 6.26.0 ERROR: Fallo al reparar la biblioteca: La restauración de la base de datos falló, pulsar «Mostrar detalles» para más información Code:
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/db/restore.py", line 148, in run
self.create_cc_metadata()
File "/usr/lib/calibre/calibre/db/restore.py", line 276, in create_cc_metadata
db = Restorer(self.library_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/calibre/calibre/db/restore.py", line 56, in __init__
backend = DB(library_path, default_prefs=default_prefs, restore_all_prefs=restore_all_prefs, progress_callback=progress_callback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/calibre/calibre/db/backend.py", line 476, in __init__
self.initialize_database()
File "/usr/lib/calibre/calibre/db/backend.py", line 1334, in initialize_database
cur.execute('BEGIN EXCLUSIVE TRANSACTION')
File "src/cursor.c", line 240, in resetcursor
apsw.BusyError: BusyError: database is locked
Code:
ls -la metadata.db .rwxrwxrwx 386M panchines 8 feb 2021 metadata.db i can create files in the samba share... i dont know what to do. Can you help me please? |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,610
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Library Database location vs Library location (nas) | sshaikh | Calibre | 1 | 02-01-2023 08:02 PM |
| Calibre 4.1 BusyError: database is locked | Tanjamuse | Calibre | 3 | 10-10-2019 01:53 PM |
| Problem when saving to disk (database locked) | gargoyle | Calibre | 1 | 12-05-2010 09:00 PM |
| Move Library Database? | edbro | Sony Reader | 1 | 04-05-2009 03:14 PM |
| Database locked using WebDav folder on Mac OS X | astrodad | Calibre | 4 | 08-04-2008 02:01 PM |