Error after unexpected power loss

Having any issues installing YAMS? This is the place to ask!
Post Reply
sanded8484
Posts: 3
Joined: Fri Nov 24, 2023 10:21 pm
Gender:
Canada

Error after unexpected power loss

Post 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!

User avatar
rogs
Site Admin
Posts: 158
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Error after unexpected power loss

Post 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.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
sanded8484
Posts: 3
Joined: Fri Nov 24, 2023 10:21 pm
Gender:
Canada

Re: Error after unexpected power loss

Post 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:~$

User avatar
rogs
Site Admin
Posts: 158
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Error after unexpected power loss

Post 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 :?

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
sanded8484
Posts: 3
Joined: Fri Nov 24, 2023 10:21 pm
Gender:
Canada

Re: Error after unexpected power loss

Post 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.

User avatar
rogs
Site Admin
Posts: 158
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Error after unexpected power loss

Post by rogs »

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

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
Post Reply