Can't log into fresh installation #368

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

Originally created by @philer on GitHub (Oct 22, 2023).

I just installed Planka for the first time on TrueNAS via the official charts here. The site is accessible on my local network (login page) but I can't login. The default demo@demo.demo with password demo doesn't work ("Invalid e-mail or username").

Anything I can do to fix that? Also shouldn't there be some kind of registration form?

I'm not quite sure if this is an issue with Planka or the configuration in those charts, but since the configuration looks fairly standard I thought I'd ask here first.

Originally created by @philer on GitHub (Oct 22, 2023). I just installed Planka for the first time on TrueNAS via the official charts [here](https://github.com/truenas/charts/tree/master/community/planka/1.0.5). The site is accessible on my local network (login page) but I can't login. The default `demo@demo.demo` with password `demo` doesn't work ("Invalid e-mail or username"). Anything I can do to fix that? Also shouldn't there be some kind of registration form? I'm not quite sure if this is an issue with Planka or the configuration in those charts, but since the configuration looks fairly standard I thought I'd ask here first.
Author
Owner

@daniel-hiller commented on GitHub (Oct 22, 2023):

Hi,
the TrueNAS charts are not maintained by us.

We have updated planka, a few times in the last days.

Please ask the maintainer of the chart for an update.

Greetings
Daniel

@daniel-hiller commented on GitHub (Oct 22, 2023): Hi, the TrueNAS charts are not maintained by us. We have updated planka, a few times in the last days. Please ask the maintainer of the chart for an update. Greetings Daniel
Author
Owner

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

Hi! It seems we forgot to add a recent change to the documentation about creating an initial admin account.
You need to add these environment variables:

DEFAULT_ADMIN_EMAIL=YOUR_ADMIN_EMAIL # Do not remove if you want to prevent this user from being edited/deleted
DEFAULT_ADMIN_PASSWORD=YOUR_ADMIN_PASSWORD
DEFAULT_ADMIN_NAME=YOUR_ADMIN_NAME
DEFAULT_ADMIN_USERNAME=YOUR_ADMIN_USERNAME

And then the initial user will be created at startup.

UPD: unfortunately I don't know how to add them in your case, but if helm install is used, they can be added via --set env.DEFAULT_ADMIN_EMAIL="YOUR_ADMIN_EMAIL" --set env.DEFAULT_ADMIN_PASSWORD="YOUR_ADMIN_PASSWORD" --set env.DEFAULT_ADMIN_NAME="DEFAULT_ADMIN_NAME" --set env.DEFAULT_ADMIN_USERNAME="DEFAULT_ADMIN_USERNAME".

@meltyshev commented on GitHub (Oct 22, 2023): Hi! It seems we forgot to add a recent change to the documentation about creating an initial admin account. You need to add these environment variables: ``` DEFAULT_ADMIN_EMAIL=YOUR_ADMIN_EMAIL # Do not remove if you want to prevent this user from being edited/deleted DEFAULT_ADMIN_PASSWORD=YOUR_ADMIN_PASSWORD DEFAULT_ADMIN_NAME=YOUR_ADMIN_NAME DEFAULT_ADMIN_USERNAME=YOUR_ADMIN_USERNAME ``` And then the initial user will be created at startup. UPD: unfortunately I don't know how to add them in your case, but if `helm install` is used, they can be added via `--set env.DEFAULT_ADMIN_EMAIL="YOUR_ADMIN_EMAIL" --set env.DEFAULT_ADMIN_PASSWORD="YOUR_ADMIN_PASSWORD" --set env.DEFAULT_ADMIN_NAME="DEFAULT_ADMIN_NAME" --set env.DEFAULT_ADMIN_USERNAME="DEFAULT_ADMIN_USERNAME"`.
Author
Owner

@philer commented on GitHub (Oct 22, 2023):

Thanks, I'll pass it on.

Please ask the maintainer of the chart for an update.

It's already up-to-date.

@philer commented on GitHub (Oct 22, 2023): Thanks, I'll pass it on. > Please ask the maintainer of the chart for an update. It's already up-to-date.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#368