Moonlight Docs v2.0 Help

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

  1. Execute the following command in the terminal:

    mlcli moonlight logs
  2. Check 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.

  3. Execute the following command in the terminal:

    docker restart moonlight
  4. Wait a few seconds and run the following command in the terminal:

    mlcli moonlight logs

    It should contain a line with the email address adminowo@example and the generated password. Use these credentials to login into your moonlight instance

Last modified: 15 September 2024