dashy icon indicating copy to clipboard operation
dashy copied to clipboard

[BUG] After update Dashy is not authenticating and guest mode is always on

Open saint11 opened this issue 1 year ago • 13 comments

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

saint11 avatar Mar 01 '23 08:03 saint11

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

xyzeratul avatar Mar 01 '23 13:03 xyzeratul

Same bug on 2.1.1, revert to 2.1.0 and authentications works again

pabloalcantara avatar Mar 02 '23 17:03 pabloalcantara

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.

psychic69 avatar Mar 12 '23 03:03 psychic69

I am experiencing this, as well.

liquidthex avatar Apr 02 '23 03:04 liquidthex

Same problem here, working fine when I roll back to 2.1.0

MadDirtMonkey avatar Apr 03 '23 15:04 MadDirtMonkey

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.

stevenmccall avatar Apr 04 '23 00:04 stevenmccall

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.

liss-bot avatar May 05 '23 01:05 liss-bot

Any update on this?

CaptainSanders avatar May 05 '23 07:05 CaptainSanders

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.

mfnalex avatar Jun 21 '23 09:06 mfnalex

I just noticed that the whole authentication thing seems to work when setting enableGuestAccess to true, but not when it's set to false

mfnalex avatar Jun 21 '23 09:06 mfnalex

Unfortunately not for me. All versions higher than v2.1.0 break the login for me, no matter what enableGuestAccess is set to.

zell-mbc avatar Jun 26 '23 07:06 zell-mbc

Have the same problem! Hope it will be be resolved soon!

sr-as2 avatar Jun 28 '23 14:06 sr-as2

Same issue. Hope to release a new version to fix it.

Jefffish09 avatar Jul 23 '23 14:07 Jefffish09

I believe I found the issue - see https://github.com/Lissy93/dashy/issues/1290#issuecomment-1884249018 for a full writeup.

TheRealGramdalf avatar Jan 10 '24 06:01 TheRealGramdalf

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.

CrazyWolf13 avatar Mar 03 '24 17:03 CrazyWolf13

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

zell-mbc avatar Mar 03 '24 19:03 zell-mbc

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

CrazyWolf13 avatar Mar 03 '24 19:03 CrazyWolf13