Skip to content

ForceReset Password Fail due to malformed URL #293

@mricartx

Description

@mricartx

Expected vs actual behavior

After first installation , you should reset your administrator password , but it fails because of a malformed URL requesting config.js.
Also the browser detect some errors in config.js.
Finally password change could not be performed , due to a timeout.

Steps to reproduce the bug

  1. Run a clean install using Helm Chart
  2. Once you recovered Admin credentials, access to console URL and login .
  3. You will be prompted to change your admin password but when you press "Set password" button Nothing happens .

Are you using the latest version of the project?

Using Helm ztka-0.2.9 chart version v0.2.8 with Dashboard image v0.2.3 .

You can check your version by running helm ls|grep '^<deployment-name>' or using pctl, pctl version, and provide the output.
In the browser we can check that the UI is trying to get this URL that doesn't exist : https://console.your.domain.com/%PUBLIC_URL%/config.js

What is your environment setup? Please tell us your cloud provider, operating system, and include the output of kubectl version --output=yaml and helm version. Any other information that you have, eg. logs and custom values, is highly appreciated!

K8S 1.25.8

(optional) If you have ideas on why the bug happens or how it can be solved, please provide it here

In the browser we can check that the UI is trying to get this URL that doesn't exist : https://console.your.domain.com/%PUBLIC_URL%/config.js
Check public\index.template file line 41 .
Browser also complains about config.js syntax.

  • I've described the bug, included steps to reproduce it, and included my environment setup with all customizations.
  • I'm using the latest version of the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnewNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions