whiskerz007 / proxmox_hassio_lxc

MIT License
209 stars 84 forks source link

Script fails at Docker configuration step. #39

Open Pragma808 opened 3 years ago

Pragma808 commented 3 years ago

Hi there,

I've been trying to install using the script, but it is failing when it gets to the Docker configuration step.

root@overkill:~# bash -c "$(wget -qLO - https://github.com/whiskerz007/proxmox_hassio_lxc/raw/master/create_container.sh)"
[INFO] Using 'ziso' for template storage.
[INFO] Using 'zimage' for container storage.
Updating LXC template list...
Creating LXC container...
[INFO] LXC container '100' was successfully created.
[WARNING] Some addons may not work due to ZFS not supporting 'fallocate'.
Starting LXC container...
Setting up container OS...
Updating container OS...
Installing prerequisites...
Installing Docker...
Configuring Docker...
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
[ERROR] 1@130 Unknown failure occured.

Any thoughts on what I can try?

Thank you! -Pragma

rreuvekamp commented 3 years ago

Could you run "systemctl status docker.service" inside the created lxc container?

tortellini77 commented 3 years ago

same error I have that docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2021-06-02 10:48:28 UTC; 41min ago Docs: https://docs.docker.com Main PID: 6727 (dockerd) Tasks: 33 Memory: 99.8M CGroup: /system.slice/docker.service |-6727 /usr/sbin/dockerd -H fd:// `-6735 docker-containerd --config /var/run/docker/containerd/containerd.toml --log-level info

Jun 02 10:48:27 Docker-test dockerd[6727]: time="2021-06-02T10:48:27.061412562Z" level=warning msg="Your kernel does not support cgroup rt runtime" Jun 02 10:48:27 Docker-test dockerd[6727]: time="2021-06-02T10:48:27.061421129Z" level=warning msg="Your kernel does not support cgroup blkio weight" Jun 02 10:48:27 Docker-test dockerd[6727]: time="2021-06-02T10:48:27.061442785Z" level=warning msg="Your kernel does not support cgroup blkio weight_device" Jun 02 10:48:27 Docker-test dockerd[6727]: time="2021-06-02T10:48:27.062946181Z" level=info msg="Loading containers: start." Jun 02 10:48:27 Docker-test dockerd[6727]: time="2021-06-02T10:48:27.568555686Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Dae Jun 02 10:48:28 Docker-test dockerd[6727]: time="2021-06-02T10:48:28.106800151Z" level=info msg="Loading containers: done." Jun 02 10:48:28 Docker-test dockerd[6727]: time="2021-06-02T10:48:28.140715234Z" level=info msg="Docker daemon" commit=4c52b90 graphdriver(s)=vfs version=18.09.1 Jun 02 10:48:28 Docker-test dockerd[6727]: time="2021-06-02T10:48:28.141046626Z" level=info msg="Daemon has completed initialization" Jun 02 10:48:28 Docker-test dockerd[6727]: time="2021-06-02T10:48:28.205979685Z" level=info msg="API listen on /var/run/docker.sock" Jun 02 10:48:28 Docker-test systemd[1]: Started Docker Application Container Engine.

rreuvekamp commented 3 years ago

Thanks! It says "Active: active (running)", and I think the output from your first message should result in "Active: failed" or something. According to the the 'systemctl status docker' output, docker is running successfully now (for some reason). Does it not work currently?

tortellini77 commented 3 years ago

no it's not working, I still have "Configuring Docker... Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. [ERROR] 1@130 Unknown failure occured."

Just to add, I'm very nexbie on proxmox. What I have done is: Install proxmox ont ZFS RAID 1 Install Docker via Turnkey Install Portainer Then I'd like to install Home assistant Lxc