Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: After domain name change, dashboards widgets are not rendered #2884

Open
kinseii opened this issue Jan 7, 2025 · 3 comments
Open
Assignees
Labels

Comments

@kinseii
Copy link

kinseii commented Jan 7, 2025

What is your set up?

Self Hosted Docker

Version

3.3.3

Describe the issue

After domain name change, dashboards widgets are not rendered.

image

Reproduction steps

  1. Run leantime in docker on the domain1.example.com domain.
  2. Check that everything works. Dashboards are displayed.
  3. Change the domain in the .env file to domain2.example.com.
  4. Check that the Dashboards are not displayed.

Error Logs (LEANTIMEFOLDER/storage/logs)

No errors in the logs.

@kinseii
Copy link
Author

kinseii commented Jan 7, 2025

For some reason, the GET is going to the old domain.

image

@kinseii
Copy link
Author

kinseii commented Jan 7, 2025

In the source code of the html page of dashboards, half of the links are to the old domain. Can you please tell me where it stores them, in the database?

@kinseii
Copy link
Author

kinseii commented Jan 7, 2025

I created a new user and everything is fine under it. I found the usersettings.1.dashboardGrid field in the zp_settings table and there was a json, with Dashboards settings I think, and I changed all the URLs to the correct ones via phpmyadmin, but after restarting the containers, an error started coming up. Here the screenshot:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants