mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-21 09:21:15 -05:00
Installer doesn't produce initial install administrator's code to create admin account
#762
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 @devinhedge on GitHub (Nov 5, 2025).
Describe the Bug
I don't know what to say other than what the title says.
I used the installer, had to wipe the machine, re-ran the installer, destroyed the machine and created a new VPS for a clean install. Each time the installer never produced the first login admin key so I could never finish setting up the pangolin server.
I look at how well this is using multiple FOSS tools integrated together and can appreciate the difficulty in getting the "first run" install to just work and I'm amazed that it even goes as far as it does. Well done. Without the ability to "regenerate" or get that admin key, it's useless to me.
Environment
To Reproduce
Steps to recreate:
curl -fsSL https://pangolin.net/get-installer.sh | bashsudo ./installerAccess the dashboard and everything looks fine
I don't have the Setup Token to continue.
Expected Behavior
Setup token generated during installation so I can complete the server configuration through the web page.
@miloschwartz commented on GitHub (Nov 5, 2025):
If you run
docker compose downthendocker compose upand watch the logs on startup, it should print the token somewhere in the logs statements.@devinhedge commented on GitHub (Nov 5, 2025):
I appreciate the work-around. I'll give that a try.
Even so, either the docs need to be updated (documentation bug), or the code needs to be fixed (code bug).
I ran into a different behavior while trying to install that I commented on here. I now have a feeling that it may be related some how. Even though the previous error was likely a transient problem with downloading the docker images, I think there is some bit of the installer code that isn't handling bringing up the docker instances in a way that handles all of the permutations that isn't being caught and so it appears the installer is ending prematurely before passing back the admin code and completion message.
@devinhedge commented on GitHub (Nov 5, 2025):
I was able to get the admin key using
tmuxsplit screen, split the window, ransudo docker logs -f pangolinin one window, anddocker compose downthendocker compose upin the other.I definately think there is something going on in the installer, though.
What a wonderful thing that has been created here. Many thanks to the developers.
@miloschwartz commented on GitHub (Nov 5, 2025):
Thanks @devinhedge glad you got it working. Will try to replicate the install, but closing this for now.