Authentik typo in script #278

Closed
opened 2026-02-04 17:40:22 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @ayoahha on GitHub (Jan 5, 2025).

Have you read and understood the above guidelines?

yes

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

Authentik

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

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/authentik.sh)"

📝 Provide a clear and concise description of the issue.

Hi,
The install of authentik is taking too long, and seems to be stuck at this step:

⠋ Setting up Python 3

(Maybe more than 10 minutes from beg...)


i was looking to the bash script, and saw maybe a typo, which should be related to the stuck install.
See screenshot:

image

See the space between 12 and 1, on the line:

$STD update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.12 1

It is required a point instead.
How can i help you?

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

Just launch the command above.

Paste the full error output (if available).

✔️ Using isos for Template Storage.
✔️ Using ceph_storage for Container Storage.
✔️ Updated LXC Template List
✔️ LXC Container 110 was successfully created.
⠋/dev/rbd3 LXC Container
✔️ Started LXC Container
✔️ Set up Container OS
✔️ Network Connected: REDACTED
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ DNS Resolved github.com to 140.82.121.3
✔️ Updated Container OS
✔️ Installed Dependencies
✔️ Installed yq
✔️ Installed GeoIP
⠧ Setting up Python 3

🖼️ Additional context (optional).

No response

Originally created by @ayoahha on GitHub (Jan 5, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Authentik ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/authentik.sh)" ### 📝 Provide a clear and concise description of the issue. Hi, The install of authentik is taking too long, and seems to be stuck at this step: ⠋ Setting up Python 3 (Maybe more than 10 minutes from beg...) --- i was looking to the bash script, and saw maybe a typo, which should be related to the stuck install. See screenshot: ![image](https://github.com/user-attachments/assets/3da210a9-650a-44e1-80f0-e72283b66b35) > See the space between 12 and 1, on the line: ```bash $STD update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.12 1 ``` It is required a point instead. How can i help you? ### ⚙️ What settings are you using? - [X] Default Settings - [X] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. Just launch the command above. ### ❌ Paste the full error output (if available). ✔️ Using isos for Template Storage. ✔️ Using ceph_storage for Container Storage. ✔️ Updated LXC Template List ✔️ LXC Container 110 was successfully created. ⠋/dev/rbd3 LXC Container ✔️ Started LXC Container ✔️ Set up Container OS ✔️ Network Connected: REDACTED ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ DNS Resolved github.com to 140.82.121.3 ✔️ Updated Container OS ✔️ Installed Dependencies ✔️ Installed yq ✔️ Installed GeoIP ⠧ Setting up Python 3 ### 🖼️ Additional context (optional). _No response_
Author
Owner

@oOStroudyOo commented on GitHub (Jan 5, 2025):

Whilst it does look like a typo, I don't believe it affects the install. It just uses /usr/local/bin/python3.12 as a folder instead of /usr/local/bin/python3.12.1

I am currently attempting to install authentik using the script as it currently is, I'm way past the part of Python being installed but I have been sat here for about 30 minutes now and it's still building.
If you're convinced it's still broken, run the script in Verbose mode and let us know where it's getting stuck at please.

@oOStroudyOo commented on GitHub (Jan 5, 2025): Whilst it does look like a typo, I don't believe it affects the install. It just uses `/usr/local/bin/python3.12` as a folder instead of `/usr/local/bin/python3.12.1` I am currently attempting to install authentik using the script as it currently is, I'm way past the part of Python being installed but I have been sat here for about 30 minutes now and it's still building. If you're convinced it's still broken, run the script in Verbose mode and let us know where it's getting stuck at please.
Author
Owner

@oOStroudyOo commented on GitHub (Jan 5, 2025):

image

@oOStroudyOo commented on GitHub (Jan 5, 2025): ![image](https://github.com/user-attachments/assets/f8dd273d-3471-49af-8afb-3f2470481a64)
Author
Owner

@oOStroudyOo commented on GitHub (Jan 5, 2025):

Tried it with the the directory as you suggested, it fails.
I assume that space was there for a reason then.

image

@oOStroudyOo commented on GitHub (Jan 5, 2025): Tried it with the the directory as you suggested, it fails. I assume that space was there for a reason then. ![image](https://github.com/user-attachments/assets/35000fc4-2eec-4aa9-be2f-c0752ec36b1c)
Author
Owner

@chupacabra71 commented on GitHub (Jan 6, 2025):

can you guys run any of the ak commands from authentik on the shell of the CT?

@chupacabra71 commented on GitHub (Jan 6, 2025): can you guys run any of the `ak` commands from authentik on the shell of the CT?
Author
Owner

@huetruong commented on GitHub (Jan 7, 2025):

can you guys run any of the ak commands from authentik on the shell of the CT?

I added this to my bashrc

export PYTHONPATH=/opt/authentik:$PYTHONPATH
@huetruong commented on GitHub (Jan 7, 2025): > can you guys run any of the `ak` commands from authentik on the shell of the CT? I added this to my bashrc ``` export PYTHONPATH=/opt/authentik:$PYTHONPATH ```
Author
Owner

@michelroegl-brunner commented on GitHub (Jan 7, 2025):

It took about 25 minutes on my HP Proliant DL380 G10 to install python. It takes a long time but there is no issue with the script.

@michelroegl-brunner commented on GitHub (Jan 7, 2025): It took about 25 minutes on my HP Proliant DL380 G10 to install python. It takes a long time but there is no issue with the script.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#278