emqx / emqx-docker

An Open-Source, Cloud-Native, Distributed MQTT Message Broker for IoT.
Apache License 2.0
31 stars 13 forks source link

Upgrade to 5.6.1 fails to start #63

Closed mscreations closed 5 months ago

mscreations commented 5 months ago

I recently tried upgrading my emqx instance to 5.6.1, but I'm getting the following error:

emqx  | ERROR: Failed to create scheduler thread 143, error = 11
emqx  | ERROR: Please ensure it is running on the correct platform:
emqx  | ERROR: arch: "x86_64-pc-linux-gnu"
emqx  | wordsize: 64
emqx  | os: "debian12"
emqx  | erlang: "26.2.1-2"
emqx  | elixir: "none"
emqx  | relform: "tgz"
emqx  | ERROR: Version=5.6.1
emqx  | ERROR: Required dependencies: openssl-1.1.1 (libcrypto), libncurses and libatomic1

Rolling back to 5.5.1 works. I'm not sure if this is an issue with the switch to debian 12 or some other error. I also tried starting the container fresh with no previously saved data and it still failed to start.

Host info: Ubuntu 22.04.2 LTS Docker version 24.0.5 Docker compose version 2.20.2

mscreations commented 5 months ago

Found the issue. I had common keys to all my containers centralized and forgot that I had a PID limit. Raising the limit caused the container to start properly.