SQLite error and server restart loop

Hi all!

I’ve using UrBackup for a few months and recently I started getting the errors shown below. A few days ago I “solved” it by deleting the database and backups, then, re-generating the docker container.

I don’t want to go through that again and thought about posting here. As I wrote, it worked fine for a few days, then these errors started to show, causing the server to restart after a few seconds and restarting after the errors shown below.

Any help is much appreciated.

Raising nice-ceiling to 35 failed. (errno=1),
2020-12-21 10:04:55: Starting HTTP-Server on port 55414,
2020-12-21 10:04:55: HTTP: Server started up successfully!,
2020-12-21 10:04:56: SQLite: recovered 2287 frames from WAL file /var/urbackup/backup_server.db-wal code: 283,
2020-12-21 10:04:58: SQLite: recovered 199126 frames from WAL file /var/urbackup/backup_server_files.db-wal code: 283,
2020-12-21 10:04:58: SQLite: recovered 207 frames from WAL file /var/urbackup/backup_server_link_journal.db-wal code: 283,
2020-12-21 10:04:58: SQLite: recovered 1381 frames from WAL file /var/urbackup/backup_server_links.db-wal code: 283,
2020-12-21 10:04:58: SQLite: recovered 98 frames from WAL file /var/urbackup/backup_server_settings.db-wal code: 283,
2020-12-21 10:04:58: SQLite: recovered 2287 frames from WAL file /var/urbackup/backup_server.db-wal code: 283,
2020-12-21 10:04:58: SQLite: recovered 98 frames from WAL file /var/urbackup/backup_server_settings.db-wal code: 283,
2020-12-21 10:04:58: WARNING: SQLite: statement aborts at 1: [BEGIN IMMEDIATE;] attempt to write a readonly database errorcode: 8,
2020-12-21 10:04:58: ERROR: Error in CQuery::Execute - attempt to write a readonly database  Stmt: [BEGIN IMMEDIATE;],
2020-12-21 10:04:58: ERROR: SQL: attempt to write a readonly database Stmt: [BEGIN IMMEDIATE;],
2020-12-21 10:04:58: WARNING: SQLite: statement aborts at 1: [END;] cannot commit - no transaction is active errorcode: 1,
2020-12-21 10:04:58: ERROR: Error in CQuery::Execute - cannot commit - no transaction is active  Stmt: [END;],
2020-12-21 10:04:58: ERROR: SQL: cannot commit - no transaction is active Stmt: [END;],
2020-12-21 10:04:59: SQLite: recovered 199126 frames from WAL file /var/urbackup/backup_server_files.db-wal code: 283,
2020-12-21 10:04:59: SQLite: recovered 1381 frames from WAL file /var/urbackup/backup_server_links.db-wal code: 283,
2020-12-21 10:04:59: SQLite: recovered 207 frames from WAL file /var/urbackup/backup_server_link_journal.db-wal code: 283,
2020-12-21 10:04:59: ERROR: LMDB: Failed to open LMDB database file (Permission denied),
2020-12-21 10:04:59: ERROR: LMDB error creating env,
2020-12-21 10:04:59: ERROR: Could not create or open file entry index. Exiting.,
usermod: no changes,

Any ideas on this? It happens every week or so :frowning_face: