I have forgot the password to the dashboard and want to change it.

How do I go about to change it? I tried to hash another in the terminal using apache-utils2, then to paste (the new password) in “the middleware.traefik-auth.basic auth.users=” Section of the compose file. Didn’t work.

I restarted the container to no avail, even removed the container and spun up another. Nothing worked.

Is it really that hard to change password in traefik?

Any hint or advise is welcome, although I really want to access the dashboard via https.

Thanks!

  • zingoOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    7 months ago

    Yeah they are all double $$ and I recreated the container several times. The only thing that was changed in the compose file was the hash string - user:password.

    I read from another older post that sometimes you need to clear all cookies in the browser. Did that also. Didn’t work.

    I did however do the DNS challange again as I fucked up the older working config. The cert is different now but points to the same domain and subdomain. Can it be that the browser or traefik are still “remembering” the old cert, with other credentials?

    Just grasping at straws here. I’m at a loss.

    I can’t find anything online, traefik website or on YouTube about changing passwords. Only create one on a new install.

    Should be a walk in the park to change a password. Wtf.

    Edit: found the solution here: community.traefik.io/t/dashboard-with-basic-auth-but-cant-login-in-anyway/13235

    I was using a wrong hash command in the terminal.

    SOLVED!