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 and (or) Portainer Installation failed #6065

Closed
omavoss opened this issue Jan 15, 2023 · 6 comments · Fixed by #6066
Closed

Docker and (or) Portainer Installation failed #6065

omavoss opened this issue Jan 15, 2023 · 6 comments · Fixed by #6066

Comments

@omavoss
Copy link

omavoss commented Jan 15, 2023

Details:

  • Date | Sun Jan 15 22:36:40 CET 2023
  • Bug report | 3b3e8746-5a2b-4e97-b0f4-b13bd8640c2b
  • DietPi version | v8.13.2 (MichaIng/beta)
  • Image creator | DietPi Core Team
  • Pre-image | Raspberry Pi OS Lite 64-bit
  • Hardware | RPi 4 Model B (aarch64) (ID=4)
  • Kernel version | Linux RasPi4 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux
  • Distro | bullseye (ID=6,RASPBIAN=0)
  • Command | docker volume create portainer_data
  • Exit code | 1
  • Software title | DietPi-Software

Steps to reproduce:

  1. ...
  2. ...

Expected behaviour:

  • ...

Actual behaviour:

  • ...

Extra details:

  • ...

Additional logs:

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Please help, thank you.

@Joulinar
Copy link
Collaborator

Docker is running fine?

journalctl -u docker.service
systemctl status docker.service

@MichaIng
Copy link
Owner

Might be related to #6014.
The service was stopped before as well, but the socket unit was active. Probably, if the service is masked before install, the socket unit isn't enabled either 🤔.

@Joulinar
Copy link
Collaborator

yes, you're right. The socket unit is not running.

root@DietPi4:~# systemctl status docker.socket
● docker.socket - Docker Socket for the API
     Loaded: loaded (/lib/systemd/system/docker.socket; enabled; vendor preset: enabled)
     Active: inactive (dead)
   Triggers: ● docker.service
     Listen: /run/docker.sock (Stream)
root@DietPi4:~#

MichaIng added a commit that referenced this issue Jan 15, 2023
- DietPi-Software | Docker: Resolved a v8.13 regression where Docker dependants (Portainer, Roon Extension Manager) failed to install as the Docker socket was not activated. Many thanks to @omavoss for reporting this issue: #6065
@Joulinar
Copy link
Collaborator

workaround would be following. Needs to be started on a sub shell.

systemctl start docker.socket

@MichaIng
Copy link
Owner

Verified and fixed with: e9cf357

We can ship a live patch as well.

@MichaIng MichaIng added this to the v8.14 milestone Jan 15, 2023
MichaIng added a commit that referenced this issue Jan 15, 2023
- Live patch 0 | Fix Portainer and Roon Extension Manager installs: #6065

Signed-off-by: MichaIng <[email protected]>
MichaIng added a commit that referenced this issue Jan 15, 2023
- Live patch 0 | Fix Portainer and Roon Extension Manager installs: #6065

Signed-off-by: MichaIng <[email protected]>
@MichaIng
Copy link
Owner

Live patch merged: #6066

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants