mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
🐛 Bug Report: Initial Setup Fails #411
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 @boomam on GitHub.
Reproduction steps
Deploying via the Unraid template for testing - unable to do any login whatsoever as it doesn't let me register or create a passkey. Proxy in front of Pocket-ID is Traefik, accessing via HTTPS.
If i go to the initial /admin/setup URL, i get
Something went wrong Not FoundIf i then try a normal login i get prompted for a passkey, but only mobile based passkeys, but i don't get the option to create one.
As a result, i cannot login or test.
Are there some missing setup steps perhaps?
Thanks!
Expected behavior
Allow me to create an initial admin passkey and continue.
Actual Behavior
Doesn't allow me to do anything.
@boomam commented on GitHub:
Yes, the environment variable was correctly set.
Reverting it to
PUBLIC_APP_URL, and running the browser dev tool logs shows nothing, literally nothing, for some reason.Tested a different site, and logs do appear in the console...
Accessing /admin/setup however gives the following in the console/log -
@stonith404 commented on GitHub:
Oops sorry I meant
PUBLIC_APP_URL. So this variable is correctly set to the URL where you try to access Pocket ID?Can you share the logs of the browser dev tools?
@boomam commented on GitHub:
Different issue after changing that environment variable to the correct name.
This time i cannot get the passkey prompt at all.
Logs this time -
@stonith404 commented on GitHub:
Can you share the logs? And did you set the environment variable "APP_URL" correctly?
@boomam commented on GitHub:
Hey,
The logs dont show anything, just confirmation of access -
Checking the Unraid template, looks like its setting
PUBLIC_APP_URLinstead ofAPP_URL, give me a few mins to test...@stonith404 commented on GitHub:
You should visit
/login/setupinstead of/admin/setup.@boomam commented on GitHub:
That works!
I can get into the admin GUI now.
@stonith404 commented on GitHub:
Ok, great!