OMV 6 autoshutdown plugin not finding connections on docker ports

  • I've got some containers on docker running and im accessing them but it isnt showing as connected on the logs and therefore is shutting down while they are in use. in the spoiler has the a snippet from one of the logs while in fake mode. is there any extra config i have to do on docker for it to pick up the activity on those ports?

  • Hi, I cannot tell much from this log as it found active connection using the standard port check not the docker port check. To know what is happening I need a log were you are only connected to one of the container (Jellyfin). Note this must not be a container that is is using '--network host'. This should then make the script runt the container port checks.


    Also what version of OMV are you using and what version on Autoshutdown ?

  • Hi, I cannot tell much from this log as it found active connection using the standard port check not the docker port check. To know what is happening I need a log were you are only connected to one of the container (Jellyfin). Note this must not be a container that is is using '--network host'. This should then make the script runt the container port checks.


    Also what version of OMV are you using and what version on Autoshutdown ?

    Sorry for the late delay, expected to get an email notification for this thread.


    All my containers are running on a stack which uses a bridge network. The logs are attached below


    Im running on OMV version 6.0.27-1 with Autoshutdown version 6.0.8


  • Found the issue.

    It was because the stack was creating a new network automatically as i didnt specify one in the docker compose. because of this it wasnt finding the ip address of the container in the newly created bridge network as it was looking in .NetworkSettings.IPAddress of the docker container inspect result but in the generated one this value was blank and the ip address was not blank in .NetworkSettings.Networks.{name of generated network}.IPAddress.


    The solution was to change the containers to use the default bridge network or add network_mode: bridge to the service in the docker compose file.


    I assume creating a network manually will not have this value empty and is an issue just with the automatically generated network.


    Heres what it looks like in the logs with port 8096 and 9000 in use and 8989 not in use all on the default bridge network

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!