I am in the process of up updating an existing v3 installation to the v4. I am using a Docker installation. While installation and migration runs smooth on my test server, I encounter a rather strange problem on the production server.
I can reproduce the problem very simple by doing a
"git clone https://github.com/chirpstack/chirpstack-docker.git" on both servers and bringing the containers up. (Of course, I stopped the v3 instances before). I made no changes to the configuration of to the cloned git repo.
on my test server (Debian, 11.7) the containers start up as expected, no problems.
on the production server (Debian, 10.13), the chirpstack container container exits and restarts over and over, because of an “Error: Setup MQTT integration”. Other containers, like the gateway bridge, successfully connect with the MQTT broker. Also, I can publish/subcribe messages on the exposed mosquitto. The error I see when bringing up the containers is:
chirpstack-docker-chirpstack-1 | 2023-09-21T13:37:18.316003Z INFO chirpstack::integration::mqtt: Connecting to MQTT broker server_uri=tcp://mosquitto:1883/ client_id=64dd73fb1d23dbb3 clean_session=false chirpstack-docker-chirpstack-1 | Error: Setup MQTT integration chirpstack-docker-chirpstack-1 | chirpstack-docker-chirpstack-1 | Caused by: chirpstack-docker-chirpstack-1 | 0: Connect to MQTT broker chirpstack-docker-chirpstack-1 | 1: [-1] TCP/TLS connect failure chirpstack-docker-chirpstack-1 exited with code 1
Can someone give me a hint on what the problem could be and/or how I can narrow it down?