Open manelio opened 2 years ago
This happens when the node was started without the backup plugin, i.e., it's missing a couple of changes that were applied to the original DB. If the main DB is working you can just re-initialize the backup file (delete then backup-cli init
) and it'll work again. We can't do this automatically since it could have been caused by a faulty restore and we don't want to delete databases willy nilly.
@manelio did that resolve your issue?
I have the same issue. What I did is to backup the out of date/corrupted(?) DB(.sqlite3 and .sqlite3-journal) on the lightning dir and external backup file, just to make sure it is safe. And then do what @cdecker told, to remove the external backup file and re-init the backup plugin. I guess it fixed the problem.
i have the same issue after raspiblitz crashed, maybe due to overheating? was running a lot of channels and two nodes...
could somebody walk me through the steps of recovering? i'm not sure what data to backup and how, and what needs to be removed.
This happens when the node was started without the backup plugin, i.e., it's missing a couple of changes that were applied to the original DB. If the main DB is working you can just re-initialize the backup file (delete then
backup-cli init
) and it'll work again. We can't do this automatically since it could have been caused by a faulty restore and we don't want to delete databases willy nilly.
how do i know if the main DB is working?
/home/bitcoin/.lightning/bitcoin/cl.log outputs:
2022-03-26T20:37:32.997Z INFO plugin-backup.py: root : Comparing backup version 1329293 versus first write version 1329295
2022-03-26T20:37:32.998Z INFO plugin-backup.py: Comparing backup version 1329293 versus first write version 1329295
2022-03-26T20:37:32.998Z INFO plugin-backup.py: Backup is out of date, we cannot continue safely. Emergency shutdown.
2022-03-26T20:37:34.001Z INFO plugin-backup.py: Killing process lightningd (236288)
fixed my node by running
config.scripts/cl-plugin.backup.sh on
following this: https://github.com/rootzoll/raspiblitz/issues/3015
I'm using lightningd via raspiblitz.
After restarting after a power failure lightningd is not running anymore.
When I try to start the service manually I receive an error message
Backup is out of date, we cannot continue safely. Emergency shutdown.
:Is there any way to fix this problem?