Can't login to Planka anymore after latest update #369

Closed
opened 2026-02-04 18:49:00 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @MOHMOBILE on GitHub (Oct 18, 2023).

Hello everyone!

After today's update I sadly can't login to my Planka dashboard anymore.
If I try to enter my username and password, the Web-UI just shows the message: "unknown error, please try again later".
I took a look at the docker logs, and they just show this debug message every time I try to log in:

2023-10-18 18:34:20 [E] Sending 500 ("Server Error") response: Cannot read properties of undefined (reading 'isSso')

I automatically updated from V.1.12 to V.1.13 with my Watchtower. I use just the normal "latest" tag of the docker image.
I already tried to manually migrate the db, but it says, that it's "already up to date". Besides that, I didn't tamper with the database in any way.

Can you help me, so I can get back to my dashboards?

Thank you in advance and with best regards,
MOHMOBILE

Originally created by @MOHMOBILE on GitHub (Oct 18, 2023). Hello everyone! After today's update I sadly can't login to my Planka dashboard anymore. If I try to enter my username and password, the Web-UI just shows the message: "unknown error, please try again later". I took a look at the docker logs, and they just show this debug message every time I try to log in: `2023-10-18 18:34:20 [E] Sending 500 ("Server Error") response: Cannot read properties of undefined (reading 'isSso')` I automatically updated from V.1.12 to V.1.13 with my Watchtower. I use just the normal "latest" tag of the docker image. I already tried to manually migrate the db, but it says, that it's "already up to date". Besides that, I didn't tamper with the database in any way. Can you help me, so I can get back to my dashboards? Thank you in advance and with best regards, MOHMOBILE
Author
Owner

@meltyshev commented on GitHub (Oct 18, 2023):

Hi! Thanks for reporting this.
My bad, I mistakenly check for isSso before checking for user existence, I'm gonna fix it right now.
But the problem is that this bug only appears when you enter the wrong email/password. Are you trying to log in for demo@demo.demo account?

@meltyshev commented on GitHub (Oct 18, 2023): Hi! Thanks for reporting this. My bad, I mistakenly check for isSso before checking for user existence, I'm gonna fix it right now. But the problem is that this bug only appears when you enter the wrong email/password. Are you trying to log in for demo@demo.demo account?
Author
Owner

@meltyshev commented on GitHub (Oct 19, 2023):

The version with the fix has already been built.

If you need to reset your password and your account is admin, you can now use environment variables to do this. Just add these variables to the docker-compose.yml and restart the container:

- DEFAULT_ADMIN_EMAIL=[your e-mail]
- DEFAULT_ADMIN_PASSWORD=[your new password]

You can remove DEFAULT_ADMIN_PASSWORD afterwards to not show the password in docker-compose.yml or you can remove both of these variables and then you'll be able to change this user in Planka.

@meltyshev commented on GitHub (Oct 19, 2023): The version with the fix has already been built. If you need to reset your password and your account is admin, you can now use environment variables to do this. Just add these variables to the `docker-compose.yml` and restart the container: ``` - DEFAULT_ADMIN_EMAIL=[your e-mail] - DEFAULT_ADMIN_PASSWORD=[your new password] ``` You can remove `DEFAULT_ADMIN_PASSWORD` afterwards to not show the password in `docker-compose.yml` or you can remove both of these variables and then you'll be able to change this user in Planka.
Author
Owner

@MOHMOBILE commented on GitHub (Oct 19, 2023):

Hello meltyshev,

thank you for your quick and helpful answer!
If I remember correctly, I changed the email and password for the demo@demo.demo account.
Your quick fix gladly solved the issue, but I had to reset the password a couple of times.

Thank you and with best regards,
Darian Mohar

@MOHMOBILE commented on GitHub (Oct 19, 2023): Hello meltyshev, thank you for your quick and helpful answer! If I remember correctly, I changed the email and password for the demo@demo.demo account. Your quick fix gladly solved the issue, but I had to reset the password a couple of times. Thank you and with best regards, Darian Mohar
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#369