Open Ulmo opened 4 years ago
I deleted that channel, and restarted it. Let's see what happens!
Deleting that channel let lightningd complete inputting the rest of the blocks, and now it seems to be running.
It's nice that I was able to upgrade from an old database version today to restore the dragon:
2019-11-25T23:24:04.340Z INFO database: Updating database from version 42 to 115
I just had the above bug, and everything else seemed to work with today's most recent version. I haven't tested it, but it's running. That's one of the smoothest upgrades I've done of lightningd in a while.
I upgraded my lightningd to master, and found out my wallet and database was deleted. Well, I restored it from backup from almost two years ago, and it did great until it did this:
@rustyrussell could this be related to the recent switch to per-network subdirectories? @Ulmo is there a subdirectory in the lightning-dir
called bitcoin
? If yes that's where the config, database and hsm_secret files should have been moved.
I accidentally restarted my server without meaning to, so I don't have a lot of time for this, otherwise, I'd try to really dive into it and match other problems and edit the sqlite database and stuff. For now, maybe you can let me know if this is something I should manually fix or if it is a bug.
Issue and Steps to Reproduce
I upgraded my lightningd to master, and found out my wallet and database was deleted. Well, I restored it from backup from almost two years ago, and it did great until it did this:
getinfo
outputI can't make it stay running, but here's some log header: