logs: delete from database_lock

Any issue about installation and configuration of the Cyclos 4 version

Moderators: rmvanarkel, hugo, alexandre

Post Reply
j3l
Posts: 3
Joined: Tue Jun 22, 2021 6:52 pm

logs: delete from database_lock

Post by j3l »

Hello,
Happy to be here with you guys :)

My docker server shutdowns at midnight like all my home internet, just to make sure kids are not on Wifi :D
This morning, the cyclos local web page has got a continuous spinning wheel and container logs threw JAVA errors, in the middle I noted:

Code: Select all

...
delete from database_lock;
...
I understand the first container access writes this lock in the db, I guess it will happen everyday from now on. Or is there a proper way to remove the database_lock initial process?

In case it will shutdown abruptly, is there an API call to delete the lock? Something like http://0.0.0.0/database_lock?delete=true
OK, my example is totally unsafe since I don't pass any credentials.

Or is the only way is to install Adminer ou pgAdmin to inject SQL command?

Thanks!
Post Reply