-
-
Notifications
You must be signed in to change notification settings - Fork 818
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Not able to log in after installation #1018
Comments
Here's the .env file with credentials removed , and hastags removed (side question, can i still add hashtags to comments on github without them looking like this?: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax) Required BASE_URL=http://192.168.150.9:1337 Optional LOG_FILE= TRUST_PROXY=0 related: knex/knex#2354 Configure knex to accept SSL certificates DEFAULT_ADMIN_EMAIL=[custom] # Do not remove if you want to prevent this user from being edited/deleted SHOW_DETAILED_AUTH_ERRORS=false # Set to true to show more detailed authentication error messages. It should not be enabled without a rate limiter for security reasons. S3_ENDPOINT= OIDC_ISSUER= |
Hi! Is there any output in the console when you try to run You can also check if the user was created by running
I usually wrap everything related to code or variables in a code block: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks. |
When i run "npm run db:init && npm start --prod" i get the following output:
And when i run "npm run db:init", i only get the following:
I've tried running the Postgre command but only getting this output:
Probably something that i've not done correct |
Ah, please try putting the |
My bad, it should be in single quotes 🙈
Btw, the second variant is correct, no |
It seems that, for some reason, Planka isn't recognizing your environment variables. It's difficult to say exactly what the problem might be, but here are a few things to check:
If everything appears correct, you can try creating an initial user by specifying these variables before running the init command:
|
Would this be the correct config for .env?:
|
Yep, but it's better to remove the spaces before
|
Thanks for your help so far. I'll test this later today or tomorrow. 😃 |
Where is the problem occurring?
I encountered the problem while using the application (Frontend)
What browsers are you seeing the problem on?
Firefox, Chrome, Brave
Current behaviour
After installation (following this guide: https://docs.planka.cloud/docs/installation/manual_installation/debian_ubuntu) of Planka on a Ubuntu Server VM, i'm not able to login using the default admin username, og default admin password that i have provided in the .env file. I get the following error message: Invalid credentials
Desired behaviour
To be able to login with the credentials that i've provided in the .env file
DEFAULT_ADMIN_EMAIL
DEFAULT_ADMIN_PASSWORD
DEFAULT_ADMIN_NAME
DEFAULT_ADMIN_USERNAME
Steps to reproduce
Other information
I consider myself pretty good with Windows, but i don't have that confidence when it comes to Linux. Please be patient with me if there's some things i don't understand. 😅
The text was updated successfully, but these errors were encountered: