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] Updated the container and my customizations are missing #1587

Closed
5 tasks done
jpcapone opened this issue May 15, 2024 · 8 comments
Closed
5 tasks done

[BUG] Updated the container and my customizations are missing #1587

jpcapone opened this issue May 15, 2024 · 8 comments
Assignees
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working

Comments

@jpcapone
Copy link

Environment

Self-Hosted (Docker)

System

Docker

Version

3.1.0

Describe the problem

I recreated my container to pull down the newest image. After a restart I was presented with what looks like a vanilla/fresh dashboard. I confirmed that my conf.yml file is intact so I am a bit confused. I have updated numerous times with no issues. Please advise.

Additional info

No response

Please tick the boxes

@jpcapone jpcapone added the 🐛 Bug [ISSUE] Ticket describing something that isn't working label May 15, 2024
@jpcapone
Copy link
Author

jpcapone commented May 16, 2024

I reverted back to 2.1.2 so i could continue to use the dashboard. Didn't realize how much i relied on it!
Also wanted to note that i followed the directions and changed my volume mounts to match the updated format. The top line is the old and the second line is the new.

/var/lib/docker/volumes/dashy/conf/conf.yml:/app/public/conf.yml
/var/lib/docker/volumes/dashy/conf/:/app/user-data

and I also have these other mount points in both the old and new compose files.

/var/lib/docker/volumes/dashy/icons/:/app/public/item-icons/
/var/lib/docker/volumes/dashy/pages/:/app/public/pages/

Not sure if the new format requires changes to the additional mount points.

@liss-bot liss-bot added 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending and removed 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending labels May 16, 2024
@CrazyWolf13
Copy link
Collaborator

CrazyWolf13 commented May 16, 2024

As far as I know the config path seems valid and according to the docs the others are correct as well, and don't need to be changed.

Were there any recent permission changes on the folder / file?

Could you share your browser console as well as the dashy log?

Because I think beforehand dashy was running as root and now as non-root.

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label May 16, 2024
@jpcapone

This comment has been minimized.

@CrazyWolf13
Copy link
Collaborator

Were there any recent permission changes on the folder / file?

Could you share your browser console and a screenshot of the error message in the browser?

Are you using any proxy or something between dashy and client?
Or do you access dashy by http://{ip}:{port} ?

Are you using any auth?

Have you changed the port from 80 to 8080?

@jpcapone
Copy link
Author

Were there any recent permission changes on the folder / file?
No
Are you using any proxy or something between dashy and client?
No
Or do you access dashy by http://{ip}:{port} ?
Yes
Are you using any auth?
No
Have you changed the port from 80 to 8080?
No
image

2024-05-16T18:20:25.588718586Z yarn run v1.22.19
2024-05-16T18:20:25.647400420Z $ NODE_OPTIONS=--openssl-legacy-provider npm-run-all --parallel build start
2024-05-16T18:20:26.056180071Z $ NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build
2024-05-16T18:20:26.056497588Z $ node server
2024-05-16T18:20:26.383229310Z
2024-05-16T18:20:26.383259647Z Checking config file against schema...
2024-05-16T18:20:26.485198873Z ✔️ Config file is valid, no issues found
2024-05-16T18:20:26.485221946Z
2024-05-16T18:20:26.497723689Z SSL Not Enabled: Public key not present
2024-05-16T18:20:26.498037759Z
2024-05-16T18:20:26.498054190Z
2024-05-16T18:20:26.498058819Z ██████╗ █████╗ ███████╗██╗ ██╗██╗ ██╗
2024-05-16T18:20:26.498063728Z ██╔══██╗██╔══██╗██╔════╝██║ ██║╚██╗ ██╔╝
2024-05-16T18:20:26.498067866Z ██║ ██║███████║███████╗███████║ ╚████╔╝
2024-05-16T18:20:26.498071893Z ██║ ██║██╔══██║╚════██║██╔══██║ ╚██╔╝
2024-05-16T18:20:26.498075881Z ██████╔╝██║ ██║███████║██║ ██║ ██║
2024-05-16T18:20:26.498079808Z ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝
2024-05-16T18:20:26.498083715Z
2024-05-16T18:20:26.498087683Z *******************************************************************************************
2024-05-16T18:20:26.498091750Z Welcome to Dashy! 🚀
2024-05-16T18:20:26.498095798Z Your new dashboard is now up and running with Docker
2024-05-16T18:20:26.498099705Z *******************************************************************************************
2024-05-16T18:20:26.498103703Z
2024-05-16T18:20:26.533688849Z
2024-05-16T18:20:26.533711131Z Using Dashy V-3.1.0. Update Check Complete
2024-05-16T18:20:26.533918701Z ✅ Dashy is Up-to-Date
2024-05-16T18:20:26.533933409Z
2024-05-16T18:20:27.348898370Z
2024-05-16T18:20:27.349440950Z - Building for production...
2024-05-16T18:20:27.498180489Z WARN A new version of sass-loader is available. Please upgrade for best experience.
2024-05-16T18:21:18.091552911Z DONE Compiled successfully in 49239ms6:21:18 PM
2024-05-16T18:21:18.091589019Z
2024-05-16T18:21:18.397685317Z File Size Gzipped
2024-05-16T18:21:18.397703220Z
2024-05-16T18:21:18.397707188Z dist/js/chunk-vendors.c2e0a379.js 7157.57 KiB 2621.08 KiB
2024-05-16T18:21:18.397723278Z dist/js/dashy.7db9cce2.js 779.21 KiB 234.98 KiB
2024-05-16T18:21:18.397726544Z dist/js/chunk-4cfc5864.9ed98abb.js 249.76 KiB 74.73 KiB
2024-05-16T18:21:18.397729620Z dist/js/chunk-50f31ec3.23f97870.js 78.85 KiB 19.38 KiB
2024-05-16T18:21:18.397732666Z dist/precache-manifest.046132a9789a505 25.18 KiB 6.03 KiB
2024-05-16T18:21:18.397735792Z 90bf53ddfeab42ffe.js
2024-05-16T18:21:18.397940907Z dist/js/chunk-180be55e.8cd23650.js 15.94 KiB 5.30 KiB
2024-05-16T18:21:18.397945065Z dist/js/chunk-468d3a74.1172a9bd.js 14.98 KiB 4.23 KiB
2024-05-16T18:21:18.397948211Z dist/js/chunk-03c5a0ba.ef11910e.js 14.77 KiB 4.79 KiB
2024-05-16T18:21:18.397951187Z dist/js/chunk-16e26d5d.d1de2e09.js 14.34 KiB 4.25 KiB
2024-05-16T18:21:18.397954262Z dist/js/chunk-2642eaf9.d0134f70.js 13.79 KiB 4.62 KiB
2024-05-16T18:21:18.397957268Z dist/js/chunk-0367deae.e1ef1c37.js 12.55 KiB 4.32 KiB
2024-05-16T18:21:18.397960284Z dist/js/chunk-7bba3126.6f3642b6.js 11.66 KiB 4.08 KiB
2024-05-16T18:21:18.397963359Z dist/js/chunk-08ca355a.a8e901e2.js 10.52 KiB 3.87 KiB
2024-05-16T18:21:18.397966395Z dist/js/chunk-38169201.17df2e08.js 10.50 KiB 4.22 KiB
2024-05-16T18:21:18.397978969Z dist/js/chunk-460e6092.1fc07014.js 10.42 KiB 3.81 KiB
2024-05-16T18:21:18.397983417Z dist/js/chunk-445cc501.acf9a619.js 10.29 KiB 3.83 KiB
2024-05-16T18:21:18.397986463Z dist/js/chunk-187213fc.0367ab1c.js 10.20 KiB 3.77 KiB
2024-05-16T18:21:18.397989489Z dist/js/chunk-edbdb67c.1760f295.js 8.68 KiB 3.05 KiB
2024-05-16T18:21:18.397992484Z dist/js/chunk-2925d418.8f0a6a9b.js 8.44 KiB 2.82 KiB
2024-05-16T18:21:18.397995510Z dist/js/chunk-0248a1e9.892da2df.js 8.03 KiB 2.86 KiB
2024-05-16T18:21:18.397998586Z dist/js/chunk-93c6be8c.522921e8.js 7.65 KiB 2.84 KiB
2024-05-16T18:21:18.398001601Z dist/js/chunk-c8bd4cd0.c5760549.js 7.46 KiB 2.74 KiB
2024-05-16T18:21:18.398004637Z dist/js/chunk-7ba8e45c.dda945df.js 7.22 KiB 2.71 KiB
2024-05-16T18:21:18.398007663Z dist/js/chunk-49f2d909.c81c530c.js 7.13 KiB 2.64 KiB
2024-05-16T18:21:18.398010688Z dist/js/chunk-7e15df28.ad54f3d7.js 7.00 KiB 2.41 KiB
2024-05-16T18:21:18.398013734Z dist/js/chunk-20775648.9469c46b.js 6.96 KiB 2.60 KiB
2024-05-16T18:21:18.398016780Z dist/js/chunk-070d32ac.3098cdb6.js 6.75 KiB 2.61 KiB
2024-05-16T18:21:18.398021158Z dist/js/chunk-0894290e.06c3dca3.js 6.51 KiB 2.43 KiB
2024-05-16T18:21:18.398024264Z dist/js/chunk-e77c83e6.eb260738.js 6.45 KiB 2.39 KiB
2024-05-16T18:21:18.398032630Z dist/js/chunk-92c623f0.2e2551c0.js 6.42 KiB 2.55 KiB
2024-05-16T18:21:18.398035736Z dist/js/chunk-0c7116ec.7f86125b.js 6.28 KiB 2.50 KiB
2024-05-16T18:21:18.398038771Z dist/js/chunk-29548417.25e9b188.js 5.96 KiB 2.33 KiB
2024-05-16T18:21:18.398366738Z dist/css/chunk-468d3a74.e7e4907a.css 1.26 KiB 0.42 KiB
2024-05-16T18:21:18.398369764Z dist/css/chunk-38169201.87f602e2.css 1.16 KiB 0.46 KiB
2024-05-16T18:21:18.398372799Z dist/css/chunk-15b37c0a.ebae7724.css 1.15 KiB 0.36 KiB
2024-05-16T18:21:18.398375855Z dist/css/chunk-16e26d5d.97cc876a.css 1.14 KiB 0.41 KiB
2024-05-16T18:21:18.398378881Z dist/css/chunk-ecec4fc4.7db7f641.css 1.12 KiB 0.36 KiB
2024-05-16T18:21:18.398381916Z dist/css/chunk-0633ac20.857ad57c.css 1.04 KiB 0.34 KiB
2024-05-16T18:21:18.398384952Z dist/css/chunk-bd9012c4.bbf2305d.css 1.04 KiB 0.34 KiB
2024-05-16T18:21:18.398387988Z dist/css/chunk-043d9c91.9438acdb.css 0.93 KiB 0.37 KiB
2024-05-16T18:21:18.398391024Z dist/css/chunk-1b35c628.f7e5ac71.css 0.90 KiB 0.31 KiB
2024-05-16T18:21:18.398394270Z dist/css/chunk-4ef6dcf5.f9dd4bd8.css 0.88 KiB 0.30 KiB
2024-05-16T18:21:18.398397325Z dist/css/chunk-f539423c.4b2b2c2a.css 0.88 KiB 0.33 KiB
2024-05-16T18:21:18.398400371Z dist/css/chunk-3a3d0cd8.5aaf7cba.css 0.88 KiB 0.33 KiB
2024-05-16T18:21:18.398406833Z dist/css/chunk-11e20f6f.070a8cfa.css 0.87 KiB 0.35 KiB
2024-05-16T18:21:18.398409919Z dist/css/chunk-b7e4a5ce.df4ad987.css 0.86 KiB 0.32 KiB
2024-05-16T18:21:18.398412945Z dist/css/chunk-f38e0ad2.1ea48a31.css 0.84 KiB 0.28 KiB
2024-05-16T18:21:18.398415950Z dist/css/chunk-0894290e.edb63a9d.css 0.79 KiB 0.32 KiB
2024-05-16T18:21:18.398418966Z dist/css/chunk-0387fd77.7aa83618.css 0.75 KiB 0.28 KiB
2024-05-16T18:21:18.398421982Z dist/css/chunk-6b5de1e1.9eb66c9f.css 0.71 KiB 0.31 KiB
2024-05-16T18:21:18.398425007Z dist/css/chunk-44cb61f1.025edb8a.css 0.69 KiB 0.31 KiB
2024-05-16T18:21:18.398428053Z dist/css/chunk-736b2ef0.98820bcd.css 0.60 KiB 0.33 KiB
2024-05-16T18:21:18.398431079Z dist/css/chunk-677c8830.df6a5b00.css 0.59 KiB 0.23 KiB
2024-05-16T18:21:18.398434135Z dist/css/chunk-284f6914.58ade778.css 0.46 KiB 0.24 KiB
2024-05-16T18:21:18.398437160Z dist/css/chunk-06ec1263.a96662f9.css 0.46 KiB 0.22 KiB
2024-05-16T18:21:18.398440196Z dist/css/chunk-0c51289a.d6684378.css 0.38 KiB 0.17 KiB
2024-05-16T18:21:18.398443222Z dist/css/chunk-1e169674.98a4aa99.css 0.36 KiB 0.16 KiB
2024-05-16T18:21:18.398446247Z dist/css/chunk-75cc9f4d.98a4aa99.css 0.36 KiB 0.16 KiB
2024-05-16T18:21:18.398449273Z dist/css/chunk-d42744f4.f1c873fc.css 0.36 KiB 0.16 KiB
2024-05-16T18:21:18.398452309Z dist/css/chunk-674ac328.d604576c.css 0.36 KiB 0.19 KiB
2024-05-16T18:21:18.398455345Z dist/css/chunk-2ab49ff8.2ca1d591.css 0.36 KiB 0.16 KiB
2024-05-16T18:21:18.398458390Z dist/css/chunk-4a72a42d.3839d02e.css 0.31 KiB 0.20 KiB
2024-05-16T18:21:18.398461426Z dist/css/chunk-c0f28fc6.b67ed63a.css 0.22 KiB 0.16 KiB
2024-05-16T18:21:18.398464452Z dist/css/chunk-3767f013.c9ab3ab3.css 0.11 KiB 0.10 KiB
2024-05-16T18:21:18.398467487Z dist/css/chunk-cee89fa8.0918bc41.css 0.08 KiB 0.10 KiB
2024-05-16T18:21:18.398470513Z dist/css/chunk-b54d81ae.61a081a9.css 0.08 KiB 0.10 KiB
2024-05-16T18:21:18.398473549Z dist/css/chunk-665a1900.eeb31e13.css 0.07 KiB 0.09 KiB
2024-05-16T18:21:18.398476574Z dist/css/chunk-b25c821e.f58ec558.css 0.07 KiB 0.09 KiB
2024-05-16T18:21:18.398479580Z dist/css/chunk-c02e690a.ccf83212.css 0.06 KiB 0.08 KiB
2024-05-16T18:21:18.398482636Z dist/css/chunk-0f886a7e.2b7bc7a4.css 0.06 KiB 0.07 KiB
2024-05-16T18:21:18.398485672Z dist/css/chunk-0044633e.0e433876.css 0.00 KiB 0.02 KiB
2024-05-16T18:21:18.398489068Z dist/css/chunk-7132ce43.0e433876.css 0.00 KiB 0.02 KiB
2024-05-16T18:21:18.398492104Z dist/css/chunk-72e3b16c.0e433876.css 0.00 KiB 0.02 KiB
2024-05-16T18:21:18.398498546Z dist/css/chunk-73f090a0.0e433876.css 0.00 KiB 0.02 KiB
2024-05-16T18:21:18.398501642Z
2024-05-16T18:21:18.398504607Z Images and other types of assets omitted.
2024-05-16T18:21:18.398507573Z
2024-05-16T18:21:18.398510468Z DONE Build complete. The dist directory is ready to be deployed.
2024-05-16T18:21:18.398513504Z INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
2024-05-16T18:21:18.398516620Z

Here is the Compose file:

version: "2.1"
services:
dashy:
image: lissy93/dashy:latest
container_name: Dashy
volumes:
- /var/lib/docker/volumes/dashy/conf/:/app/user-data/
- /var/lib/docker/volumes/dashy/icons:/app/public/item-icons/
- /var/lib/docker/volumes/dashy/pages/:/app/public/pages/
ports:
- 4000:80
environment:
- NODE_ENV=production
- UID=1001
- GID=100
restart: always

@CrazyWolf13
Copy link
Collaborator

Hi
Thanks for the details
You used the port 80, but dashy V3 runs on port 8080 as explained here:

Please read this carefully:
#1529

@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label May 17, 2024
@jpcapone
Copy link
Author

Thanks for the clarification. I was able to make that change but I found that the page would not load unless I did this:
- /var/lib/docker/volumes/dashy/conf/conf.yml:/app/user-data/conf.yml

So I am not sure if I had done a clean install and copied over my old conf file if that would have worked but I didn't want to risk it.

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label May 20, 2024
@CrazyWolf13
Copy link
Collaborator

Awesome, good to hear that it worked out for you.

Yeah mounting the conf file directly is also possible.

@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working
Projects
Status: Done
Development

No branches or pull requests

4 participants