Docker - errors after latest updates

    • OMV 4.x
    • Docker - errors after latest updates

      Hello!

      After applying latest update docker is not running anymore:
      I'm aware ot the "-H unix://" fix but i have other problems now:

      Starting docker i'm getting:

      Source Code

      1. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl stop 'docker.socket' 2>&1' with exit code '5': Failed to stop docker.socket: Unit docker.socket not loaded.

      If i uninstall plugin directly i get:

      Source Code

      1. An error has occured:
      2. An error has occured
      3. Error #0:
      4. OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --auto-remove --purge remove openmediavault-docker-gui 2>&1' with exit code '100': Reading package lists...
      5. Building dependency tree...
      6. Reading state information...
      7. The following packages will be REMOVED:
      8. docker-ce* imagemagick-6-common* libcurl3* libfftw3-double3* liblcms2-2*
      9. liblqr-1-0* libmagickcore-6.q16-3* libmagickwand-6.q16-3* libopenjp2-7*
      10. omvextras-common* openmediavault-docker-gui* php-curl* php-imagick*
      11. php-symfony-class-loader* php-symfony-polyfill-apcu* php7.0-curl*
      12. 0 upgraded, 0 newly installed, 16 to remove and 0 not upgraded.
      13. 1 not fully installed or removed.
      14. After this operation, 99.0 MB disk space will be freed.
      15. (Reading database ...
      16. (Reading database ... 5%
      17. (Reading database ... 10%
      18. (Reading database ... 15%
      19. (Reading database ... 20%
      20. (Reading database ... 25%
      21. (Reading database ... 30%
      22. (Reading database ... 35%
      23. (Reading database ... 40%
      24. (Reading database ... 45%
      25. (Reading database ... 50%
      26. (Reading database ... 55%
      27. (Reading database ... 60%
      28. (Reading database ... 65%
      29. (Reading database ... 70%
      30. (Reading database ... 75%
      31. (Reading database ... 80%
      32. (Reading database ... 85%
      33. (Reading database ... 90%
      34. (Reading database ... 95%
      35. (Reading database ... 100%
      36. (Reading database ... 83648 files and directories currently installed.)
      37. Removing openmediavault-docker-gui (4.0.1) ...
      38. Removing docker-ce (5:18.09.0~3-0~debian-stretch) ...
      39. Removing php-imagick (3.4.3~rc2-2) ...
      40. Removing libmagickwand-6.q16-3:amd64 (8:6.9.7.4+dfsg-11+deb9u6) ...
      41. Removing libmagickcore-6.q16-3:amd64 (8:6.9.7.4+dfsg-11+deb9u6) ...
      42. Removing imagemagick-6-common (8:6.9.7.4+dfsg-11+deb9u6) ...
      43. Removing php-curl (1:7.0+49) ...
      44. Removing php7.0-curl (7.0.30-0+deb9u1) ...
      45. Removing libcurl3:amd64 (7.52.1-5+deb9u8) ...
      46. Removing libfftw3-double3:amd64 (3.3.5-3) ...
      47. Removing liblcms2-2:amd64 (2.8-4+deb9u1) ...
      48. Removing liblqr-1-0:amd64 (0.4.2-2+b2) ...
      49. Removing libopenjp2-7:amd64 (2.1.2-1.1+deb9u2) ...
      50. Removing omvextras-common (4.0.1) ...
      51. Removing php-symfony-class-loader (2.8.7+dfsg-1.3+deb9u1) ...
      52. Removing php-symfony-polyfill-apcu (1.2.0-1) ...
      53. Processing triggers for php7.0-fpm (7.0.30-0+deb9u1) ...
      54. Processing triggers for libc-bin (2.24-11+deb9u3) ...
      55. Processing triggers for openmediavault (4.1.13-1) ...
      56. Restarting engine daemon ...
      57. (Reading database ...
      58. (Reading database ... 5%
      59. (Reading database ... 10%
      60. (Reading database ... 15%
      61. (Reading database ... 20%
      62. (Reading database ... 25%
      63. (Reading database ... 30%
      64. (Reading database ... 35%
      65. (Reading database ... 40%
      66. (Reading database ... 45%
      67. (Reading database ... 50%
      68. (Reading database ... 55%
      69. (Reading database ... 60%
      70. (Reading database ... 65%
      71. (Reading database ... 70%
      72. (Reading database ... 75%
      73. (Reading database ... 80%
      74. (Reading database ... 85%
      75. (Reading database ... 90%
      76. (Reading database ... 95%
      77. (Reading database ... 100%
      78. (Reading database ... 83176 files and directories currently installed.)
      79. Purging configuration files for imagemagick-6-common (8:6.9.7.4+dfsg-11+deb9u6) ...
      80. Purging configuration files for docker-ce (5:18.09.0~3-0~debian-stretch) ...
      81. Purging configuration files for openmediavault-docker-gui (4.0.1) ...
      82. Failed to stop docker.socket: Unit docker.socket not loaded.
      83. dpkg: error processing package openmediavault-docker-gui (--purge):
      84. subprocess installed post-removal script returned error exit status 5
      85. Purging configuration files for php-imagick (3.4.3~rc2-2) ...
      86. Purging configuration files for php7.0-curl (7.0.30-0+deb9u1) ...
      87. Errors were encountered while processing:
      88. openmediavault-docker-gui
      89. Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f5522e9b8c8>
      90. Traceback (most recent call last):
      91. File "/usr/lib/python3.5/weakref.py", line 117, in remove
      92. TypeError: 'NoneType' object is not callable
      93. Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f5522e9b8c8>
      94. Traceback (most recent call last):
      95. File "/usr/lib/python3.5/weakref.py", line 117, in remove
      96. TypeError: 'NoneType' object is not callable
      97. E: Sub-process /usr/bin/dpkg returned an error code (1) in /usr/share/openmediavault/engined/rpc/pluginmgmt.inc:151
      98. Stack trace:
      99. #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMVRpcServicePluginMgmt->{closure}('/tmp/bgstatus4Y...', '/tmp/bgoutputrQ...')
      100. #1 /usr/share/openmediavault/engined/rpc/pluginmgmt.inc(155): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      101. #2 [internal function]: OMVRpcServicePluginMgmt->remove(Array, Array)
      102. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      103. #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('remove', Array, Array)
      104. #5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Plugin', 'remove', Array, Array, 1)
      105. #6 {main}
      Display All
      If i reinstall the plugin:

      Source Code

      1. Unpacking libmagickcore-6.q16-3:amd64 (8:6.9.7.4+dfsg-11+deb9u6) ...
      2. Selecting previously unselected package libmagickwand-6.q16-3:amd64.
      3. Preparing to unpack .../06-libmagickwand-6.q16-3_8%3a6.9.7.4+dfsg-11+deb9u6_amd64.deb ...
      4. Unpacking libmagickwand-6.q16-3:amd64 (8:6.9.7.4+dfsg-11+deb9u6) ...
      5. Selecting previously unselected package docker-ce.
      6. Preparing to unpack .../07-docker-ce_5%3a18.09.0~3-0~debian-stretch_amd64.deb ...
      7. Unpacking docker-ce (5:18.09.0~3-0~debian-stretch) ...
      8. Selecting previously unselected package libcurl3:amd64.
      9. Preparing to unpack .../08-libcurl3_7.52.1-5+deb9u8_amd64.deb ...
      10. Unpacking libcurl3:amd64 (7.52.1-5+deb9u8) ...
      11. Selecting previously unselected package php-symfony-polyfill-apcu.
      12. Preparing to unpack .../09-php-symfony-polyfill-apcu_1.2.0-1_all.deb ...
      13. Unpacking php-symfony-polyfill-apcu (1.2.0-1) ...
      14. Selecting previously unselected package php-symfony-class-loader.
      15. Preparing to unpack .../10-php-symfony-class-loader_2.8.7+dfsg-1.3+deb9u1_all.deb ...
      16. Unpacking php-symfony-class-loader (2.8.7+dfsg-1.3+deb9u1) ...
      17. Selecting previously unselected package omvextras-common.
      18. Preparing to unpack .../11-omvextras-common_4.0.1_all.deb ...
      19. Unpacking omvextras-common (4.0.1) ...
      20. Selecting previously unselected package php7.0-curl.
      21. Preparing to unpack .../12-php7.0-curl_7.0.30-0+deb9u1_amd64.deb ...
      22. Unpacking php7.0-curl (7.0.30-0+deb9u1) ...
      23. Selecting previously unselected package php-curl.
      24. Preparing to unpack .../13-php-curl_1%3a7.0+49_all.deb ...
      25. Unpacking php-curl (1:7.0+49) ...
      26. Selecting previously unselected package php-imagick.
      27. Preparing to unpack .../14-php-imagick_3.4.3~rc2-2_amd64.deb ...
      28. Unpacking php-imagick (3.4.3~rc2-2) ...
      29. Preparing to unpack .../15-openmediavault-docker-gui_4.0.1_all.deb ...
      30. Unpacking openmediavault-docker-gui (4.0.1) ...
      31. Setting up imagemagick-6-common (8:6.9.7.4+dfsg-11+deb9u6) ...
      32. Setting up docker-ce (5:18.09.0~3-0~debian-stretch) ...
      33. update-alternatives: using /usr/bin/dockerd-ce to provide /usr/bin/dockerd (dockerd) in auto mode
      34. Created symlink /etc/systemd/system/multi-user.target.wants/docker.service -> /lib/systemd/system/docker.service.
      35. Setting up libopenjp2-7:amd64 (2.1.2-1.1+deb9u2) ...
      36. Setting up liblcms2-2:amd64 (2.8-4+deb9u1) ...
      37. Setting up libcurl3:amd64 (7.52.1-5+deb9u8) ...
      38. Setting up php7.0-curl (7.0.30-0+deb9u1) ...
      39. Creating config file /etc/php/7.0/mods-available/curl.ini with new version
      40. Setting up libfftw3-double3:amd64 (3.3.5-3) ...
      41. Processing triggers for php7.0-fpm (7.0.30-0+deb9u1) ...
      42. >>> *************** Error ***************
      43. <<< *************************************
      Display All



      If i uninstall plugin again after stoping docker service:" service docker stop" it's acting differently:


      HTML Source Code

      1. Bad Gateway:
      2. <html>
      3. <head><title>502 Bad Gateway</title></head>
      4. <body bgcolor="white">
      5. <center><h1>502 Bad Gateway</h1></center>
      6. <hr><center>nginx</center>
      7. </body>
      8. </html>
      9. LOG:
      10. (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 83648 files and directories currently installed.)
      11. Removing openmediavault-docker-gui (4.0.1) ...
      12. Removing docker-ce (5:18.09.0~3-0~debian-stretch) ...
      13. Removing php-imagick (3.4.3~rc2-2) ...
      14. Removing libmagickwand-6.q16-3:amd64 (8:6.9.7.4+dfsg-11+deb9u6) ...
      15. Removing libmagickcore-6.q16-3:amd64 (8:6.9.7.4+dfsg-11+deb9u6) ...
      16. Removing imagemagick-6-common (8:6.9.7.4+dfsg-11+deb9u6) ...
      17. Removing php-curl (1:7.0+49) ...
      18. Removing php7.0-curl (7.0.30-0+deb9u1) ...
      19. Removing libcurl3:amd64 (7.52.1-5+deb9u8) ...
      20. Removing libfftw3-double3:amd64 (3.3.5-3) ...
      21. Removing liblcms2-2:amd64 (2.8-4+deb9u1) ...
      22. Removing liblqr-1-0:amd64 (0.4.2-2+b2) ...
      Display All

      Any help very welcome :)
    • I had the same thing and posted on Reddit.

      You're able to roll back docker ce and everything goes back to normal.

      You can do this:

      Source Code

      1. apt-cache madison docker-ce
      Which should output a few versions of docker ce that are compatible with your machine, like this:

      Source Code

      1. docker-ce | 18.09.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages


      Then do this (where <version> is something like 18.06.0~ce-3-0~debian):

      Source Code

      1. sudo apt-get install docker-ce=<VERSION>

      The post was edited 2 times, last by ThatGuy_ZA ().

    • zhonghao wrote:

      the same as your error message
      Both my intel boxes' Docker services went down while I slept last night. I can get to the Docker GUI, but none of my installed containers are present/visable. I also get a message from Docker interface stating that a port(430X?) not available. Downed Docker uninstalled/reinstalled plugin. Not enough time to make a proper post before making lunch for my child then off to work.

      Docker plugin - After the last update it does not start

      Latest Docker plugin update
      OMV 4.x on intel
    • Users Online 1

      1 Guest