Authentik LXC installation fails #252

Closed
opened 2026-02-04 17:26:35 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @petrsimunek on GitHub (Jan 1, 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.

Hello, I just tried to install the Authentik multiple times with multiple settings, but still the same results. The script fails with the node.js

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Ubuntu 22.04

🔄 Steps to reproduce the issue.

Pasted the command to the shell of the proxmox console.

Paste the full error output (if available).

✔️ Setup Python 3
✔️ Set up Node.js Repository
Get:1 https://deb.nodesource.com/node_22.x nodistro InRelease [12.1 kB]
Get:2 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages [4,521 B]
Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu jammy-security InRelease
Fetched 16.7 kB in 0s (34.1 kB/s)
Traceback (most recent call last):
File "/usr/lib/cnf-update-db", line 3, in
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code

[ERROR] in line 79: exit code 0: while executing command $STD apt-get update

🖼️ Additional context (optional).

No response

Originally created by @petrsimunek on GitHub (Jan 1, 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. Hello, I just tried to install the Authentik multiple times with multiple settings, but still the same results. The script fails with the node.js ### ⚙️ What settings are you using? - [ ] Default Settings - [X] Advanced Settings ### 🖥️ Which Linux distribution are you using? Ubuntu 22.04 ### 🔄 Steps to reproduce the issue. Pasted the command to the shell of the proxmox console. ### ❌ Paste the full error output (if available). ✔️ Setup Python 3 ✔️ Set up Node.js Repository Get:1 https://deb.nodesource.com/node_22.x nodistro InRelease [12.1 kB] Get:2 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages [4,521 B] Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:5 http://archive.ubuntu.com/ubuntu jammy-security InRelease Fetched 16.7 kB in 0s (34.1 kB/s) Traceback (most recent call last): File "/usr/lib/cnf-update-db", line 3, in <module> import apt_pkg ModuleNotFoundError: No module named 'apt_pkg' Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi' E: Sub-process returned an error code [ERROR] in line 79: exit code 0: while executing command $STD apt-get update ### 🖼️ Additional context (optional). _No response_
Author
Owner

@MickLesk commented on GitHub (Jan 1, 2025):

Debian 12 is the default. Script support is only guaranteed with standard OS\Version

@MickLesk commented on GitHub (Jan 1, 2025): Debian 12 is the default. Script support is only guaranteed with standard OS\Version
Author
Owner

@Mellowlynx commented on GitHub (Jan 1, 2025):

🛑 Failure to comply with the following guideline.

    If the default Linux distribution is not adhered to, script support will be discontinued. 
@Mellowlynx commented on GitHub (Jan 1, 2025): 🛑 Failure to comply with the following guideline. If the default Linux distribution is not adhered to, script support will be discontinued.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#252