Default Login Issues
Is mlcli moonlight login
not showing you the default login credentials? Here you learn how to fix this issue with a few simple steps
Before you start
Before you start, make sure you have a shell session as root and moonlight installed successfully
Default User Creation failed
Sometimes the database moonlight is using is not starting fast enough leading to the failure of the "Default User Creation" task. With the following steps you find out if this issue happened on your instance and how to fix it
Execute the following command in the terminal:
mlcli moonlight logsCheck if it contains a line talking about the "Default User Creation" task failing. If you find such logs, moonlight tried to create the default user while the database was not started yet.
Execute the following command in the terminal:
docker restart moonlightWait a few seconds and run the following command in the terminal:
mlcli moonlight logsIt should contain a line with the email address
adminowo@example
and the generated password. Use these credentials to login into your moonlight instance