Docker plugin - After the last update it does not start

    • OMV 4.x
    • Resolved
    • Walster wrote:

      pastebin.com/4Zw0kdJE
      At the time below, you removed the plugin (guessing from the web interface) and this removed the plugin settings and docker which removed your dockers. There is nothing we can do to prevent losing your containers when this happens.
      Log started: 2018-11-11 19:14:23
      Removing openmediavault-docker-gui (4.1) ...
      Removing docker-ce (5:18.09.0~3-0~debian-stretch) ...
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      Walster wrote:

      pastebin.com/4Zw0kdJE
      At the time below, you removed the plugin (guessing from the web interface) and this removed the plugin settings and docker which removed your dockers. There is nothing we can do to prevent losing your containers when this happens.Log started: 2018-11-11 19:14:23
      Removing openmediavault-docker-gui (4.1) ...
      Removing docker-ce (5:18.09.0~3-0~debian-stretch) ...
      OK, no worries, thanks again.
    • danieliod wrote:

      Is there a way to resolve it and load the service automatically again?
      Did you try disableing and then re-enabling the plugin? Otherwise, systemctl enable docker.service should do it. If that doesn't do, what is the output of: journalctl -u docker.service
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      danieliod wrote:

      Is there a way to resolve it and load the service automatically again?
      Did you try disableing and then re-enabling the plugin? Otherwise, systemctl enable docker.service should do it. If that doesn't do, what is the output of: journalctl -u docker.service
      I tried Disable and Enable but it didn't solve it. I did systemctl enable docker.service it worked but still after Restart it didn't load. The output is:

      Source Code

      1. Last login: Mon Nov 12 22:07:30 2018 from 192.168.14.246
      2. root@openmediavault:~# systemctl start docker.service
      3. root@openmediavault:~# journalctl -u docker.service
      4. -- Logs begin at Mon 2018-11-12 23:17:22 IST, end at Mon 2018-11-12 23:51:27 IST
      5. . --
      6. Nov 12 23:51:21 openmediavault systemd[1]: Starting Docker Application Container
      7. Engine...
      8. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.4015978
      9. 44+02:00" level=info msg="parsed scheme: \"unix\"" module=grpc
      10. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.4016706
      11. 56+02:00" level=info msg="scheme \"unix\" not registered, fallback to default sc
      12. heme" module=grpc
      13. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.4022260
      14. 43+02:00" level=info msg="parsed scheme: \"unix\"" module=grpc
      15. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.4022393
      16. 11+02:00" level=info msg="scheme \"unix\" not registered, fallback to default sc
      17. heme" module=grpc
      18. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.4038249
      19. 01+02:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix
      20. :///run/containerd/containerd.sock 0 <nil>}]" module=grpc
      21. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.4039230
      22. 36+02:00" level=info msg="ClientConn switching balancer to \"pick_first\"" modul
      23. e=grpc
      24. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.4038248
      25. 93+02:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix
      26. :///run/containerd/containerd.sock 0 <nil>}]" module=grpc
      27. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.403999650+02:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
      28. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.404029851+02:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420174c00, CONNECTING" module=grpc
      29. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.404090215+02:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420180990, CONNECTING" module=grpc
      30. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.404804365+02:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420174c00, READY" module=grpc
      31. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.404983022+02:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420180990, READY" module=grpc
      32. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.508311894+02:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
      33. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.818097775+02:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
      34. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.818557060+02:00" level=warning msg="Your kernel does not support swap memory limit"
      35. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.818646956+02:00" level=warning msg="Your kernel does not support cgroup rt period"
      36. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.818669874+02:00" level=warning msg="Your kernel does not support cgroup rt runtime"
      37. Nov 12 23:51:22 openmediavault dockerd[13083]: time="2018-11-12T23:51:22.820114744+02:00" level=info msg="Loading containers: start."
      38. Nov 12 23:51:23 openmediavault dockerd[13083]: time="2018-11-12T23:51:23.381051625+02:00" level=info msg="Removing stale sandbox 506c8b6cee81e11ca04e02857602b1951b3abb8fdb40cd2489879cb043097e00 (1d4f4bb285028028097dabddd1f5f9283c48881f00a4b59fcdaf2bd2d7
      39. 43b0ad)"
      40. Nov 12 23:51:23 openmediavault dockerd[13083]: time="2018-11-12T23:51:23.387041525+02:00" level=warning msg="Error (Unable to complete atomic operation, key modified) deleting object [endpoint ec769397acb69f60762ae6fd3cb8975171610ea6618f843a4894af7c30b4
      41. b9e0 8a708d45fc30bbaac07353c75fc64cc8c5404580f96fb50e5aab49750a0b8416], retrying...."
      42. Nov 12 23:51:23 openmediavault dockerd[13083]: time="2018-11-12T23:51:23.496388053+02:00" level=info msg="Removing stale sandbox 6f85c3665783fab8782c03ecda860882e4888700ace5726276267dd2b410ebcc (2c7da93da017740ae8ce83fe50d5b79e888461575752179ec92bbd7a00
      43. a50310)"
      44. Nov 12 23:51:23 openmediavault dockerd[13083]: time="2018-11-12T23:51:23.498911300+02:00" level=warning msg="Error (Unable to complete atomic operation, key modified) deleting object [endpoint ec769397acb69f60762ae6fd3cb8975171610ea6618f843a4894af7c30b4
      45. b9e0 92f10d91eafbfb8b2185aea06df0449fbaa65db35d21e2f1050eec50955c2f0f], retrying...."
      Display All
    • Continue of output:

      Source Code

      1. Nov 12 23:51:23 openmediavault dockerd[13083]: time="2018-11-12T23:51:23.629309483+02:00" level=info msg="Removing stale sandbox 7694994ff635cbf66087a307d693e0e3c271dbe194ac6c269349234970b22510 (e3390017ec80beb9d40fbeac4e704faa29855b09b31f4fa776f762b8a2
      2. 3cb07c)"
      3. Nov 12 23:51:23 openmediavault dockerd[13083]: time="2018-11-12T23:51:23.631563761+02:00" level=warning msg="Error (Unable to complete atomic operation, key modified) deleting object [endpoint ec769397acb69f60762ae6fd3cb8975171610ea6618f843a4894af7c30b4
      4. b9e0 e692ae0ec69ef042b46e899fa06ce3af7df1fd4a371316474f6080db75927f4e], retrying...."
      5. Nov 12 23:51:23 openmediavault dockerd[13083]: time="2018-11-12T23:51:23.737813201+02:00" level=info msg="Removing stale sandbox 7c47462b947d7862006c5183fc103330587ca1a8e0a134838ff76c661ffe3459 (590df5e6d3159e1f13c17d740ee31419c9985dbb981735ada56e74fcbc
      6. 5476b4)"
      7. Nov 12 23:51:23 openmediavault dockerd[13083]: time="2018-11-12T23:51:23.760319517+02:00" level=warning msg="Error (Unable to complete atomic operation, key modified) deleting object [endpoint cb2a251304d0b6815f7f8a667a1288aa26020056a4b92dcb74e17dd2e8ae
      8. 0d2c 41fcbd7d8922bd73268a0709534c37e0ee1ac63a759f68aa2063dd139a951370], retrying...."
      9. Nov 12 23:51:23 openmediavault dockerd[13083]: time="2018-11-12T23:51:23.870793429+02:00" level=info msg="Removing stale sandbox a089dc5ac7c845599ec421070f328fe0c61881fb893546e77b40e03c29960eaf (efbf9cd5305e5012037ac7394f05d7321231882f39bdeb9342cfac69fa
      10. d6f9da)"
      11. Nov 12 23:51:23 openmediavault dockerd[13083]: time="2018-11-12T23:51:23.873333014+02:00" level=warning msg="Error (Unable to complete atomic operation, key modified) deleting object [endpoint ec769397acb69f60762ae6fd3cb8975171610ea6618f843a4894af7c30b4
      12. b9e0 8a8f36a8f9b25fa6604e55ad09da2e395a8d529657543f9a274e16b5dde023fa], retrying...."
      13. Nov 12 23:51:23 openmediavault dockerd[13083]: time="2018-11-12T23:51:23.997072850+02:00" level=info msg="Removing stale sandbox b5ed14b131f2a19589e48efb809df6fba2639de798fd990aea2c1673c03fcbeb (a149d8a216701991ec14d41c9ee9594319f673a6486a85c8f8f541676c
      14. b1eaa2)"
      15. Nov 12 23:51:23 openmediavault dockerd[13083]: time="2018-11-12T23:51:23.999471474+02:00" level=warning msg="Error (Unable to complete atomic operation, key modified) deleting object [endpoint ec769397acb69f60762ae6fd3cb8975171610ea6618f843a4894af7c30b4
      16. b9e0 b1e8e026ada8d8483c57f79fb222c2823e0b0aae968ad43f10dde025ca331bb4], retrying...."
      17. Nov 12 23:51:24 openmediavault dockerd[13083]: time="2018-11-12T23:51:24.101596091+02:00" level=info msg="Removing stale sandbox 02471435874d29a1d737a80b9c5b4b44d4e9c21859d02962f45d32b05096273f (cbc3e52aaec48847b81493a6c807f6cd624bb63e8fce9b50440362d47c
      18. 6a1375)"
      19. Nov 12 23:51:24 openmediavault dockerd[13083]: time="2018-11-12T23:51:24.103764042+02:00" level=warning msg="Error (Unable to complete atomic operation, key modified) deleting object [endpoint ec769397acb69f60762ae6fd3cb8975171610ea6618f843a4894af7c30b4
      20. b9e0 224ebc9fa4aadcf7759bf78b0ae1331ef6c07d6e04197d219db110dbdc0a06a6], retrying...."
      21. Nov 12 23:51:24 openmediavault dockerd[13083]: time="2018-11-12T23:51:24.213619456+02:00" level=info msg="Removing stale sandbox 20002e45b0441898c79a1f54710658812e1e6b0fa9bcc81dc028aa139caf2046 (fd9bb53b06e96511cf39419446756c43decb3930c11687a55b3ddb1764
      22. cc996c)"
      23. Nov 12 23:51:24 openmediavault dockerd[13083]: time="2018-11-12T23:51:24.216099143+02:00" level=warning msg="Error (Unable to complete atomic operation, key modified) deleting object [endpoint ec769397acb69f60762ae6fd3cb8975171610ea6618f843a4894af7c30b4
      24. b9e0 7f03b79d4e1e6bb1fb7e84b0edaadda54197015a683569aeedfbbce3a3bcd9e6], retrying...."
      25. Nov 12 23:51:24 openmediavault dockerd[13083]: time="2018-11-12T23:51:24.323305442+02:00" level=info msg="Removing stale sandbox 37bde3a4658563be66aadfe15f7b5cf79d6c170459f56490003f61951805d167 (a0398d029730aa74333a9bf64c426249ebe00965ffaa4c4f3ce7f01a8d
      26. 8c6e0c)"
      27. Nov 12 23:51:24 openmediavault dockerd[13083]: time="2018-11-12T23:51:24.325828371+02:00" level=warning msg="Error (Unable to complete atomic operation, key modified) deleting object [endpoint ec769397acb69f60762ae6fd3cb8975171610ea6618f843a4894af7c30b4
      28. b9e0 33c83110ee9ae23d45633a0f5a60cf4e5d60288f7bfac7a606146a8b0ea43c73], retrying...."
      29. Nov 12 23:51:24 openmediavault dockerd[13083]: time="2018-11-12T23:51:24.385866565+02:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
      30. Nov 12 23:51:25 openmediavault dockerd[13083]: time="2018-11-12T23:51:25.592932894+02:00" level=info msg="Loading containers: done."
      31. Nov 12 23:51:27 openmediavault dockerd[13083]: time="2018-11-12T23:51:27.741849007+02:00" level=info msg="Docker daemon" commit=4d60db4 graphdriver(s)=overlay2 version=18.09.0
      32. Nov 12 23:51:27 openmediavault dockerd[13083]: time="2018-11-12T23:51:27.744482637+02:00" level=info msg="Daemon has completed initialization"
      33. Nov 12 23:51:27 openmediavault dockerd[13083]: time="2018-11-12T23:51:27.810615655+02:00" level=warning msg="Could not register builder git source: failed to find git binary: exec: \"git\": executable file not found in $PATH"
      34. Nov 12 23:51:27 openmediavault dockerd[13083]: time="2018-11-12T23:51:27.830958288+02:00" level=info msg="API listen on /var/run/docker.sock"
      35. Nov 12 23:51:27 openmediavault systemd[1]: Started Docker Application Container Engine.
      Display All
    • In that output, I don't see any reason the service wouldn't start unless that is the output after you manually start it.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • New

      ryecoaaron wrote:

      In that output, I don't see any reason the service wouldn't start unless that is the output after you manually start it.
      I have restarted the system and the docker didn't load, i ran: journalctl -u docker.service
      and this is the result:

      Source Code

      1. root@openmediavault:~# journalctl -u docker.service
      2. -- No entries --


      After I run manually: systemctl enable docker.service it is still not loading, it show:

      Source Code

      1. root@openmediavault:~# systemctl enable docker.service
      2. Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
      3. Executing: /lib/systemd/systemd-sysv-install enable docker

      and journalctl -u docker.service still gives:

      Source Code

      1. root@openmediavault:~# journalctl -u docker.service
      2. -- No entries --

      How can I make it load automatically?
    • New

      danieliod wrote:

      How can I make it load automatically?
      All of that "should" make it load automatically. Your journalctl output isn't much help. Maybe your storage isn't ready when docker is starting?
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • New

      dky1e wrote:

      Anyone else unable to do dns name lookups from a docker container anymore?

      I got my emby docker container working again but noticed that it's unable to check for updates, or download movie metadata from external sites.

      Yep, me...

      After the recent issues with the update I also found that since the reinstallation of docker and the OMV plugin 4.1 docker would come back up.

      All my docker container configs were still intact and so I simply spun back up the images in the same location on my media drive (configs are in home drive) and ran into a user permissions issue. Solved that by removing noexec from the fstab file and once the containers came back up they loaded the existing configs fine however the containers were unable to see out (could not resolve). Here now looking for answers.

      @ryecoaaron Any ideas on this issue?

      Many thanks.

      Edit: I'm guessing the bridge mode is borked but have no idea how to reset.

      Edit: Both Host AND Bridge have issues.

      The post was edited 1 time, last by Walster ().

    • New

      Walster wrote:

      Any ideas on this issue?
      Not really. I actually don't use this plugin or docker other than testing.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • New

      Hey all,

      I have had similar issues

      unable to uninstall so tried to delete the docker files and then apt-get clean hoping that i could just then re-install docker from scratch but to no avail.

      Still get the api-port error

      Apt-get clean keeps giving the below


      >>> *************** Error ***************
      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-aptclean ': 1. Cleaning apt cache files...
      <<< *************************************

      repeats it over and over.

      Any help to fully purge docker so i can start again would be appreciated

      I fear i may have broken something and don't really want to re-install OMV but will if i have to
      OMV 4.1.10 (Arrakis)
      HP Proliant Microserver Gen 8
      Intel Celeron CPU G1610T
      8GB ECC RAM