dashy
dashy copied to clipboard
[BUG] After update Dashy is not authenticating and guest mode is always on
Environment
Self-Hosted (Docker)
System
Docker 20.10.18
Version
2.1.1
Describe the problem
When opening my dashboard I noticed that I wasn't logged in (I couldn't change anything) but I could see my links, even if I tried manually setting enableGuestAccess: false
on config.yml.
I tried hideForGuests: true in a couple sessions too, that cause the whole browser screen to disappear.
Rolling back to 2.1.0 fixed the problem.
Additional info
No response
Please tick the boxes
- [X] You have explained the issue clearly, and included all relevant info
- [X] You are using a supported version of Dashy
- [X] You've checked that this issue hasn't already been raised
- [X] You've checked the docs and troubleshooting guide
- [X] You agree to the code of conduct
I have encounter the same bug as well, running 2.1.1 on docker, no matter how I edit the config, the guest access is always on
Same bug on 2.1.1, revert to 2.1.0 and authentications works again
The issue is that if a user is not logged on in 2.1.1 it will allow one to go to the base / URL and it won't enforce /login like 2.0.1. I reverted for now this is an unreliable auth method in the meantime. I also noticed in 2.1.1 it will pass the yaml checker but if the enableGuestAccess: false is not in the yaml auth will not work. The documentation says in appconfig.auth this is optional and defaults to false, but if this is not in 2.1.1 it will not auth at all, among the bug.
I am experiencing this, as well.
Same problem here, working fine when I roll back to 2.1.0
I had the same issue updating to 2.1.1, but rolling back to 2.1.0 did not resolve the issue. I had to roll back to 2.0.0 to get the login working again. It had been a while since the docker was updated, maybe there was some intermediate change to the config that was not checked in 2.1.0 that leads to a similar issue as this 2.1.1 bug.
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.
Any update on this?
I got a similar issue on 2.1.1 - adding the appConfig.auth section with one user and setting enableGuestAccess to false doesn't do anything - I don't get any login screen, manually going to /login redirects to the dashboard, and all links are visible, even those that are hidden for guests.
I just noticed that the whole authentication thing seems to work when setting enableGuestAccess to true, but not when it's set to false
Unfortunately not for me. All versions higher than v2.1.0 break the login for me, no matter what enableGuestAccess
is set to.
Have the same problem! Hope it will be be resolved soon!
Same issue. Hope to release a new version to fix it.
I believe I found the issue - see https://github.com/Lissy93/dashy/issues/1290#issuecomment-1884249018 for a full writeup.
Hi This problems seems to be related to dashy not automatically rebuilding on changes, see #1479 and https://github.com/Lissy93/dashy/issues/1290#issuecomment-1884249018 A new release has just been published, which should fix this issue, so please upgrade to the latest version. If this is not the case just respond back to this ticket and I'll reopen this issue. Thanks and have a nice day.
Docker not yet updated?
% sudo docker compose up -d && sudo docker compose logs -f [+] Running 1/1 ✘ dashboard Error 1.8s Error response from daemon: manifest for lissy93/dashy:2.1.2 not found: manifest unknown: manifest unknown
I tried latest
as well but that still gives me 2.1.1
Docker not yet updated?
% sudo docker compose up -d && sudo docker compose logs -f [+] Running 1/1 ✘ dashboard Error 1.8s Error response from daemon: manifest for lissy93/dashy:2.1.2 not found: manifest unknown: manifest unknown
I tried
latest
as well but that still gives me 2.1.1
Please give us a moment, see here: https://github.com/Lissy93/dashy/discussions/1484#discussioncomment-8658525