plankanban / planka

The realtime kanban board for workgroups built with React and Redux.
https://planka.app
GNU Affero General Public License v3.0
8.01k stars 747 forks source link

Reset forgotten password? #335

Open scepterus opened 1 year ago

scepterus commented 1 year ago

Hello, I've been using planka for a couple of months now and have a lot of data on it. I've run into an issue twice now where I was somehow locked outside and could not access it. Once was when I migrated to a new form of docker, luckily then I had a backup of the db folder, so I just pointed the docker to that, and I was good. Now is the second time, since it won't accept my password. What I suspect happened was during the first issue I mentioned, there was a time I tried setting up planka from scratch and forgot about the backup. That password was saved to my browser on top of the old one.

Anyway, now I am stuck outside the gui, with no password and no way back in, since if I remember correctly, I removed the demo account.

I tried accessing the password from the postgress db, but my knowledge of db syntax is limited, and I doubt it's saved there anyway in plain text.

How can I get back in then? If not, is there a way for me to get the data out? Also, there should be a way to export/backup boards or projects outside in case you want to migrate them to another instance. Thanks.

meltyshev commented 1 year ago

Hello! You can follow https://github.com/plankanban/planka/issues/327 to reset your password. We will definitely add normal password recovery, if not via email, then maybe somehow via environment variables for the first time. Backup is on our roadmap too 🙂

scepterus commented 1 year ago

Thanks for the superfast reply! I found the issue, it was because I was using the hostname and not IP. I should maybe update the docker file, is there a way to have both IP and hostname in BASE_URL: ?

meltyshev commented 1 year ago

Unfortunately, it's not possible right now 🙁 We discussed it here https://github.com/plankanban/planka/issues/298 and it really should be fixed.

scepterus commented 1 year ago

But this limitation is kind of self-imposed, no? If you do not specify the BASE_URL, it would work from anywhere, right? I get the need for securing that, but I'm pretty sure other dockers I've used can access from both. I could be wrong, though.

meltyshev commented 1 year ago

If you do not specify the BASE_URL, it would work from anywhere, right?

Not really, the whole problem is links to uploaded files and links to static files. Planka adds the specified BASE_URL to them.

I'm gonna try to dive into this now, maybe I can fix it quickly.

neokeats commented 2 weeks ago

Any news on a classic forgot password feature ?