Page 1 of 1

Error after unexpected power loss

Posted: Fri Nov 24, 2023 10:38 pm
by sanded8484

Hi All,
I didn't see a relevant board so here I am. My server lost power unexpectedly a number of times. I wish I could say this was a natural phenomenon, but I simply forgot to shut down the server while maintaining another device in the rack. The server boot up just fine, and I can SSH in to see that the docker service is running, but I get the following errors when trying to run "yams start"

https://pastebin.com/fsKAaQdB

I've restarted docker, and even rebooted, but the issue persists.

Any ideas are appreciated.
Thanks!


Re: Error after unexpected power loss

Posted: Sat Nov 25, 2023 2:38 am
by rogs

Hey @sanded8484!

Sadly, it looks like your Docker installation broke. Can you run anything from outside YAMS? Try running:

Code: Select all

docker run hello-world 

If it doesn't run, you might need to reinstall docker.


Re: Error after unexpected power loss

Posted: Sun Nov 26, 2023 6:28 pm
by sanded8484

I've now reinstalled docker and docker-compose a couple times, but I've run into this issue every time I try running 'docker run hello-world':

user@debian:~$ docker run hello-world
docker: Error response from daemon: transport is closing: unavailable.
ERRO[0000] error waiting for container: context canceled
user@debian:~$


Re: Error after unexpected power loss

Posted: Sun Nov 26, 2023 6:33 pm
by rogs

You might need to look deeper into docker. Is it running? Check the systemd process to see if it's running correctly. Sadly, I don't have any other suggestions :?


Re: Error after unexpected power loss

Posted: Thu Nov 30, 2023 11:28 pm
by sanded8484

I was only able to fix it with a completely fresh debian install. I installed a new physical network interface card around the same time, so it definitely might have been a firmware error or something.


Re: Error after unexpected power loss

Posted: Fri Dec 01, 2023 12:48 am
by rogs

Yeah, that sounds like the right move. Good to know everything is working now!