Error trying to create user with docker demo setup

Hello there!

Long time I haven’t setup an instance of the mender-server, seems everything has changed in the meantime (previously was working with mender-integration, but now the documentation has changed here).

So I’m trying to create a server for testing purpose and I follow Evaluation with Docker Compose | Mender documentation. I’m using v4.0.1 (the latest).

However when creating the user I get an error: “database connection failed: database connection failed: server selection error: context deadline exceeded, …”

I paste below a screenshot of the error too (I’m running on Proxmox machine, there is no copy/paste on the VNC terminal).

Thanks for any inputs/feedbacks about that!

Joel

Going further with docker ps -a, I see many containers not running and mongo exited :exploding_head: what is going on ?!

Then looked at the mongodb container logs, it complains about the CPU lacking the AVX support: “WARNING: MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!”

For more context: the machine is a fresh Debian virtualized in Proxmox. This lack the AVX support by default. See CPU with AVX support, | Proxmox Support Forum .

=> Problem solved after fixing the virtualization config :slight_smile:

Hope this will help people with the same setup!

1 Like

Hi Joel,

Thanks a lot for sharing!

Greetz,
Josef

1 Like