Admin Console Server not coming up due to database lock
Behavior and Error messages
Invocation of init method failed; LockException: Could not acquire change log lock. Currently locked by
This happens when the server is restarted or shut down manually during the schema initialization is in progress. This is a rare scenario that occurs when the database is in a locked condition.
- SSH to Linux terminal where NirvaShare is installed, create a file with the below path and filename. Make sure you login as root user. In case if you already have this file in that location, please edit the same to add the entry.
- Add the below entry in to the file and save it.
- Restart Admin Console service using below command
docker restart nirvashare_admin
- After Admin Console starts successfully, please delete the entry in the file and once again restart the Admin Console.