Authentik script errors out towards end #440

Closed
opened 2026-02-04 18:54:24 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @mchhil-incomm on GitHub (Feb 4, 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.

Authentic

Fails towards the end of the script.

🧩 Using Advanced Settings on node pve1
🖥️ Operating System: debian
🌟 Version: 12
📦 Container Type: Unprivileged
🔐 Root Password: ********
🆔 Container ID: 105
🏠 Hostname: authentik
💾 Disk Size: 12 GB
🧠 CPU Cores: 6
🛠️ RAM Size: 8192 MiB
🌉 Bridge: vmbr0
📡 IP Address: 192.168.2.10/24
🌐 Gateway IP Address: 192.168.1.1
📡 APT-Cacher IP Address: Default
🚫 Disable IPv6: no
⚙️ Interface MTU Size: Default
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: 192.168.1.233
🏷️ Vlan: Default
📡 Tags: community-script;identity-provider
🔑 Root SSH Access: yes
Warning: No SSH key provided.
🔍 Verbose Mode: no
🚀 Creating a Authentik LXC using the above advanced settings
✔️ Using local for Template Storage.
✔️ Using local-zfs for Container Storage.
✔️ Updated LXC Template List
✔️ LXC Container 105 was successfully created.
✔️ Started LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.2.10
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ DNS Resolved github.com to 20.207.73.82
✔️ Updated Container OS
✔️ Installed Dependencies
✔️ Installed yq
✔️ Installed GeoIP
✔️ Setup Python 3
✔️ Set up Node.js Repository
✔️ Installed Node.js
✔️ Installed Golang
✔️ Installed Redis
✔️ Installed PostgreSQL
✔️ Installed authentik
✔️ Created Services
⠙bash: line 190: GO_RELEASE: unbound variable <--

From the script this is at the very end

msg_info "Cleaning up"
rm -rf /tmp/Python-3.12.1
rm -rf /tmp/Python.tgz
rm -rf go/
rm -rf /tmp/${GO_RELEASE}. <-------------
rm -rf /tmp/geoipupdate.deb
rm -rf authentik.tar.gz
$STD apt-get -y remove yq
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

Use the defaults except for DHCP, use static IP there

Paste the full error output (if available).

⠙bash: line 190: GO_RELEASE: unbound variable <--

🖼️ Additional context (optional).

No response

Originally created by @mchhil-incomm on GitHub (Feb 4, 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. Authentic Fails towards the end of the script. 🧩 Using Advanced Settings on node pve1 🖥️ Operating System: debian 🌟 Version: 12 📦 Container Type: Unprivileged 🔐 Root Password: ******** 🆔 Container ID: 105 🏠 Hostname: authentik 💾 Disk Size: 12 GB 🧠 CPU Cores: 6 🛠️ RAM Size: 8192 MiB 🌉 Bridge: vmbr0 📡 IP Address: 192.168.2.10/24 🌐 Gateway IP Address: 192.168.1.1 📡 APT-Cacher IP Address: Default 🚫 Disable IPv6: no ⚙️ Interface MTU Size: Default 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: 192.168.1.233 🏷️ Vlan: Default 📡 Tags: community-script;identity-provider 🔑 Root SSH Access: yes Warning: No SSH key provided. 🔍 Verbose Mode: no 🚀 Creating a Authentik LXC using the above advanced settings ✔️ Using local for Template Storage. ✔️ Using local-zfs for Container Storage. ✔️ Updated LXC Template List ✔️ LXC Container 105 was successfully created. ✔️ Started LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.2.10 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ DNS Resolved github.com to 20.207.73.82 ✔️ Updated Container OS ✔️ Installed Dependencies ✔️ Installed yq ✔️ Installed GeoIP ✔️ Setup Python 3 ✔️ Set up Node.js Repository ✔️ Installed Node.js ✔️ Installed Golang ✔️ Installed Redis ✔️ Installed PostgreSQL ✔️ Installed authentik ✔️ Created Services **⠙bash: line 190: GO_RELEASE: unbound variable <--** From the script this is at the very end ``` msg_info "Cleaning up" rm -rf /tmp/Python-3.12.1 rm -rf /tmp/Python.tgz rm -rf go/ rm -rf /tmp/${GO_RELEASE}. <------------- rm -rf /tmp/geoipupdate.deb rm -rf authentik.tar.gz $STD apt-get -y remove yq $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned" ``` ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. Use the defaults except for DHCP, use static IP there ### ❌ Paste the full error output (if available). **⠙bash: line 190: GO_RELEASE: unbound variable <--** ### 🖼️ Additional context (optional). _No response_
Author
Owner

@MickLesk commented on GitHub (Feb 4, 2025):

fixed

@MickLesk commented on GitHub (Feb 4, 2025): fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#440