Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker-ce update/install hangs on AMD64 #816

Open
ZsZolee opened this issue Oct 16, 2023 · 5 comments
Open

Docker-ce update/install hangs on AMD64 #816

ZsZolee opened this issue Oct 16, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@ZsZolee
Copy link

ZsZolee commented Oct 16, 2023

Describe the bug
Want to upgrade from RPI4 to a powerfull Intel laptop. I downloaded the AMD64 image to a new SSD. It boots up, works perfectly.

I wanted to upgrade the myNode to the latest 0.3.21 version, but the manual upgrade hang at some point.

After some research I found out that the Docker-ce update hangs the myNode update procedure. This docker problem is a common error on many older kernels (but nothing found on the current one). I tried to upgrade to a newer kernel, but there is no newer kernel than 5.10.0-0.deb10.16-amd64.

I deleted and removed everything which was docker related and reinstalled (many times), but the installation always hangs at the following line:

"Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket."

What should I do to somehow resolve this docker problem?

@ZsZolee ZsZolee added the bug Something isn't working label Oct 16, 2023
@tehelsper
Copy link
Collaborator

Were you doing a full install using setup_device.sh or just an upgrade? For the full install, I've seen it work after just rebooting and completing the rest of the setup. Have not seen in the upgrade script.

@ZsZolee
Copy link
Author

ZsZolee commented Oct 17, 2023

Ok, I'm writing to you the steps I made, so you understand where the problem was/is.

I downloaded the v0.3.18 (amd64) image and with Balena Etcher I wrote it to a new 120 GB SSD.

The whole thing worked perfectly, at the myNode was looking for the Blockchain drive (I haven't attached it because I want first to upgrade it to 3.21 to be on the same version as my RPI4).

I started the manual upgrade (https://mynodebtc.github.io/device/upgrading-device.html) just as I always made on my Rpi4.

The apt-get upgrade... part was hanging at the docker-ce update and after waiting for an hour I stopped the process with CTRL+C.

Next I searched for possible problems and I tried to resume the process, but the result was the same. After some time I could upgrade to the 3.21 version, but the update of the docker-ce always hang at the same point.

Based on this tutorial (https://askubuntu.com/a/1020587), I removed everything that is Docker related.

I tried to reinstall Docker based on the official document (https://docs.docker.com/engine/install/debian/), but at the following line always hang:

"Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket."

I think somehow with this old kernel is not compatible anymore, or I don't know why this happens or how can I resolve it.

@ZsZolee
Copy link
Author

ZsZolee commented Oct 18, 2023

I thought it was some fault at the first image installation, so I took a new SSD and downloaded the v0.3.18 (amd64) image again and with Balena Etcher I wrote it the SSD.

Right after the first boot on the 3.18, running in terminal the "sudo docker run hello-world" hangs, so no docker related commands (like docker ps) are running just instantly jumps to the next line and hangs...

After a restart, if I run sudo apt-get update and sudo apt-get upgrade the whole process stops at:

"Setting up containerd.io..."

@tehelsper
Copy link
Collaborator

Do you have an external drive attached? Docker can't run without the data drive mounted. I just tried running an "apt-get upgrade" on a fresh v0.3.18 and can't seem to reproduce it.

@ZsZolee
Copy link
Author

ZsZolee commented Oct 23, 2023

I haven't attached the external drive (good to know that it is needed for Docker) and I can only upgrade to 3.21 if I completely uninstall docker. Can I attached the drive from an already upgraded (3.21) Rpi4 to the 3.18 system? Won't be a compatibility problem and with it will close all my LN channels?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants