CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

[Bug] install on fresh MX Linux

Open foxsam21 opened this issue 1 year ago • 1 comments

Describe the bug

When running the install script on MX Linux (fresh install) the script stops because it cannot connect to docker daemon.

To Reproduce

Steps to reproduce the behavior:

  1. Start with fresh install of MX Linux
  2. run install script

Expected behavior

Complete install without errors

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS:
$ uname -a
Linux mx 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm
  • Browser N/A
  • Version N/A

System Time

Run timedatectl and share the output

$ timedatectl
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

Logs

Run following command to collect corresponding logs:

sudo journalctl -xef -u casaos-gateway
sudo journalctl -xef -u casaos-user-service
sudo journalctl -xef -u casaos-local-storage
sudo journalctl -xef -u casaos-app-management
sudo journalctl -xef -u casaos.service
   _____                 ____   _____ 
  / ____|               / __ \ / ____|
 | |     __ _ ___  __ _| |  | | (___  
 | |    / _` / __|/ _` | |  | |\___ \ 
 | |___| (_| \__ \ (_| | |__| |____) |
  \_____\__,_|___/\__,_|\____/|_____/ 
                                      
   --- Made by IceWhale with YOU ---

[  OK  ] Your hardware architecture is : x86_64
[  OK  ] Your System is : Linux
[  OK  ] Your Linux Distribution is : debian 
[  OK  ] Memory capacity check passed.
[  OK  ] Disk capacity check passed.
[ INFO ] Updating package manager...
[  OK  ] Update package manager complete.
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
$ docker version
Client: Docker Engine - Community
 Version:           26.1.4
 API version:       1.45
 Go version:        go1.21.11
 Git commit:        5650f9b
 Built:             Wed Jun  5 11:29:22 2024
 OS/Arch:           linux/amd64
 Context:           default
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

foxsam21 avatar Jun 11 '24 13:06 foxsam21

Booting MX Linunx with systemd enabled (https://mxlinux.org/wiki/system/systemd/) does fix this. Maybe there should be a check for this setup and suggest this solution. If there is no other solution.

foxsam21 avatar Jun 11 '24 13:06 foxsam21