Configurations missing in version 5

Sadly I can’t upgrade to version 5 because I can’t find information on how to migrate some configurations. Currently I use the docker image with:


EMQX_ALLOW_ANONYMOUS=false
EMQX_AUTH__MNESIA__PASSWORD_HASH=plain
EMQX_AUTH__USER__1__USERNAME=test1
EMQX_AUTH__USER__1__PASSWORD=123456789
EMQX_AUTH__USER__2__USERNAME=test2
EMQX_AUTH__USER__2__PASSWORD=123456789
EMQX_DASHBOARD__DEFAULT_USER__LOGIN=admin
EMQX_DASHBOARD__DEFAULT_USER__PASSWORD=public123
EMQX_LOADED_PLUGINS=emqx_management,emqx_auth_mnesia,emqx_recon,emqx_retainer,emqx_dashboard
EMQX_MANAGEMENT__DEFAULT_APPLICATION__ID=backend
EMQX_MANAGEMENT__DEFAULT_APPLICATION__SECRET=123456789

Any ideas how to migrate those configs to the new version 5?

“Mnesia” database has been renamed to “built-in database” (because EMQX 5.x no longer uses Mnesia DB). You can find the relevant parameters here: Use Built-in Database | EMQX Documentation

Thanks for the reply, in the documentation there is still no description on how to set standard users, default admin login or application credentials.
Where can I find it?

@perotom have you found a solution ?
I am very interested in this too

I want to set all of this via environment variables but I found a valid complete example …

help ?

Sadly I didn’t find any solution to that. Guess we have to wait until someone can help :confused:

See Support for User Credentials authentication via Environment Variables for V5 · emqx/emqx · Discussion #12496 · GitHub for an answer.