The file configuration.json is sometimes corrupted, usually after an unclean shutdown. See rq_ui Issue 112.
At startup and then continuously monitor the state of configuration.json, looking for:
missing file
empty file
corrupt file
When any of those conditions exist, log them in updater.log. If they occur at startup, then attempt to correct the issue by restoring configuration.json from configuration.json.old. If they occur while the containers are running, just log them without attempting to restore, to avoid a conflict with the rq_ui container.
This will be VERSION 10.
The file configuration.json is sometimes corrupted, usually after an unclean shutdown. See rq_ui Issue 112.
At startup and then continuously monitor the state of configuration.json, looking for:
When any of those conditions exist, log them in updater.log. If they occur at startup, then attempt to correct the issue by restoring configuration.json from configuration.json.old. If they occur while the containers are running, just log them without attempting to restore, to avoid a conflict with the rq_ui container.