alpine-tinyauth LXC isn't working #1089

Closed
opened 2026-02-04 23:00:58 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @olli991 on GitHub (Jun 11, 2025).

Originally assigned to: @tremor021 on GitHub.

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

alpine-tinyauth

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-tinyauth.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Alpine

📝 Provide a clear and concise description of the issue.

Script is correctly installing the container but the tinyauth service is crashing within the container.

🔄 Steps to reproduce the issue.

  1. Installed the package the usual way (default)
  2. Installations script is showing success
  3. Actually checking within the container if the service is running (because it wasn't working): It's showing crashed

There are no logs I can find on Alpine to see why it's crashing. Please advise

Paste the full error output (if available).

Image

🖼️ Additional context (optional).

You can also not login to the console of the LXC because its password locked and you don't know the pasword.
Autologin isn't working.
Logging in via pct enter ID from host is working and you could reset the password but that a bit confusion, compared to all other scripts i've used.

Originally created by @olli991 on GitHub (Jun 11, 2025). Originally assigned to: @tremor021 on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? alpine-tinyauth ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-tinyauth.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Alpine ### 📝 Provide a clear and concise description of the issue. Script is correctly installing the container but the tinyauth service is crashing within the container. ### 🔄 Steps to reproduce the issue. 1. Installed the package the usual way (default) 2. Installations script is showing success 3. Actually checking within the container if the service is running (because it wasn't working): It's showing `crashed` There are no logs I can find on Alpine to see why it's crashing. Please advise ### ❌ Paste the full error output (if available). ![Image](https://github.com/user-attachments/assets/392d1705-6119-46fc-8c02-be05f8016301) ### 🖼️ Additional context (optional). You can also not login to the console of the LXC because its password locked and you don't know the pasword. Autologin isn't working. Logging in via `pct enter ID` from host is working and you could reset the password but that a bit confusion, compared to all other scripts i've used.
OVERLORD added the bug label 2026-02-04 23:00:58 +03:00
Author
Owner

@tremor021 commented on GitHub (Jun 11, 2025):

@olli991 cat /var/log/messages

@tremor021 commented on GitHub (Jun 11, 2025): @olli991 `cat /var/log/messages`
Author
Owner

@tremor021 commented on GitHub (Jun 11, 2025):

@steveiliop56 the binary we download straight up wont start. Can you check this. It doesn't work for me either or @michelroegl-brunner when he tested. We all get the same error. The script fetches it like this:

RELEASE=$(curl -s https://api.github.com/repos/steveiliop56/tinyauth/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
curl -fsSL "https://github.com/steveiliop56/tinyauth/releases/download/v${RELEASE}/tinyauth-amd64" -o /opt/tinyauth/tinyauth
chmod +x /opt/tinyauth/tinyauth

We get this error:

alpine-test:/opt/tinyauth# ./tinyauth 
-sh: ./tinyauth: not found
@tremor021 commented on GitHub (Jun 11, 2025): @steveiliop56 the binary we download straight up wont start. Can you check this. It doesn't work for me either or @michelroegl-brunner when he tested. We all get the same error. The script fetches it like this: ```bash RELEASE=$(curl -s https://api.github.com/repos/steveiliop56/tinyauth/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') curl -fsSL "https://github.com/steveiliop56/tinyauth/releases/download/v${RELEASE}/tinyauth-amd64" -o /opt/tinyauth/tinyauth chmod +x /opt/tinyauth/tinyauth ``` We get this error: ``` alpine-test:/opt/tinyauth# ./tinyauth -sh: ./tinyauth: not found ```
Author
Owner

@steveiliop56 commented on GitHub (Jun 11, 2025):

Hello!

Can you check if the binary is actually a binary? Either with file or just cat it.

@steveiliop56 commented on GitHub (Jun 11, 2025): Hello! Can you check if the binary is actually a binary? Either with `file` or just `cat` it.
Author
Owner

@steveiliop56 commented on GitHub (Jun 11, 2025):

Oh crap I found the issue. It is probably CGO. I think it compiles the binary with dynamic linking and thus glibc which is not supported by alpine. I will release a patch fix in an hour or so.

@steveiliop56 commented on GitHub (Jun 11, 2025): Oh crap I found the issue. It is probably CGO. I think it compiles the binary with dynamic linking and thus glibc which is not supported by alpine. I will release a patch fix in an hour or so.
Author
Owner

@steveiliop56 commented on GitHub (Jun 11, 2025):

@olli991 @tremor021 the latest version of tinyauth should work correctly.

@steveiliop56 commented on GitHub (Jun 11, 2025): @olli991 @tremor021 the [latest](https://github.com/steveiliop56/tinyauth/releases/tag/v3.4.1) version of tinyauth should work correctly.
Author
Owner

@michelroegl-brunner commented on GitHub (Jun 11, 2025):

@steveiliop56 Thank you it is running again!

@michelroegl-brunner commented on GitHub (Jun 11, 2025): @steveiliop56 Thank you it is running again!
Author
Owner

@tremor021 commented on GitHub (Jun 11, 2025):

can confirm too

@tremor021 commented on GitHub (Jun 11, 2025): can confirm too
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1089