Lissy93 / dashy

🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
https://dashy.to
MIT License
18.06k stars 1.36k forks source link

SEVERE bug in Dashy - looping reinstall after adding basic auth to conf.yml #1614

Closed don-ferris closed 3 months ago

don-ferris commented 5 months ago

Environment

Self-Hosted (Docker)

System

Mint 21.3

Version

3.1.1

Describe the problem

I put the finishing touches on Dashy while I was at work today. Had everything right where I wanted it including customizing the colors on Material Dark theme. A couple hours and I went back to it, expecting to be logged out. At that point, I realized there was no login. So I went to the docs and realized this is not a default feature in Dashy. So I added basic auth as per the instructions in the docs. Logged in and logged out a couple times - great!

I came back to it an hour or so later and I couldn’t get to it. I mean it was just down. So I came home and accessed it locally. I got a screen saying Dashy was ”Initializing”… IMG_1159 And when it finished, I got all my groups - but they were empty; no items. When I logged in, one of my groups (the one I setup a couple days ago) had items in it but none of the groups I’ve created/populated since then.

So I restarted the container, hoping for the best. When it came up, I got the “ Initializing”. When it finished and I logged in, same result - all my groups empty except for the one I setup a couple days ago. Now I was curious, so I restarted the container again. “ Initializing” screen AGAIN.

Everything worked great ‘til I added the basic auth.

Additional info

No response

Please tick the boxes

CrazyWolf13 commented 5 months ago

Hmm that kinda sounds like a caching issue, could you try clearing cache and cookies?

don-ferris commented 5 months ago

Done. Same result.

CrazyWolf13 commented 5 months ago

Could you post your conf.yml, and your log?

don-ferris commented 5 months ago

I'm unclear on "log". Is that the name of the file? Can you tell me where exactly to find it? conf.yml: pageInfo: title: Mission Control description: Donnie Ferris's Homelab navLinks:

Lissy93 commented 5 months ago

If you role back your most recent change, does everything work again? If clearing browser data didn't help, killing and restarting the container should fix it.

Rest assured, your config data should be fine, and unaffected. Dashy won't write anything to that file without you saving changes, and backups are always made in the user-data dir.

liss-bot commented 3 months ago

Issue closed due to no response from user.