Trying to install the ChirpStack on a Raspberrypi4 according to the description: Quickstart Docker Compose - ChirpStack open-source LoRaWAN<sup>®</sup> Network Server. I already have two docker containers running on the Raspberrypi using port 1883 and 8080 externally so I did the following changes to the docker-compose.yml file:
chirpstack-application-server:
image: chirpstack/chirpstack-application-server:3
ports:
- 8090:8080
mosquitto:
image: eclipse-mosquitto:2
ports:
- 1884:1883
Is that the right way to handle this situation?
I get a errors when running docker-compose:
postgresql_1 |
postgresql_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgresql_1 |
postgresql_1 | LOG: startup process (PID 20) was terminated by signal 11: Segmentation fault
postgresql_1 | LOG: aborting startup due to startup process failure
postgresql_1 | LOG: database system is shut down
mosquitto_1 | 1630228978: mosquitto version 2.0.11 starting
mosquitto_1 | 1630228978: Config loaded from /mosquitto/config/mosquitto.conf.
mosquitto_1 | 1630228978: Opening ipv4 listen socket on port 1883.
chirpstack-docker_postgresql_1 exited with code 1
mosquitto_1 | 1630228978: Opening ipv6 listen socket on port 1883.
mosquitto_1 | 1630228978: mosquitto version 2.0.11 running
redis_1 | 1:C 12 Apr 2071 12:04:24.000 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1 | 1:C 12 Apr 2071 12:04:24.000 # Redis version=5.0.13, bits=32, commit=00000000, modified=0, pid=1, just started
redis_1 | 1:C 12 Apr 2071 12:04:24.000 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis_1 | 1:M 12 Apr 2071 12:00:56.000 # Warning: 32 bit instance detected but no memory limit set. Setting 3 GB maxmemory limit with ‘noeviction’ policy now.
chirpstack-network-server_1 | standard_init_linux.go:211: exec user process caused “exec format error”
redis_1 | 1:M 12 Apr 2071 12:03:36.000 * Running mode=standalone, port=6379.
redis_1 | 1:M 12 Apr 2071 12:04:24.000 # Server initialized
redis_1 | 1:M 12 Apr 2071 12:04:16.000 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
redis_1 | 1:M 12 Apr 2071 12:04:24.000 * Ready to accept connections
chirpstack-gateway-bridge_1 | standard_init_linux.go:211: exec user process caused “exec format error”
chirpstack-application-server_1 | standard_init_linux.go:211: exec user process caused “exec format error”
chirpstack-docker_chirpstack-gateway-bridge_1 exited with code 1
chirpstack-docker_chirpstack-network-server_1 exited with code 1
chirpstack-docker_chirpstack-application-server_1 exited with code 1
Any input is appreciated.