mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
Forgotten my login details #246
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jimbob111 on GitHub (Nov 13, 2022).
Hello,
I'm trying to login and have forgotten/changed my login details so cannot login unless I reinstall.
Running Planka in docker and have access to my compose file but don't know how to access the db to find my password.
Is there a way to do this??
Thanks.
@meltyshev commented on GitHub (Nov 15, 2022):
Hello!
It's a little complicated, but unfortunately it's the only way so far.
First connect to the Planka container (
planka-planka-1is its name):Then enter the console:
Then update your password:
Then exit everywhere:
@jimbob111 commented on GitHub (Nov 15, 2022):
Hi meltyshev,
Thanks for getting back - did as above (copy &paste) - have only changed email and username below
(async () => { const user = await sails.helpers.users.getOne({ email: 'my@addyhere.com'}); await sails.helpers.users.updateOne(user, { password: 'myplankapasswd' }, user); })();I get following errors showing in the sails cli
@meltyshev commented on GitHub (Nov 15, 2022):
Hm, it looks like a user with the specified email was not found 🤔
You can try to display all users to see if there is a user with the specified email among them:
@jimbob111 commented on GitHub (Nov 15, 2022):
Thanks - the code above did help, been able to login , now but its all like a first install (default - demo) so have to input everything back in again.
My fault though - I did update planka a few nights prior and it looks like it/ I wiped my old settings doing that. Lesson learned.
Thanks for your help though and a great kanban board - I love it!!! Much appreciated.