xkagex Posted June 17, 2015 Share Posted June 17, 2015 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
sparklyballs Posted June 17, 2015 Share Posted June 17, 2015 did you manually enter /mnt/cache/appdata ? if so, does the share appdata exist ? Link to comment
xkagex Posted June 17, 2015 Author Share Posted June 17, 2015 yes, appdata is a share that exists Link to comment
sparklyballs Posted June 17, 2015 Share Posted June 17, 2015 2 questions then, 1st leads into the 2nd. do you have a cache drive if so , do you have a share called appdata that is cache only Link to comment
xkagex Posted June 17, 2015 Author Share Posted June 17, 2015 yes have cache drive ... and yes appdata is cache only Link to comment
sparklyballs Posted June 17, 2015 Share Posted June 17, 2015 set the docker img to /mnt/cache/appdata omit the docker.img , perhaps it's looking for /mnt/cache/appdata/docker.img to be a path to place docker.img into. it was a while since i set my .img i can't remember. Link to comment
xkagex Posted June 17, 2015 Author Share Posted June 17, 2015 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
sparklyballs Posted June 17, 2015 Share Posted June 17, 2015 ok, instead of entering it manually, try using the picker (sort of a dropdown that lets you find the path) in the field for .img path. Link to comment
SlrG Posted June 17, 2015 Share Posted June 17, 2015 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
xkagex Posted June 17, 2015 Author Share Posted June 17, 2015 no open vpn ... I have nothing just upgraded from 5.0.6. no plugins ... trying to go to docker from plugins .. but stuck Link to comment
sparklyballs Posted June 17, 2015 Share Posted June 17, 2015 ok, did you try just setting it to /mnt/cache ? Link to comment
xkagex Posted June 17, 2015 Author Share Posted June 17, 2015 just set it to mnt/cache Link to comment
xkagex Posted June 17, 2015 Author Share Posted June 17, 2015 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 Link to comment
sparklyballs Posted June 17, 2015 Share Posted June 17, 2015 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
maulu5 Posted July 2, 2015 Share Posted July 2, 2015 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
devalias Posted July 20, 2015 Share Posted July 20, 2015 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
grantbey Posted January 9, 2016 Share Posted January 9, 2016 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
vaneson Posted September 21, 2016 Share Posted September 21, 2016 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.