Authentik /dev/fd/63: line 30: SPINNER_PID: unbound variable error #984

Closed
opened 2026-02-04 22:24:05 +03:00 by OVERLORD · 19 comments
Owner

Originally created by @Popcorncandy09 on GitHub (May 19, 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 "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/authentik.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📝 Provide a clear and concise description of the issue.

Always fails with /dev/fd/63: line 30: SPINNER_PID: unbound variable error

🔄 Steps to reproduce the issue.

Run script

Paste the full error output (if available).

/dev/fd/63: line 30: SPINNER_PID: unbound variable error

🖼️ Additional context (optional).

No response

Originally created by @Popcorncandy09 on GitHub (May 19, 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 "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/authentik.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📝 Provide a clear and concise description of the issue. Always fails with /dev/fd/63: line 30: SPINNER_PID: unbound variable error ### 🔄 Steps to reproduce the issue. Run script ### ❌ Paste the full error output (if available). /dev/fd/63: line 30: SPINNER_PID: unbound variable error ### 🖼️ Additional context (optional). _No response_
OVERLORD added the question label 2026-02-04 22:24:05 +03:00
Author
Owner

@MickLesk commented on GitHub (May 19, 2025):

says nothing, only the script is not running sucessfully (therefore Spinner dont closed). Without verbose log nobody can help you

@MickLesk commented on GitHub (May 19, 2025): says nothing, only the script is not running sucessfully (therefore Spinner dont closed). Without verbose log nobody can help you
Author
Owner

@Popcorncandy09 commented on GitHub (May 20, 2025):

x Failed to download and build opencontainers @ | git+https://github.com/BeryJu/oci-python@c791b19056769cd67957322806809ab70f5bead8
|-> Git operation failed
|-> failed to clone into: /root/.cache/uv/git-v0/db/61372d3573c735be
|-> failed to fetch commit c791b19056769cd67957322806809ab70f5bead8
-> process didn't exit successfully: /usr/bin/git fetch --force --update-head-ok 'https://github.com/BeryJu/oci-python'
'+c791b19056769cd67957322806809ab70f5bead8:refs/commit/c791b19056769cd67957322806809ab70f5bead8'` (exit status: 128)
--- stderr
fatal: unable to access 'https://github.com/BeryJu/oci-python/': Could not resolve host: github.com

help: opencontainers was included because authentik (v2025.4.1) depends on opencontainers

[ERROR] in line 94: exit code 0: while executing command $STD uv sync --frozen --no-install-project --no-dev
⠸/dev/fd/63: line 73: SPINNER_PID: unbound variable

@Popcorncandy09 commented on GitHub (May 20, 2025): x Failed to download and build `opencontainers @ | git+https://github.com/BeryJu/oci-python@c791b19056769cd67957322806809ab70f5bead8` |-> Git operation failed |-> failed to clone into: /root/.cache/uv/git-v0/db/61372d3573c735be |-> failed to fetch commit `c791b19056769cd67957322806809ab70f5bead8` `-> process didn't exit successfully: `/usr/bin/git fetch --force --update-head-ok 'https://github.com/BeryJu/oci-python' '+c791b19056769cd67957322806809ab70f5bead8:refs/commit/c791b19056769cd67957322806809ab70f5bead8'` (exit status: 128) --- stderr fatal: unable to access 'https://github.com/BeryJu/oci-python/': Could not resolve host: github.com help: `opencontainers` was included because `authentik` (v2025.4.1) depends on `opencontainers` ⠏ [ERROR] in line 94: exit code 0: while executing command $STD uv sync --frozen --no-install-project --no-dev ⠸/dev/fd/63: line 73: SPINNER_PID: unbound variable
Author
Owner

@MickLesk commented on GitHub (May 20, 2025):

Could not resolve host: github.com

=> check your network on the lxc

@MickLesk commented on GitHub (May 20, 2025): Could not resolve host: github.com => check your network on the lxc
Author
Owner

@Popcorncandy09 commented on GitHub (May 20, 2025):

This is a brand new LXC full full resolving on the initial check as part of the install steps

@Popcorncandy09 commented on GitHub (May 20, 2025): This is a brand new LXC full full resolving on the initial check as part of the install steps
Author
Owner

@Popcorncandy09 commented on GitHub (May 20, 2025):

running again with google DNS

fatal: not a git repository (or any of the parent directories): .git
Building all entry points
(node:31849) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use node --trace-deprecation ... to show where the warning was created)
⠦Build complete
Ran 4 scripts and skipped 0 in 7s.
⠴cpython-3.12.10-linux-x86_64-gnu (download) ------------------------------ 0 B/32.77 MiB
⠹Using CPython 3.12.10
Creating virtual environment at: .venv
Updating https://github.com/authentik-community/django-rest-framework (896722bab969fabc74a08b827da59409cf9f1a4e)
Updating https://github.com/rissson/django-tenants.git (authentik-fixes)
Updating https://github.com/BeryJu/oci-python (c791b19056769cd67957322806809ab70f5bead8) x Failed to download and build django-tenants @ | git+https://github.com/rissson/django-tenants.git@156e53a6f5902d74b73dd9d0192fffaa2587a740
|-> Git operation failed
|-> failed to clone into: /root/.cache/uv/git-v0/db/3360f0b953f33742
|-> failed to fetch commit 156e53a6f5902d74b73dd9d0192fffaa2587a740
-> process didn't exit successfully: /usr/bin/git fetch --force --update-head-ok 'https://github.com/rissson/django-tenants.git'
'+156e53a6f5902d74b73dd9d0192fffaa2587a740:refs/commit/156e53a6f5902d74b73dd9d0192fffaa2587a740'` (exit status: 128)
--- stderr
fatal: unable to access 'https://github.com/rissson/django-tenants.git/': Could not resolve host: github.com

help: django-tenants was included because authentik (v2025.4.1) depends on django-tenants

[ERROR] in line 94: exit code 0: while executing command $STD uv sync --frozen --no-install-project --no-dev
⠦/dev/fd/63: line 73: SPINNER_PID: unbound variable

@Popcorncandy09 commented on GitHub (May 20, 2025): running again with google DNS fatal: not a git repository (or any of the parent directories): .git Building all entry points (node:31849) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated. (Use `node --trace-deprecation ...` to show where the warning was created) ⠦Build complete ⠏✅ Ran 4 scripts and skipped 0 in 7s. ⠴cpython-3.12.10-linux-x86_64-gnu (download) ------------------------------ 0 B/32.77 MiB ⠹Using CPython 3.12.10 Creating virtual environment at: .venv Updating https://github.com/authentik-community/django-rest-framework (896722bab969fabc74a08b827da59409cf9f1a4e) Updating https://github.com/rissson/django-tenants.git (authentik-fixes) Updating https://github.com/BeryJu/oci-python (c791b19056769cd67957322806809ab70f5bead8) x Failed to download and build `django-tenants @ | git+https://github.com/rissson/django-tenants.git@156e53a6f5902d74b73dd9d0192fffaa2587a740` |-> Git operation failed |-> failed to clone into: /root/.cache/uv/git-v0/db/3360f0b953f33742 |-> failed to fetch commit `156e53a6f5902d74b73dd9d0192fffaa2587a740` `-> process didn't exit successfully: `/usr/bin/git fetch --force --update-head-ok 'https://github.com/rissson/django-tenants.git' '+156e53a6f5902d74b73dd9d0192fffaa2587a740:refs/commit/156e53a6f5902d74b73dd9d0192fffaa2587a740'` (exit status: 128) --- stderr fatal: unable to access 'https://github.com/rissson/django-tenants.git/': Could not resolve host: github.com help: `django-tenants` was included because `authentik` (v2025.4.1) depends on `django-tenants` ⠹ [ERROR] in line 94: exit code 0: while executing command $STD uv sync --frozen --no-install-project --no-dev ⠦/dev/fd/63: line 73: SPINNER_PID: unbound variable
Author
Owner

@MickLesk commented on GitHub (May 20, 2025):

do you have any adblock or something? again you could not resolve github.com. Its definitly not an script issue, it comes fromt the vitual env of uv and requirements

@MickLesk commented on GitHub (May 20, 2025): do you have any adblock or something? again you could not resolve github.com. Its definitly not an script issue, it comes fromt the vitual env of uv and requirements
Author
Owner

@Popcorncandy09 commented on GitHub (May 20, 2025):

im bypassing all adblocks by using google DNS and it still is an issue, and i also said as part of the setup when it checks network and resolves github it does so..

✔️ LXC Template is ready to use.
✔️ LXC Container 110 was successfully created.
✔️ Started LXC Container
✔️ Set up Container OS
✔️ Network Connected: 1xxxxxx
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ DNS Resolved github.com to 20.26.156.215

@Popcorncandy09 commented on GitHub (May 20, 2025): im bypassing all adblocks by using google DNS and it still is an issue, and i also said as part of the setup when it checks network and resolves github it does so.. ✔️ LXC Template is ready to use. ✔️ LXC Container 110 was successfully created. ✔️ Started LXC Container ✔️ Set up Container OS ✔️ Network Connected: 1xxxxxx ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ DNS Resolved github.com to 20.26.156.215
Author
Owner

@MickLesk commented on GitHub (May 20, 2025):

nooo.. its an issue inside the lxc at this part:

c62a0b149d/install/authentik-install.sh (L94)

@MickLesk commented on GitHub (May 20, 2025): nooo.. its an issue inside the lxc at this part: https://github.com/community-scripts/ProxmoxVE/blob/c62a0b149dc8d6a4427f585a324109d0d053eda5/install/authentik-install.sh#L94
Author
Owner

@Popcorncandy09 commented on GitHub (May 20, 2025):

easy fix?

@Popcorncandy09 commented on GitHub (May 20, 2025): easy fix?
Author
Owner

@MickLesk commented on GitHub (May 20, 2025):

the script run fine. As I said above, your request will be denied in this install. uv does not reach github.com. There is absolutely nothing we can do. I have installed the script 2x today and it runs smoothly.

Go search for the DNS error within the LXC.

@MickLesk commented on GitHub (May 20, 2025): the script run fine. As I said above, your request will be denied in this install. uv does not reach github.com. There is absolutely nothing we can do. I have installed the script 2x today and it runs smoothly. Go search for the DNS error within the LXC.
Author
Owner

@Popcorncandy09 commented on GitHub (May 20, 2025):

but if its resolving at the start what else can i do ?

@Popcorncandy09 commented on GitHub (May 20, 2025): but if its resolving at the start what else can i do ?
Author
Owner

@chuegel commented on GitHub (May 22, 2025):

Same issue here:

creating configuration files ... ok
 ⠦oking bootstrap script ... 
 ⠹okorming post-bootstrap initialization ... 
 ⠦oking data to disk ... 
 ⠙Processing triggers for man-db (2.11.2-2) ...
 ⠇Processing triggers for libc-bin (2.36-9+deb12u10) ...
  ✔️  PostgreSQL 16 installed
Reading package lists... Doneing version 22 
Building dependency tree... Done
Reading state information... Done
Package 'nodejs' is not installed, so not removed
 ⠙0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  ✔️  Installed Node.js 22
  ✔️  Installed Go 1.24.3
  ✔️  Installed yq
 ⠹Selecting previously unselected package geoipupdate.
(Reading database ... 41156 files and directories currently installed.)
Preparing to unpack geoipupdate.deb ...
Unpacking geoipupdate (7.1.0) ...
 ⠼Setting up geoipupdate (7.1.0) ...
Processing triggers for man-db (2.11.2-2) ...
  ✔️  Installed GeoIP
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'postgresql-16' instead of 'postgresql-contrib-16'
postgresql-16 is already the newest version (16.9-1.pgdg120+1).
 ⠹0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 ⠴CREATE DATABASE
 ⠦CREATE ROLE
 ⠧GRANT
ALTER DATABASE
 ⠇ALTER ROLE
  ✔️  Installed PostgreSQL

added 1826 packages, and audited 1827 packages in 1m

493 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice
npm notice New major version of npm available! 10.9.2 -> 11.4.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.1
npm notice To update run: npm install -g npm@11.4.1
npm notice
 ⠇
> @goauthentik/website-docs@0.0.0 build-bundled
> cp ../schema.yml static/schema.yml && docusaurus gen-api-docs all && cross-env NODE_OPTIONS='--max_old_space_size=65536' docusaurus build

---snip---

Successfully created "docs/developer-docs/api/reference/tenants-tenants-create-recovery-key-create.api.mdx"
 ⠸[INFO] [en] Creating an optimized production build...
 ⠼Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
 ⠴Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
 ⠦●  ██████████████████████████████████████████████████ (0%)                                                                                                                                 
● Client ██████████████████████████████████████████████████ (100%) emitting after emit                                                                                                       
 ⠏
[ERROR] in line 84: exit code 0: while executing command $STD npm run build-bundled
 ⠦/dev/fd/63: line 74: SPINNER_PID: unbound variable

@chuegel commented on GitHub (May 22, 2025): Same issue here: ``` creating configuration files ... ok ⠦oking bootstrap script ... ⠹okorming post-bootstrap initialization ... ⠦oking data to disk ... ⠙Processing triggers for man-db (2.11.2-2) ... ⠇Processing triggers for libc-bin (2.36-9+deb12u10) ... ✔️ PostgreSQL 16 installed Reading package lists... Doneing version 22 Building dependency tree... Done Reading state information... Done Package 'nodejs' is not installed, so not removed ⠙0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ✔️ Installed Node.js 22 ✔️ Installed Go 1.24.3 ✔️ Installed yq ⠹Selecting previously unselected package geoipupdate. (Reading database ... 41156 files and directories currently installed.) Preparing to unpack geoipupdate.deb ... Unpacking geoipupdate (7.1.0) ... ⠼Setting up geoipupdate (7.1.0) ... Processing triggers for man-db (2.11.2-2) ... ✔️ Installed GeoIP Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'postgresql-16' instead of 'postgresql-contrib-16' postgresql-16 is already the newest version (16.9-1.pgdg120+1). ⠹0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ⠴CREATE DATABASE ⠦CREATE ROLE ⠧GRANT ALTER DATABASE ⠇ALTER ROLE ✔️ Installed PostgreSQL added 1826 packages, and audited 1827 packages in 1m 493 packages are looking for funding run `npm fund` for details found 0 vulnerabilities npm notice npm notice New major version of npm available! 10.9.2 -> 11.4.1 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.1 npm notice To update run: npm install -g npm@11.4.1 npm notice ⠇ > @goauthentik/website-docs@0.0.0 build-bundled > cp ../schema.yml static/schema.yml && docusaurus gen-api-docs all && cross-env NODE_OPTIONS='--max_old_space_size=65536' docusaurus build ---snip--- Successfully created "docs/developer-docs/api/reference/tenants-tenants-create-recovery-key-create.api.mdx" ⠸[INFO] [en] Creating an optimized production build... ⠼Browserslist: browsers data (caniuse-lite) is 7 months old. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme ⠴Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme ⠦● ██████████████████████████████████████████████████ (0%) ● Client ██████████████████████████████████████████████████ (100%) emitting after emit ⠏ [ERROR] in line 84: exit code 0: while executing command $STD npm run build-bundled ⠦/dev/fd/63: line 74: SPINNER_PID: unbound variable ```
Author
Owner

@MickLesk commented on GitHub (May 22, 2025):

Try with more Ressources. 12-14GB RAM 6-8 Cores. Authentik is fck hungry...

@MickLesk commented on GitHub (May 22, 2025): Try with more Ressources. 12-14GB RAM 6-8 Cores. Authentik is fck hungry...
Author
Owner

@chuegel commented on GitHub (May 22, 2025):

Yes that was it. Raised the RAM to 12GB and the installer went through

@chuegel commented on GitHub (May 22, 2025): Yes that was it. Raised the RAM to 12GB and the installer went through
Author
Owner

@MickLesk commented on GitHub (May 22, 2025):

Heavy ... For an auth Provider. Stupid

@MickLesk commented on GitHub (May 22, 2025): Heavy ... For an auth Provider. Stupid
Author
Owner

@chuegel commented on GitHub (May 23, 2025):

I noticed that this amount of RAM is used just on the build phase. After the container is coming up the avarage RAM usage is 5% which is odd

@chuegel commented on GitHub (May 23, 2025): I noticed that this amount of RAM is used just on the build phase. After the container is coming up the avarage RAM usage is 5% which is odd
Author
Owner

@yry-dev commented on GitHub (May 27, 2025):

I am experiencing the same issue :(

@yry-dev commented on GitHub (May 27, 2025): I am experiencing the same issue :(
Author
Owner

@MickLesk commented on GitHub (May 27, 2025):

Then increase your RAM

I am considering removing the script completely. You can't explain to people that a simple auth provider needs 12GB RAM and has a half hour build time.

@MickLesk commented on GitHub (May 27, 2025): Then increase your RAM I am considering removing the script completely. You can't explain to people that a simple auth provider needs 12GB RAM and has a half hour build time.
Author
Owner

@yry-dev commented on GitHub (May 27, 2025):

Then increase your RAM

I am considering removing the script completely. You can't explain to people that a simple auth provider needs 12GB RAM and has a half hour build time.

Geeze....might be worth dropping, it still failed with 16GB of ram for me so yeah if its a resource issue I dont know what else I can do.

@yry-dev commented on GitHub (May 27, 2025): > Then increase your RAM > > I am considering removing the script completely. You can't explain to people that a simple auth provider needs 12GB RAM and has a half hour build time. Geeze....might be worth dropping, it still failed with 16GB of ram for me so yeah if its a resource issue I dont know what else I can do.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#984