Openmediavault-openvpn 1.1 and Openmediavault-docker-gui 0.2.22 Not compatible

    • OMV 2.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Openmediavault-openvpn 1.1 and Openmediavault-docker-gui 0.2.22 Not compatible

      Hey every1,

      Lately was struggling to get Openmediavault-openvpn 1.1 and Openmediavault-docker-gui 0.2.22 working on the same omv installation. Honestly still not working as expected. If the Docker plugin good then ovpn is not working.
      I finally got them working but the docker GUI is not working now. I get the following:

      Shell-Script

      1. Error: "couldn't connect to host" - Code: 7
      2. Error #0:
      3. exception 'OMVModuleDockerException' with message 'Error: "couldn't connect to host" - Code: 7' in /usr/share/omvdocker/Utils.php:63
      4. Stack trace:
      5. #0 /usr/share/omvdocker/Utils.php(180): OMVModuleDockerUtil::doApiCall('http://localhos...')
      6. #1 /usr/share/openmediavault/engined/rpc/docker.inc(354): OMVModuleDockerUtil::getContainers('42015')
      7. #2 [internal function]: OMVRpcServiceDocker->getContainers(Array, Array)
      8. #3 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      9. #4 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getContainers', Array, Array)
      10. #5 /usr/sbin/omv-engined(500): OMVRpc::exec('Docker', 'getContainers', Array, Array, 1)
      11. #6 {main}
      Display All
      I got it working by starting all docker application through the ssh and docker compose but its a pity that the wonderful app server/nas that my omv has become does not show the images and the containers and cannot restart them from the interface if needed.
      Does anyone have functional install with both plugins and how can one do that ? I know that once you have docker plugin installed and then ovpn. iptables rules for traffic redirection get quirky and ovpn does not work because redirects traffic to docker IP instead of the local network.




      Cheerz,
      Guby