Noticed today that Bitcoin Core 26.0.0. is not syncing and giving me the following error:
" Error: can only create exec sessions on running containers: container state improper"
Anyone experiencing anything similar and/or has any tips on how to troubleshoot?
You can check Bitcoin logs and look for Peers.dat corrupted. If you find this you can preform Bitcoin → Actions → Delete Peers List and see if it helps.
If deleting the peers.dat file doesn’t remedy this, then the container has probably otherwise gotten itself into a muddle. In which case a System Rebuild would be in order. You can do this by going to System, then right at the bottom System Rebuild in the StartOS main UI.
A look at the logs for Bitcoin should reveal some more clues.
(You should also taking into consideration any potential setup that could cause this, like running an external SSD on a RPi without separate power.)
Which one? Two errors are mentioned in this thread… the first one in the screenshot which needs a system rebuild, and a second one about peers.dat which needs an action triggers on Bitcoin Core.
Docker bugs don’t have anything to do with peers.dat, or anything to do with Bitcoin itself. Just Docker.
It’s really bad luck for this to happen every single time you backup though. Every now and then, maybe, but every single time is a bit much.
If you’re having that much bad luck, it might be worth hitting Stop on the service before backup. I do this with LND sometimes, as I find I get unlucky with that service.