Move openhab docker to a new machine / no web / web time-out

Hi,
i try to move my openhab docker to a new machine. I moved the docker volumes and it starts up without errors - but the web-service doesn’t serve anything - while the ports show to be assigned: The logs doesn’t show any trace of an error.

that’s my docker-compose.yml file

services:
  openhab:
    image: "openhab/openhab:3.4.4"
 #   user: root
    restart: always
    network_mode: host
#    ports:
#      - "8080:8080/tcp"
#      - "8443:8443/tcp"
    dns:
      - 192.168.176.1
      - 8.8.4.4
#    dns_search: lan
    volumes:
      - "/etc/localtime:/etc/localtime:ro"
#      - "/etc/timezone:/etc/timezone:ro"
      - "openhab_addons:/openhab/addons"
      - "openhab_conf:/openhab/conf"
      - "openhab_userdata:/openhab/userdata"
      - "openhab_java:/openhab/.java"
#    devices:
#       - /dev/ttyACM0:/dev/myzwavestick
    environment:
#      USER_ID: 112
#      GROUP_ID: 119
      CRYPTO_POLICY: unlimited
      OPENHAB_HTTP_PORT: "8080"
      OPENHAB_HTTPS_PORT: "8443"
      EXTRA_JAVA_OPTS: "-Duser.timezone=Europe/Berlin -Dlog4j2.formatMsgNoLookups=true"

volumes:

  openhab_addons:
    external: true
  openhab_conf:
    external: true
  openhab_userdata:
    external: true
  openhab_java:
    external: true
2023-06-19 08:36:59.220 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'Europe/Berlin'.
2023-06-19 08:36:59.233 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to '50.32755706599748,8.539357423651381'.
2023-06-19 08:36:59.234 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'de_DE'.
2023-06-19 08:37:01.355 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model '00_groups.items'
2023-06-19 08:37:01.485 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model '13_network.items'
2023-06-19 08:37:01.493 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model '20_node_red.items'
2023-06-19 08:37:01.584 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
2023-06-19 08:37:01.605 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'influxdb.persist'
2023-06-19 08:37:01.738 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'gosund.things'
2023-06-19 08:37:01.779 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'network.things'
2023-06-19 08:37:01.785 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'knx.things'
2023-06-19 08:37:04.793 [INFO ] [.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2023-06-19 08:37:07.253 [INFO ] [.network.internal.utils.NetworkUtils] - CIDR prefix is smaller than /24 on interface with address 169.254.18.175/16, truncating to /24, some addresses might be lost
2023-06-19 08:37:07.254 [INFO ] [.network.internal.utils.NetworkUtils] - CIDR prefix is smaller than /24 on interface with address 169.254.242.124/16, truncating to /24, some addresses might be lost
2023-06-19 08:37:07.254 [INFO ] [.network.internal.utils.NetworkUtils] - CIDR prefix is smaller than /24 on interface with address 169.254.219.1/16, truncating to /24, some addresses might be lost
2023-06-19 08:37:07.255 [INFO ] [.network.internal.utils.NetworkUtils] - CIDR prefix is smaller than /24 on interface with address 169.254.107.143/16, truncating to /24, some addresses might be lost
2023-06-19 08:37:07.255 [INFO ] [.network.internal.utils.NetworkUtils] - CIDR prefix is smaller than /24 on interface with address 169.254.160.173/16, truncating to /24, some addresses might be lost
2023-06-19 08:37:07.256 [INFO ] [.network.internal.utils.NetworkUtils] - CIDR prefix is smaller than /24 on interface with address 172.26.0.1/16, truncating to /24, some addresses might be lost
2023-06-19 08:37:07.256 [INFO ] [.network.internal.utils.NetworkUtils] - CIDR prefix is smaller than /24 on interface with address 172.24.0.1/16, truncating to /24, some addresses might be lost
2023-06-19 08:37:07.256 [INFO ] [.network.internal.utils.NetworkUtils] - CIDR prefix is smaller than /24 on interface with address 172.23.0.1/16, truncating to /24, some addresses might be lost
2023-06-19 08:37:07.257 [INFO ] [.network.internal.utils.NetworkUtils] - CIDR prefix is smaller than /24 on interface with address 172.21.0.1/16, truncating to /24, some addresses might be lost
2023-06-19 08:37:07.257 [INFO ] [.network.internal.utils.NetworkUtils] - CIDR prefix is smaller than /24 on interface with address 169.254.64.252/16, truncating to /24, some addresses might be lost
2023-06-19 08:37:07.257 [INFO ] [.network.internal.utils.NetworkUtils] - CIDR prefix is smaller than /24 on interface with address 172.20.0.1/16, truncating to /24, some addresses might be lost
2023-06-19 08:37:07.258 [INFO ] [.network.internal.utils.NetworkUtils] - CIDR prefix is smaller than /24 on interface with address 169.254.173.167/16, truncating to /24, some addresses might be lost
2023-06-19 08:37:07.258 [INFO ] [.network.internal.utils.NetworkUtils] - CIDR prefix is smaller than /24 on interface with address 172.18.0.1/16, truncating to /24, some addresses might be lost
2023-06-19 08:37:07.310 [INFO ] [ternal.dhcp.DHCPPacketListenerServer] - DHCP request packet listener online
2023-06-19 08:37:07.468 [INFO ] [rnal.service.RemoteControllerService] - Using SecureWebSocket interface
2023-06-19 08:37:07.567 [INFO ] [atmo.internal.servlet.WebhookServlet] - Registered Netatmo servlet at '/netatmo/webhook/5eefc5e53f61762e7c615a14'
2023-06-19 08:37:07.568 [INFO ] [atmo.internal.servlet.WebhookServlet] - Setting up WebHook at Netatmo to https://openhab.jru.me/netatmo/webhook/5eefc5e53f61762e7c615a14
2023-06-19 08:37:07.585 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to '192.168.176.6' with clientid ad857f44-26ae-47c3-8c49-7117fe3a1c58
2023-06-19 08:37:07.788 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = e3...53, base URL = http://localhost:8080)
2023-06-19 08:37:08.316 [INFO ] [zwave.handler.ZWaveControllerHandler] - Attempting to add listener when controller is null

A simple-fresh openhab-instance -works out like a charm - just the migrated volumes lead to no web-answers. I cleared the cache and tmp directorys - but no effect.
I switched openhab ports - no effect either.
i set debug in logs - but nothing to be seen.

I’m a bit out of my Ideas. Suggestions? Ideas?

Thanks
Johannes

How long are you waiting after restarting after having cleared the cache? When you clear the cache, OH has to go out and download and reinstall all the add-ons which can take some time depending on your network speed and such.

Hi Rich - i did not check that. The new machine is pretty powerfull so there is no real reason to be slow. but i did recognize some performance issues even on the old machine.
My config is pretty big (and somehow ‘grown’ - and the openhab ui takes time to render the ‘things’. i wil give it another ‘patient’ try.

You can have the fastest machine in the world but if your connection to the repository where the jar files are served is slow, it’s going to take time to download them.

is there a way to check the state of the download progress?
normaly i would say my 1gbit internet connection is sufficent. But you never know. is DNS working, and so on…

Not that I’m aware of. Typically I can tell when the add-ons get downloaded and installed by watching the events.log. As each add-on is installed there will be a flurry of Thing events for that add-on’s things.

I’m not saying this is necessarily the problem, it’s just candidate.

I suppose there might be an issue with OH listening on the wrong IP address range. You’ve got a whole lot of CIDR warnings up there.

I’m not sure what else it could be.

It’s a bit awkward - it looks like it’s binding itself just to the IPv6 interface and not to the IPv4 - So no error occurs - but i’m still in the shadows why it’s not binding to ipv4 - because - it’s open all the way:

root ➜  ~ netstat -na | grep -w "LISTEN"
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:3030            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:33060           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8040            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8090            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8087            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:9443            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:9080            0.0.0.0:*               LISTEN
tcp6       0      0 :::3306                 :::*                    LISTEN
tcp6       0      0 :::3030                 :::*                    LISTEN
tcp6       0      0 :::1883                 :::*                    LISTEN
tcp6       0      0 :::33060                :::*                    LISTEN
tcp6       0      0 :::53                   :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
tcp6       0      0 127.0.0.1:8101          :::*                    LISTEN
tcp6       0      0 :::8040                 :::*                    LISTEN
tcp6       0      0 :::8090                 :::*                    LISTEN
**tcp6       0      0 :::8080                 :::*                    LISTEN**
tcp6       0      0 :::8087                 :::*                    LISTEN
tcp6       0      0 :::5007                 :::*                    LISTEN
tcp6       0      0 :::9443                 :::*                    LISTEN
tcp6       0      0 :::9001                 :::*                    LISTEN
tcp6       0      0 :::9080                 :::*                    LISTEN
`tcp6       0      0 :::8443                 :::*                    LISTEN`
tcp6       0      0 127.0.0.1:42123         :::*                    LISTEN
tcp6       0      0 192.168.176.6:9123      :::*                    LISTEN

ok found it… the default activated Firewall on my system blocked the binding… sigh