Hi,
Somehow, I managed to lock a (test)-database and now I can't get it unlocked.
Is it possible to manually remove the lock? If so, how?
Cheers, Ben Engbers
Hi Ben,
maybe there is a upd.basex file in your data/ directory?
Citing from
http://docs.basex.org/wiki/Transaction_Management#Update_Operations
Update Operations
During a database update, a locking file upd.basex will reside in that database directory. If the update fails for some unexpected reason, or if the process is killed ungracefully, this file will not be deleted. In this case, the database cannot be opened anymore, and the message "Database ... is being updated, or update was not completed" will be shown instead. If the locking file is manually removed, you may be able to reopen the database, but you should be aware that database may have got corrupt due to the interrupted update process, and you should revert to the most recent database backup.
Cheers, Alex
On 30. Apr 2018, at 15:56, Ben Engbers Ben.Engbers@Be-Logical.nl wrote:
Hi,
Somehow, I managed to lock a (test)-database and now I can't get it unlocked.
Is it possible to manually remove the lock? If so, how?
Cheers, Ben Engbers
basex-talk@mailman.uni-konstanz.de