Jump to content

unable to get docker to start after update to 6.0


xkagex

Recommended Posts

Followed Unraid Dockerguide but am unable to get past creating your docker virtual disk.

waited for 4 hours and still haven't seen the docker service.

 

set docker to /mnt/cache/appdata/docker.img

 

restarted server ... but to no avail ... everthing else works  under unraid ... just am hoping its a small step that I am overlooking

 

any suggestions?

 

Jun 16 23:16:37 Tower1 php: /usr/local/emhttp/plugins/dynamix.docker.manager/event/started;/usr/local/emhttp/plugins/dynamix.docker.manager/dockerupdate.php

Jun 16 23:16:37 Tower1 php: Starting Docker...

Jun 16 23:16:37 Tower1 logger: Not starting Docker: new image file path doesn't exist

Jun 16 23:16:38 Tower1 php: Updating templates... Updating info...

Jun 16 23:16:38 Tower1 php: Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (No such file or directory) in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 505

Jun 16 23:16:38 Tower1 php: Couldn't create socket: [2] No such file or directory Done.

Link to comment

this is what I get in the logs

 

Jun 17 00:33:54 Tower1 php: /usr/local/emhttp/plugins/dynamix.docker.manager/event/started;/usr/local/emhttp/plugins/dynamix.docker.manager/dockerupdate.php

Jun 17 00:33:54 Tower1 php: Starting Docker...

Jun 17 00:33:54 Tower1 logger: Not starting Docker: new image file path doesn't exist

Jun 17 00:33:55 Tower1 php: Updating templates... Updating info...

Jun 17 00:33:55 Tower1 php: Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (No such file or directory) in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 505

Jun 17 00:33:55 Tower1 php: Couldn't create socket: [2] No such file or directory Done.

Jun 17 00:35:44 Tower1 emhttp: /usr/bin/tail -n 42 -f /var/log/syslog 2>&1

Link to comment

I had the same problem. For me the reason was the OpenVPN plugin I have running. If you have that too, set it to not start at array start. Restart your server and docker will be there. Now reenable the autostarting of OpenVPN. Afterwards on my system everything worked as expected, Docker and OpenVPN, even after rebooting.

Link to comment

still the same, its has not changed

we are still at the start ... must be something small that is missed

i have appdata at the root of mnt/

 

 

Thanks for your help

 

/mnt/appdata ??? that's not right.

 

in /mnt you should have something like this (number of disks will be different)

 

root@Unraid-Nas:/mnt# ls
cache/  disk10/  disk12/  disk14/  disk16/  disk18/  disk2/  disk4/  disk6/  disk8/  user/
disk1/  disk11/  disk13/  disk15/  disk17/  disk19/  disk3/  disk5/  disk7/  disk9/  user0/

 

Link to comment
  • 2 weeks later...

I'm getting the same error after updating to 6.0.1.

 

Jul 1 18:48:16 spacecataz php: /usr/local/emhttp/plugins/dynamix.docker.manager/event/started;/usr/local/emhttp/plugins/dynamix.docker.manager/dockerupdate.php

Jul 1 18:48:16 spacecataz php: Starting Docker...

Jul 1 18:48:16 spacecataz logger: starting docker ...

Jul 1 18:48:30 spacecataz php: Updating templates... Updating info...

Jul 1 18:48:30 spacecataz php: Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (No such file or directory) in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 505

Jul 1 18:48:30 spacecataz php: Couldn't create socket: [2] No such file or directory

Jul 1 18:48:30 spacecataz php: Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 364

Jul 1 18:48:30 spacecataz php:

Jul 1 18:48:30 spacecataz php: Warning: file_put_contents(): Only 0 of 4 bytes written, possibly out of free disk space in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 365

Jul 1 18:48:30 spacecataz php: Done.

Jul 1 18:48:52 spacecataz emhttp: /usr/bin/tail -n 42 -f /var/log/syslog 2>&1

 

Edit: Looks like my thumb drive ran out of space. I guess 1GB will not cut it anymore. 16GB thumb drive worked great!

Link to comment
  • 3 weeks later...

Same issue with 6.0.1

Jul 20 23:32:21 Dalekanium php: /usr/local/emhttp/plugins/dynamix.docker.manager/event/started;/usr/local/emhttp/plugins/dynamix.docker.manager/dockerupdate.php
Jul 20 23:32:21 Dalekanium php: Starting Docker...
Jul 20 23:32:21 Dalekanium kernel: BTRFS info (device loop0): disk space caching is enabled
Jul 20 23:32:21 Dalekanium kernel: BTRFS: has skinny extents
Jul 20 23:32:21 Dalekanium logger: Resize '/var/lib/docker' of 'max'
Jul 20 23:32:21 Dalekanium logger: starting docker ...
Jul 20 23:32:21 Dalekanium kernel: BTRFS: new size for /dev/loop0 is 10737418240
Jul 20 23:32:39 Dalekanium php: Updating templates... Updating info... 
Jul 20 23:32:39 Dalekanium php: Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (No such file or directory) in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 505
Jul 20 23:32:39 Dalekanium php: Couldn't create socket: [2] No such file or directory Done.

 

Edit: After reading https://lime-technology.com/forum/index.php?topic=36430.0 I removed my docker.img and let it create a new one, seems like it might be working now (but need to reinstall images)

Link to comment
  • 5 months later...

I had the same problem. For me the reason was the OpenVPN plugin I have running. If you have that too, set it to not start at array start. Restart your server and docker will be there. Now reenable the autostarting of OpenVPN. Afterwards on my system everything worked as expected, Docker and OpenVPN, even after rebooting.

 

This solved my problem too!

Link to comment
  • 8 months later...

I had the same problem. For me the reason was the OpenVPN plugin I have running. If you have that too, set it to not start at array start. Restart your server and docker will be there. Now reenable the autostarting of OpenVPN. Afterwards on my system everything worked as expected, Docker and OpenVPN, even after rebooting.

 

Just wanted to bump this to the top and thank SlrG. I was tearing my hair out attempting to resolve my docker issue. This fix worked. I have now set my individual docker apps and Open VPN to not auto-start.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...