-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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] No longer builds on startup #1051
Comments
I confirm this problem. You have to manually enter the container and run the yarn build command. Only then does Dashy rebuild and themes and configurations are applied. Multipages also don't work until you manually rebuild Dashy. |
You may solve this by adding entrypoint: ["yarn","build-and-start"] to your docker-compose.yml. The drawback is whenever you click the "save on disk" button, it will build the whole project again. It can be CPU-consuming for some low-end VM. Hope there will be a more elegant way to solve this problem. here is my docker-compose.yml services:
If I have time this weekend, I will write articles on how to build Dashy using docker & how to use Nginx Proxy Manager + Authelia for authentication. Btw the solution to this issue was mentioned by coalwater. You may read the closed issue here. |
This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days. |
This is still relevant and happens without changing entrypoint to |
We will not wait for the developer's response, it seems. Is she too busy with other projects? |
Can confirm this still happens to me, after I added multiple pages. Used the UI to make edits, save, refresh, and the edit is gone. Can confirm the config file is saved locally. I have to manually trigger the rebuild from the UI. It still builds if I restart my docker, but having to restart or trigger manually each time I make edits via UI is annoying. |
This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days. |
This is still relevant |
I can confirm this is still relevant too. Interestingly, this is a regression from Took a lot of head-scratching to understand why my Keycloak authentication configuration was not applying properly. It was caused because no build happens when the official Docker image is started. In my opinion this issue becomes far more severe if my dashboard can become public-access if my Docker container gets recreated (without manually intervening and starting a build). |
Further investigations: I've narrowed down that this regressed in commit " 60d0b03: removed build watch and tini from container run-time". This change isn't in the @Lissy93 Are you aware of an issue with the automated deployments deploying some form of |
This issue has gone 3 months without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days. |
Still relevant. Waiting to hear back from @Lissy93. |
This issue has gone 3 months without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days. |
Still relevant. Waiting to hear back from @Lissy93. |
The fix for this issue has now been released in 2.1.2 ✨ If you haven't done so already, please update your instance to Feel free to reach out if you need any more support. If you are enjoying Dashy, consider supporting the project. |
Environment
Self-Hosted (Docker)
System
Chrome 108 on Windows 10 - Docker 20.10.17 on Raspbian 11 bullseye
Version
2.1.1
Describe the problem
For a few versions now Dashy starts up and doesn't have my custom styles applied so I need to connect and run
yarn build
manually.I have a file mounted at
/app/src/styles/user-defined-themes.scss
to apply my custom scss which used to work fine after updates, but now I need to trigger a manual build every container update.My containers are automatically update using watchtowerr
Additional info
The below is the output of the container on start
Please tick the boxes
The text was updated successfully, but these errors were encountered: