Dashboard configuration username

Hey,

We’ve recently set up Unity Accelerator using the docker container and we’ve set a password in the configuration file. However we can’t seem to log in to the Configuration or Logs tab on the dashboard because we don’t know the default username.
Is this documented somewhere?

Apologies for that, @JurjenBiewenga . The username portion is ignored, so you can put anything you like in that field.

Additionally, I’d like to mention that the password field in the unity-accelerator.cfg file is not stored in the clear. If you added it to the file yourself, it will not validate when attempting to login. Instead, you’ll need to use the built-in tool as I describe here .

We are planning to add a mechanism to set this via an environment variable for Docker deployments in the future to make this process a little easier.

Ah cheers @bradunity . I missed the part where running the tool should be in the same directory. Everything seems to work fine now!

1 Like

Just a quick note for anyone stumbling upon this on google in 2021, the Accelerator does now respect the username field, and won’t log you in if you leave it blank. You’ll be able to see this in the logs, provided you eventually log in succesfully:

  {
    "level": "info",
    "ts": "2021-10-12T17:22:26.063-0400",
    "msg": "account not found",
    "agent_id": "Server_id",
    "agent_name": "Server",
    "component": "httpservice",
    "subprocess_id": 8,
    "username": ""
  }