mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
demo login doesnt work #377
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 @lucreista on GitHub (Oct 31, 2023).
installed on a fresh ubuntu 22.04 vps, demo details doesnt work, tried reinstalling and same thing happens
@meltyshev commented on GitHub (Oct 31, 2023):
Hi! We recently changed the creation of the initial admin account. You have to add these environment variables:
This should be covered in the docs: https://docs.planka.cloud/docs/category/installalation/.
@lucreista commented on GitHub (Oct 31, 2023):
added it to the .env file but still cant even after a restart
@meltyshev commented on GitHub (Oct 31, 2023):
Hm, that's weird. Could you please show your
.envfile (need to remove all secret data).@Nachtwind85 commented on GitHub (Nov 6, 2023):
I have the same problem.
Just created a fresh Ubuntu 22.04 vps and ran the installer.
/opt/planka/.env looks like this:
Yet despite multiple
/opt/planka# docker compose --env-file .env up -dand downs it wont reckognize my E-Mail or username.
After removing virtuall everything i restarted the whole thing without any success:
Still my User/Pass or Mail/Pass is not recognized.
@meltyshev commented on GitHub (Nov 6, 2023):
Hi! It looks like I forgot to convert username and email to lower case when creating an initial user (this should definitely be fixed). Does your email also have an uppercase letter in it?
@Nachtwind85 commented on GitHub (Nov 6, 2023):
No,
I just checkked by copy pasting the very same address i used in the .env into the login. Its a habit anyway i do to keep everything lowercased for logins..
@meltyshev commented on GitHub (Nov 6, 2023):
Just tested it with
docker compose --env-file .env up -dand got the same problem, trying to figure out why....@meltyshev commented on GitHub (Nov 6, 2023):
I don't know why it doesn't work with
--env-file .env, please try to uncomment and edit theDEFAULT_ADMIN_*environment variables directly indocker-compose.ymland restart the container.@Nachtwind85 commented on GitHub (Nov 6, 2023):
This is the docker-compose.yml created/downloaded by the installer:
@Nachtwind85 commented on GitHub (Nov 6, 2023):
Well... i am one step ahead and could log in. Now i am facing and endless circle ;)
Gonna recreate the whole thing... brb
@Nachtwind85 commented on GitHub (Nov 6, 2023):
OK... still nothing...
but this should be unrelated to the .env problem...
@meltyshev commented on GitHub (Nov 6, 2023):
Oops, we need to update it. Thanks for reporting!
There is no connection to the database 🤔 Please check
DATABASE_URLand that it's running.@Nachtwind85 commented on GitHub (Nov 6, 2023):
Just checked:
planka_db log:
Docker compose:
Not sure here but the connection string looks ok. Tried it with "localhost" instead - same effect.
@meltyshev commented on GitHub (Nov 6, 2023):
Please clarify, are you having an infinite loading or
Error: connect ECONNREFUSED 172.22.0.2:5432and Planka doesn't start at all? Because this error can be in the logs when the database starts before Planka starts, but this is normal.@Nachtwind85 commented on GitHub (Nov 6, 2023):
Just had another look at logs of "planka":
To me that looks like planka didnt retry the connection...
@meltyshev commented on GitHub (Nov 6, 2023):
It looks like Planka started up normally. I'm lost in the problem, is it still "Now i am facing and endless circle ;)"?
@Nachtwind85 commented on GitHub (Nov 6, 2023):
I cleared cookies etc and was able to log in but still the "circle" keeps turning endlessly.
Is there any verbose debugging i can activate to help?
@Nachtwind85 commented on GitHub (Nov 6, 2023):
From the Developer console in Vivaldi:
@meltyshev commented on GitHub (Nov 6, 2023):
Most likely the problem is that the
BASE_URLis specified incorrectly or not specified.You have in
docker-compose.yml:So you need to specify the correct
BASE_URLandSECRET_KEYvia the.envfile and run withdocker compose --env-file .env up -d. Or simply specifyBASE_URLandSECRET_KEYdirectly in thedocker-compose.ymlfile. TheBASE_URLmust exactly match the address in the browser.@Nachtwind85 commented on GitHub (Nov 6, 2023):
I checked and tested both the BASE_URL in the compose and .env file.
Still the circle awaits me (after cleaning cookies and logging in again).
If i incorrectly set the base url (adding a trailing / or removing http etc) i dont make it to the login at all. So i suppose the base URL is correct at this point.
@meltyshev commented on GitHub (Nov 6, 2023):
Sorry, I just can't reproduce it :(
Maybe there is something wrong with the installer or some part of it isn't fully updated. We'll try to test it.
@Nachtwind85 commented on GitHub (Nov 6, 2023):
ok, just for completeness..
I just installed the manual docker installation (not using the script) on a fresh unrelated debian and besides having the same problem with the username i get the same trouble of being unable to get the thing running..
Would it help you if i give you direct ssh access to my vps to track down the problem?
@daniel-hiller commented on GitHub (Nov 6, 2023):
Hi @Nachtwind85 ,
i pushed an update for the installer. now the installer will ask for default admin credentials.
Anf no, we do not provide any support via SSH.
@Nachtwind85 commented on GitHub (Nov 6, 2023):
Hello Daniel,
Thank you for the updated installer. I think i will just reinstall the system and try again later. As for the SSH - it just appeared to me as support.. before you answered i thought about it as helping you guys to find a problem that may be in the installer/installed system. Sorry if it looked like a beg for free support ;)
@Nachtwind85 commented on GitHub (Nov 7, 2023):
As a short followup...
I reinstalled on a fresh Ubuntu 22.04 with the new installer (Thank you Daniel!) using the option without SSL (as i did yesterday) and ended up at the neverending wheel yet again.
Reinstalled the system yet again this time by accident into Debian 12 i installed Planka using the new installer WITH SSL and it works now right away.
So no idea what did the trick here, wether it was the OS or the SSL option.. but maybe this information helps you.
@neonwatty commented on GitHub (Jun 23, 2024):
Same problem here. I installed with docker-compose. Images pulled successfully, and containers start.
I can enter the planka container and echo out the default username, password, and email correctly.
However the defaults do not on login.