authentik install error #880

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

Originally created by @PlintuZz on GitHub (Apr 30, 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?

Debian 12

📝 Provide a clear and concise description of the issue.

A fresh install fails with:
[ERROR] in line 116: exit code 0: while executing command $STD npm run build-bundled
/dev/fd/63: line 72: SPINNER_PID: unbound variable

🔄 Steps to reproduce the issue.

Start a fresh install from the proxmox shell

Paste the full error output (if available).

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 6 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
● Client ██████████████████████████████████████████████████ (100%) emitting after emit

[ERROR] in line 116: exit code 0: while executing command $STD npm run build-bundled
/dev/fd/63: line 72: SPINNER_PID: unbound variable

🖼️ Additional context (optional).

No response

Originally created by @PlintuZz on GitHub (Apr 30, 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 - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. A fresh install fails with: [ERROR] in line 116: exit code 0: while executing command $STD npm run build-bundled /dev/fd/63: line 72: SPINNER_PID: unbound variable ### 🔄 Steps to reproduce the issue. Start a fresh install from the proxmox shell ### ❌ Paste the full error output (if available). 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 6 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 ● Client ██████████████████████████████████████████████████ (100%) emitting after emit ⠹ [ERROR] in line 116: exit code 0: while executing command $STD npm run build-bundled /dev/fd/63: line 72: SPINNER_PID: unbound variable ### 🖼️ Additional context (optional). _No response_
OVERLORD added the buginvestigation labels 2026-02-04 22:00:30 +03:00
Author
Owner

@tremor021 commented on GitHub (Apr 30, 2025):

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

thats not authentik

@tremor021 commented on GitHub (Apr 30, 2025): > bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/archlinux-vm.sh)" thats not authentik
Author
Owner

@PlintuZz commented on GitHub (Apr 30, 2025):

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

thats not authentik

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

@PlintuZz commented on GitHub (Apr 30, 2025): > > bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/archlinux-vm.sh)" > > thats not authentik sorry: bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/authentik.sh)"
Author
Owner

@tremor021 commented on GitHub (May 1, 2025):

They broke sometning. We will have to investigate what they did...

@tremor021 commented on GitHub (May 1, 2025): They broke sometning. We will have to investigate what they did...
Author
Owner

@TheRealVira commented on GitHub (May 3, 2025):

Strange... manually running those commands yields no errors:

cd /opt/authentik/website
npm install
npm run build-bundled
cd /opt/authentik/web
npm install
npm run build

Checking on newest release:

root@authentik:/opt/authentik# cat package.json
{
    "name": "@goauthentik/authentik",
    "version": "2025.4.0",
    "private": true
}
@TheRealVira commented on GitHub (May 3, 2025): Strange... manually running those commands yields no errors: cd /opt/authentik/website npm install npm run build-bundled cd /opt/authentik/web npm install npm run build Checking on newest release: ``` root@authentik:/opt/authentik# cat package.json { "name": "@goauthentik/authentik", "version": "2025.4.0", "private": true } ```
Author
Owner

@jonashaan commented on GitHub (May 3, 2025):

Just tried executing the install script for a fresh LXC, got this with verbose mode:

Building wheels for collected packages: authentik
  Building wheel for authentik (pyproject.toml) ... done
  Created wheel for authentik: filename=authentik-2025.4.0-py3-none-any.whl size=4744010 sha256=e8e10a2cdd8da06244be5b7398c01bd15c349900e90eb8000294ead018d84b1e
  Stored in directory: /tmp/pip-ephem-wheel-cache-d6teev8p/wheels/08/23/64/61ad2b61749ba62045f71bdd5d4d1b37f396628733c91a424a
Successfully built authentik
 ⠴Installing collected packages: authentik
 ⠧Successfully installed authentik-2025.4.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
 ⠋{"event": "Loaded config", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1746265766.2190392, "file": "/etc/authentik/config.yml"}
{"event": "'geoip' has been deprecated in favor of 'events.context_processors.geoip'! Please update your configuration.", "level": "warning", "logger": "authentik.lib.config", "timestamp": 1746265766.2192252}
 ⠙{"event": "Starting authentik bootstrap", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746265766.3607218}
 ⠹{"event": "PostgreSQL connection successful", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746265766.3763568}
{"event": "Redis Connection successful", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746265766.3772984}
{"event": "Finished authentik bootstrap", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746265766.3773675}
 ⠼Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/opt/authentik/manage.py", line 52, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 382, in execute
    settings.INSTALLED_APPS
  File "/usr/local/lib/python3.12/site-packages/django/conf/__init__.py", line 81, in __getattr__
    self._setup(name)
  File "/usr/local/lib/python3.12/site-packages/django/conf/__init__.py", line 68, in _setup
    self._wrapped = Settings(settings_module)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/conf/__init__.py", line 166, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 994, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/opt/authentik/authentik/root/settings.py", line 11, in <module>
    from xmlsec import enable_debug_trace
xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch')
 ⠴
[ERROR] in line 143: exit code 0: while executing command $STD bash /opt/authentik/lifecycle/ak migrate
/dev/fd/63: line 72: SPINNER_PID: unbound variable
@jonashaan commented on GitHub (May 3, 2025): Just tried executing the install script for a fresh LXC, got this with verbose mode: ``` Building wheels for collected packages: authentik Building wheel for authentik (pyproject.toml) ... done Created wheel for authentik: filename=authentik-2025.4.0-py3-none-any.whl size=4744010 sha256=e8e10a2cdd8da06244be5b7398c01bd15c349900e90eb8000294ead018d84b1e Stored in directory: /tmp/pip-ephem-wheel-cache-d6teev8p/wheels/08/23/64/61ad2b61749ba62045f71bdd5d4d1b37f396628733c91a424a Successfully built authentik ⠴Installing collected packages: authentik ⠧Successfully installed authentik-2025.4.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. ⠋{"event": "Loaded config", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1746265766.2190392, "file": "/etc/authentik/config.yml"} {"event": "'geoip' has been deprecated in favor of 'events.context_processors.geoip'! Please update your configuration.", "level": "warning", "logger": "authentik.lib.config", "timestamp": 1746265766.2192252} ⠙{"event": "Starting authentik bootstrap", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746265766.3607218} ⠹{"event": "PostgreSQL connection successful", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746265766.3763568} {"event": "Redis Connection successful", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746265766.3772984} {"event": "Finished authentik bootstrap", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746265766.3773675} ⠼Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/opt/authentik/manage.py", line 52, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line utility.execute() File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 382, in execute settings.INSTALLED_APPS File "/usr/local/lib/python3.12/site-packages/django/conf/__init__.py", line 81, in __getattr__ self._setup(name) File "/usr/local/lib/python3.12/site-packages/django/conf/__init__.py", line 68, in _setup self._wrapped = Settings(settings_module) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/django/conf/__init__.py", line 166, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 994, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/opt/authentik/authentik/root/settings.py", line 11, in <module> from xmlsec import enable_debug_trace xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch') ⠴ [ERROR] in line 143: exit code 0: while executing command $STD bash /opt/authentik/lifecycle/ak migrate /dev/fd/63: line 72: SPINNER_PID: unbound variable ```
Author
Owner

@tremor021 commented on GitHub (May 3, 2025):

Authentik is one of those really finicky apps. Not sure where to begin debugging this one. It clearly fails at the build stage, which we have no control over, its all about Node dependencies at that point....

Maybe wait until next release or something?

@tremor021 commented on GitHub (May 3, 2025): Authentik is one of those really finicky apps. Not sure where to begin debugging this one. It clearly fails at the build stage, which we have no control over, its all about Node dependencies at that point.... Maybe wait until next release or something?
Author
Owner

@jonashaan commented on GitHub (May 3, 2025):

After testing the install script line by line, the lxml & xmlsec library version mismatch error happens when executing line 143 (main/install/authentik-install.sh):
$STD bash /opt/authentik/lifecycle/ak migrate:

root@id:/opt/authentik# $STD bash /opt/authentik/lifecycle/ak migrate
{"event": "Loaded config", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1746275824.6910043, "file": "/etc/authentik/config.yml"}
{"event": "'geoip' has been deprecated in favor of 'events.context_processors.geoip'! Please update your configuration.", "level": "warning", "logger": "authentik.lib.config", "timestamp": 1746275824.6911597}
{"event": "Starting authentik bootstrap", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746275824.8315287}
{"event": "PostgreSQL connection successful", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746275824.8466766}
{"event": "Redis Connection successful", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746275824.8476744}
{"event": "Finished authentik bootstrap", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746275824.8477428}
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/opt/authentik/manage.py", line 52, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 382, in execute
    settings.INSTALLED_APPS
  File "/usr/local/lib/python3.12/site-packages/django/conf/__init__.py", line 81, in __getattr__
    self._setup(name)
  File "/usr/local/lib/python3.12/site-packages/django/conf/__init__.py", line 68, in _setup
    self._wrapped = Settings(settings_module)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/conf/__init__.py", line 166, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 994, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/opt/authentik/authentik/root/settings.py", line 11, in <module>
    from xmlsec import enable_debug_trace
xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch')
root@id:/opt/authentik# $STD
root@id:/opt/authentik# python3 -c "import lxml.etree; print(lxml.etree.LIBXML_VERSION)"
(2, 13, 8)
root@id:/opt/authentik# python3 -c "import xmlsec; print(xmlsec.__version__)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch')

Removing the pip packages xmlsec and lxml with
pip uninstall xmlsec lxml
and then manually installing them while pinning xmlsec to 1.3.14
pip install --no-binary=:all: 'xmlsec==1.3.14' lxml
seems to fix this issue. As these are installed by poetry/generated requirements.txt I assume the problem lies there somewhere...

After this fix, the db migration works normally and the installation of authentik seems to finish...

EDIT: services (authentik-server and authentik-worker) are set up and running, but navigating to the post-install URL
http://<your server's IP or hostname>:9000/if/flow/initial-setup/
is bugged. I'm greeted by the authentik webui but it shows a big "Not found" and does not work

Image

Looking into the two services, authentik-worker seems to have an issue:

May 03 15:07:00 id celery[32594]:     self.service.start(embedded_process=True)
May 03 15:07:00 id celery[32594]:   File "/usr/local/lib/python3.12/site-packages/celery/beat.py", line 644, in start
May 03 15:07:00 id celery[32594]:     interval = self.scheduler.tick()
May 03 15:07:00 id celery[32594]:                ^^^^^^^^^^^^^^^^^^^^^
May 03 15:07:00 id celery[32594]:   File "/usr/local/lib/python3.12/site-packages/celery/beat.py", line 354, in tick
May 03 15:07:00 id celery[32594]:     self.apply_entry(entry, producer=self.producer)
May 03 15:07:00 id celery[32594]:   File "/usr/local/lib/python3.12/site-packages/authentik/tenants/scheduler.py", line 20, in apply_entry
May 03 15:07:00 id celery[32594]:     if entry.tenant_schemas is None:
May 03 15:07:00 id celery[32594]:        ^^^^^^^^^^^^^^^^^^^^
May 03 15:07:00 id celery[32594]: AttributeError: 'TenantAwareScheduleEntry' object has no attribute 'tenant_schemas'

I guess something went wrong during the installation (probably DB or table schema related).

@jonashaan commented on GitHub (May 3, 2025): After testing the install script line by line, the lxml & xmlsec library version mismatch error happens when executing line 143 (main/install/authentik-install.sh): `$STD bash /opt/authentik/lifecycle/ak migrate`: ``` root@id:/opt/authentik# $STD bash /opt/authentik/lifecycle/ak migrate {"event": "Loaded config", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1746275824.6910043, "file": "/etc/authentik/config.yml"} {"event": "'geoip' has been deprecated in favor of 'events.context_processors.geoip'! Please update your configuration.", "level": "warning", "logger": "authentik.lib.config", "timestamp": 1746275824.6911597} {"event": "Starting authentik bootstrap", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746275824.8315287} {"event": "PostgreSQL connection successful", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746275824.8466766} {"event": "Redis Connection successful", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746275824.8476744} {"event": "Finished authentik bootstrap", "level": "info", "logger": "authentik.lib.config", "timestamp": 1746275824.8477428} Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/opt/authentik/manage.py", line 52, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line utility.execute() File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 382, in execute settings.INSTALLED_APPS File "/usr/local/lib/python3.12/site-packages/django/conf/__init__.py", line 81, in __getattr__ self._setup(name) File "/usr/local/lib/python3.12/site-packages/django/conf/__init__.py", line 68, in _setup self._wrapped = Settings(settings_module) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/django/conf/__init__.py", line 166, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 994, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/opt/authentik/authentik/root/settings.py", line 11, in <module> from xmlsec import enable_debug_trace xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch') root@id:/opt/authentik# $STD root@id:/opt/authentik# python3 -c "import lxml.etree; print(lxml.etree.LIBXML_VERSION)" (2, 13, 8) root@id:/opt/authentik# python3 -c "import xmlsec; print(xmlsec.__version__)" Traceback (most recent call last): File "<string>", line 1, in <module> xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch') ``` Removing the pip packages xmlsec and lxml with `pip uninstall xmlsec lxml` and then manually installing them while pinning xmlsec to 1.3.14 `pip install --no-binary=:all: 'xmlsec==1.3.14' lxml` seems to fix this issue. As these are installed by poetry/generated requirements.txt I assume the problem lies there somewhere... After this fix, the db migration works normally and the installation of authentik seems to finish... EDIT: services (authentik-server and authentik-worker) are set up and running, but navigating to the post-install URL `http://<your server's IP or hostname>:9000/if/flow/initial-setup/` is bugged. I'm greeted by the authentik webui but it shows a big "Not found" and does not work ![Image](https://github.com/user-attachments/assets/738e5674-5955-4ab9-8276-a3d56af804df) Looking into the two services, `authentik-worker` seems to have an issue: ``` May 03 15:07:00 id celery[32594]: self.service.start(embedded_process=True) May 03 15:07:00 id celery[32594]: File "/usr/local/lib/python3.12/site-packages/celery/beat.py", line 644, in start May 03 15:07:00 id celery[32594]: interval = self.scheduler.tick() May 03 15:07:00 id celery[32594]: ^^^^^^^^^^^^^^^^^^^^^ May 03 15:07:00 id celery[32594]: File "/usr/local/lib/python3.12/site-packages/celery/beat.py", line 354, in tick May 03 15:07:00 id celery[32594]: self.apply_entry(entry, producer=self.producer) May 03 15:07:00 id celery[32594]: File "/usr/local/lib/python3.12/site-packages/authentik/tenants/scheduler.py", line 20, in apply_entry May 03 15:07:00 id celery[32594]: if entry.tenant_schemas is None: May 03 15:07:00 id celery[32594]: ^^^^^^^^^^^^^^^^^^^^ May 03 15:07:00 id celery[32594]: AttributeError: 'TenantAwareScheduleEntry' object has no attribute 'tenant_schemas' ``` I guess something went wrong during the installation (probably DB or table schema related).
Author
Owner

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

I plan to refactor some scripts next week and switch to UV. I might prefer authentik and try to migrate it to UV. In the meantime you will have to be patient. I guess, if everything works out, you could expect a first build on Wednesday. Authentik is unfortunately an extremely dirty script because there are so many deps and script snippets involved.

@MickLesk commented on GitHub (May 3, 2025): I plan to refactor some scripts next week and switch to UV. I might prefer authentik and try to migrate it to UV. In the meantime you will have to be patient. I guess, if everything works out, you could expect a first build on Wednesday. Authentik is unfortunately an extremely dirty script because there are so many deps and script snippets involved.
Author
Owner

@Mistic92 commented on GitHub (May 3, 2025):

I just tried to install it but got curl: (23) Failure writing output to destination and then "Installing Authentik" was just stuck. LXC was created but not working.

@Mistic92 commented on GitHub (May 3, 2025): I just tried to install it but got `curl: (23) Failure writing output to destination` and then "Installing Authentik" was just stuck. LXC was created but not working.
Author
Owner

@jonashaan commented on GitHub (May 3, 2025):

Hello again, after some hours of manual installation, nuking my debian lxc about 5 times and restarting over, I finally managed to install the newest authentik release on debian 12 lxc and get it to work, here are my steps to reproduce it:

setup Debian 12 LXC

Used the debian lxc script to create a new debian lxc
10 cores, 16gb ram (beef for building, can be reduced later
(didn't need that much power in hindsight, but the more ram you've got, the better)

updates and dependencies

apt update && apt install -y \
  build-essential \
  libpq-dev \
  libssl-dev \
  libffi-dev \
  libxmlsec1-dev \
  pkg-config \
  python3.11 \
  python3.11-venv \
  python3-pip \
  git

YQ

cd /tmp
YQ_LATEST="$(curl -fsSL https://api.github.com/repos/mikefarah/yq/releases/latest | grep -Po '"tag_name": "\K.*?(?=")')"
curl -fsSL "https://github.com/mikefarah/yq/releases/download/${YQ_LATEST}/yq_linux_amd64" -o /usr/bin/yq
chmod +x /usr/bin/yq

GEOIP

GEOIP_RELEASE=$(curl -fsSL https://api.github.com/repos/maxmind/geoipupdate/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
curl -fsSL "https://github.com/maxmind/geoipupdate/releases/download/v${GEOIP_RELEASE}/geoipupdate_${GEOIP_RELEASE}_linux_amd64.deb" -o "geoipupdate.deb"
$STD dpkg -i geoipupdate.deb
cat <<EOF >/etc/GeoIP.conf
#GEOIPUPDATE_EDITION_IDS="GeoLite2-City GeoLite2-ASN"
#GEOIPUPDATE_VERBOSE="1"
#GEOIPUPDATE_ACCOUNT_ID_FILE="/run/secrets/GEOIPUPDATE_ACCOUNT_ID"
#GEOIPUPDATE_LICENSE_KEY_FILE="/run/secrets/GEOIPUPDATE_LICENSE_KEY"
EOF

Postgres 16 (required for latest authentik 2025.4.0)

apt install -y postgresql-common
/usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
apt -y install postgresql-16 postgresql-contrib-16
DB_NAME="authentik"
DB_USER="authentik"
DB_PASS="$(openssl rand -base64 18 | cut -c1-13)"
sudo -u postgres psql -c "CREATE DATABASE $DB_NAME;"
sudo -u postgres psql -c "CREATE USER $DB_USER WITH PASSWORD '$DB_PASS';"
sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE $DB_NAME TO $DB_USER;"
sudo -u postgres psql -c "ALTER DATABASE $DB_NAME OWNER TO $DB_USER;"
sudo -u postgres psql -c "ALTER USER $DB_USER WITH SUPERUSER;"

nodejs + nvm

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
\. "$HOME/.nvm/nvm.sh"
nvm install 22

redis

apt-get install -y redis-server
systemctl enable -q --now redis-server

golang

set +o pipefail
temp_file=$(mktemp)
golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1)
curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file"
tar -C /usr/local -xzf "$temp_file"
ln -sf /usr/local/go/bin/go /usr/local/bin/go
rm -f "$temp_file"
set -o pipefail
export PATH=$PATH:/usr/local/go/bin

uv (required as per developer docs for authentic, also handles python venv)

curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.local/bin/env

extract latest release of authentik

RELEASE=$(curl -fsSL https://api.github.com/repos/goauthentik/authentik/releases/latest | grep "tarball_url" | awk '{print substr($2, 2, length($2)-3)}')
mkdir /opt/authentik
curl -fsSL "${RELEASE}" -o "authentik.tar.gz"
tar -xzf authentik.tar.gz -C /opt/authentik --strip-components 1 --overwrite

open sesame: manual install of authentik

# web install:
cd /opt/authentik/web
npm install
npm run build

# website-install:
cd /opt/authentik/website
npm install
npm run build

# compile go api server:
cd /opt/authentik
go mod download
go build -o /go/authentik ./cmd/server
go build -o /opt/authentik/authentik-server /opt/authentik/cmd/server/

# core install:
uv sync --frozen

# config:
mkdir /etc/authentik
mv /opt/authentik/authentik/lib/default.yml /etc/authentik/config.yml
yq -i ".secret_key = \"$(openssl rand -hex 32)\"" /etc/authentik/config.yml
yq -i ".postgresql.password = \"${DB_PASS}\"" /etc/authentik/config.yml
yq -i ".geoip = \"/opt/authentik/tests/GeoLite2-City-Test.mmdb\"" /etc/authentik/config.yml
cp -r /opt/authentik/authentik/blueprints /opt/authentik/blueprints
yq -i ".blueprints_dir = \"/opt/authentik/blueprints\"" /etc/authentik/config.yml

# DB migration as last step after install:
cd /opt/authentik
uv run python -m lifecycle.migrate

warning: geoip has been deprecated (we'll ignore that for now :D)

{"event": "'geoip' has been deprecated in favor of 'events.context_processors.geoip'! Please update your configuration.", "level": "warning", "logger": "authentik.lib.config", "timestamp": 1746287975.9547737}

# but here is my unsuccessful attempt anymway, I have no patience to fix this rn, so the services will run as root for now

useradd --system --home-dir /var/lib/authentik --create-home --shell /usr/sbin/nologin authentik
usermod -aG www-data authentik
chown -R authentik:authentik /opt/authentik
chown -R authentik:authentik /etc/authentik
mkdir -p /var/log/authentik
chown -R authentik:authentik /var/log/authentik

chgrp authentik /opt /opt/authentik /opt/authentik/.venv /opt/authentik/.venv/bin
chmod g+x /opt /opt/authentik /opt/authentik/.venv /opt/authentik/.venv/bin
chmod +x /opt/authentik/.venv/bin/gunicorn
chmod +x /opt/authentik/.venv/bin/celery
# symlink
ln -s /opt/authentik/.venv/bin/gunicorn /usr/local/bin/gunicorn
ln -s /opt/authentik/.venv/bin/celery /usr/local/bin/celery

# authentik-server.service
cat <<EOF >/etc/systemd/system/authentik-server.service
[Unit]
Description=authentik Go Server (API Gateway)
After=network.target
Wants=redis.service postgresql.service

[Service]
Type=simple
WorkingDirectory=/opt/authentik
ExecStart=/opt/authentik/authentik-server
Restart=always
RestartSec=5
#User=authentik
Environment=DJANGO_SETTINGS_MODULE=authentik.root.settings

[Install]
WantedBy=multi-user.target
EOF

# authentik-worker.service
cat <<EOF >/etc/systemd/system/authentik-worker.service
[Unit]
Description=authentik Celery Worker
After=network.target redis.service postgresql.service
Requires=redis.service

[Service]
Type=simple
WorkingDirectory=/opt/authentik
ExecStart=/opt/authentik/.venv/bin/celery \
  -A authentik.root.celery worker \
  -Ofair \
  --max-tasks-per-child=1 \
  --autoscale 3,1 \
  -Q authentik,authentik_scheduled,authentik_events \
  -E
Restart=always
RestartSec=5
#User=authentik
Environment=DJANGO_SETTINGS_MODULE=authentik.root.settings

[Install]
WantedBy=multi-user.target
EOF

# authentik-celery-beat.service
cat <<EOF >/etc/systemd/system/authentik-celery-beat.service
[Unit]
Description=authentik Celery Beat Scheduler
After=network.target

[Service]
Type=simple
WorkingDirectory=/opt/authentik
ExecStart=/opt/authentik/.venv/bin/celery \
  -A authentik.root.celery beat \
  -s /tmp/celerybeat-schedule
Restart=always
RestartSec=5
#User=authentik
Environment=DJANGO_SETTINGS_MODULE=authentik.root.settings

[Install]
WantedBy=multi-user.target
EOF

enable and run services

systemctl enable -q --now authentik-server
systemctl enable -q --now authentik-worker
systemctl enable -q --now authentik-celery-beat

visit http://[YOUR SERVER-IP]:9000/if/flow/initial-setup/ for initial setup and for that sweet dopamine

Don't forget that trailing slash!
I also changed the debian lxc to 4 cores, 4gb ram (absolutely overkill for my purposes)
Enjoy.

@jonashaan commented on GitHub (May 3, 2025): Hello again, after some hours of manual installation, nuking my debian lxc about 5 times and restarting over, I finally managed to install the newest authentik release on debian 12 lxc and get it to work, here are my steps to reproduce it: #### setup Debian 12 LXC Used the debian lxc script to create a new debian lxc 10 cores, 16gb ram (beef for building, can be reduced later (didn't need that much power in hindsight, but the more ram you've got, the better) #### updates and dependencies ``` apt update && apt install -y \ build-essential \ libpq-dev \ libssl-dev \ libffi-dev \ libxmlsec1-dev \ pkg-config \ python3.11 \ python3.11-venv \ python3-pip \ git ``` #### YQ ``` cd /tmp YQ_LATEST="$(curl -fsSL https://api.github.com/repos/mikefarah/yq/releases/latest | grep -Po '"tag_name": "\K.*?(?=")')" curl -fsSL "https://github.com/mikefarah/yq/releases/download/${YQ_LATEST}/yq_linux_amd64" -o /usr/bin/yq chmod +x /usr/bin/yq ``` #### GEOIP ``` GEOIP_RELEASE=$(curl -fsSL https://api.github.com/repos/maxmind/geoipupdate/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') curl -fsSL "https://github.com/maxmind/geoipupdate/releases/download/v${GEOIP_RELEASE}/geoipupdate_${GEOIP_RELEASE}_linux_amd64.deb" -o "geoipupdate.deb" $STD dpkg -i geoipupdate.deb cat <<EOF >/etc/GeoIP.conf #GEOIPUPDATE_EDITION_IDS="GeoLite2-City GeoLite2-ASN" #GEOIPUPDATE_VERBOSE="1" #GEOIPUPDATE_ACCOUNT_ID_FILE="/run/secrets/GEOIPUPDATE_ACCOUNT_ID" #GEOIPUPDATE_LICENSE_KEY_FILE="/run/secrets/GEOIPUPDATE_LICENSE_KEY" EOF ``` #### Postgres 16 (required for latest authentik 2025.4.0) ``` apt install -y postgresql-common /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh apt -y install postgresql-16 postgresql-contrib-16 DB_NAME="authentik" DB_USER="authentik" DB_PASS="$(openssl rand -base64 18 | cut -c1-13)" sudo -u postgres psql -c "CREATE DATABASE $DB_NAME;" sudo -u postgres psql -c "CREATE USER $DB_USER WITH PASSWORD '$DB_PASS';" sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE $DB_NAME TO $DB_USER;" sudo -u postgres psql -c "ALTER DATABASE $DB_NAME OWNER TO $DB_USER;" sudo -u postgres psql -c "ALTER USER $DB_USER WITH SUPERUSER;" ``` #### nodejs + nvm ``` curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash \. "$HOME/.nvm/nvm.sh" nvm install 22 ``` #### redis ``` apt-get install -y redis-server systemctl enable -q --now redis-server ``` #### golang ``` set +o pipefail temp_file=$(mktemp) golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1) curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file" tar -C /usr/local -xzf "$temp_file" ln -sf /usr/local/go/bin/go /usr/local/bin/go rm -f "$temp_file" set -o pipefail export PATH=$PATH:/usr/local/go/bin ``` #### uv (required as per developer docs for authentic, also handles python venv) ``` curl -LsSf https://astral.sh/uv/install.sh | sh source $HOME/.local/bin/env ``` #### extract latest release of authentik ``` RELEASE=$(curl -fsSL https://api.github.com/repos/goauthentik/authentik/releases/latest | grep "tarball_url" | awk '{print substr($2, 2, length($2)-3)}') mkdir /opt/authentik curl -fsSL "${RELEASE}" -o "authentik.tar.gz" tar -xzf authentik.tar.gz -C /opt/authentik --strip-components 1 --overwrite ``` #### open sesame: manual install of authentik ``` # web install: cd /opt/authentik/web npm install npm run build # website-install: cd /opt/authentik/website npm install npm run build # compile go api server: cd /opt/authentik go mod download go build -o /go/authentik ./cmd/server go build -o /opt/authentik/authentik-server /opt/authentik/cmd/server/ # core install: uv sync --frozen # config: mkdir /etc/authentik mv /opt/authentik/authentik/lib/default.yml /etc/authentik/config.yml yq -i ".secret_key = \"$(openssl rand -hex 32)\"" /etc/authentik/config.yml yq -i ".postgresql.password = \"${DB_PASS}\"" /etc/authentik/config.yml yq -i ".geoip = \"/opt/authentik/tests/GeoLite2-City-Test.mmdb\"" /etc/authentik/config.yml cp -r /opt/authentik/authentik/blueprints /opt/authentik/blueprints yq -i ".blueprints_dir = \"/opt/authentik/blueprints\"" /etc/authentik/config.yml # DB migration as last step after install: cd /opt/authentik uv run python -m lifecycle.migrate ``` #### warning: geoip has been deprecated (we'll ignore that for now :D) `{"event": "'geoip' has been deprecated in favor of 'events.context_processors.geoip'! Please update your configuration.", "level": "warning", "logger": "authentik.lib.config", "timestamp": 1746287975.9547737}` #### SKIP THIS STEP: i tried to make it work under non root user authentik, but it failed (no permission to run /usr/local/bin/gunicorn and celery after symlink) ``` # but here is my unsuccessful attempt anymway, I have no patience to fix this rn, so the services will run as root for now useradd --system --home-dir /var/lib/authentik --create-home --shell /usr/sbin/nologin authentik usermod -aG www-data authentik chown -R authentik:authentik /opt/authentik chown -R authentik:authentik /etc/authentik mkdir -p /var/log/authentik chown -R authentik:authentik /var/log/authentik chgrp authentik /opt /opt/authentik /opt/authentik/.venv /opt/authentik/.venv/bin chmod g+x /opt /opt/authentik /opt/authentik/.venv /opt/authentik/.venv/bin chmod +x /opt/authentik/.venv/bin/gunicorn chmod +x /opt/authentik/.venv/bin/celery ``` #### symlink gunicorn, celery and make service config files ``` # symlink ln -s /opt/authentik/.venv/bin/gunicorn /usr/local/bin/gunicorn ln -s /opt/authentik/.venv/bin/celery /usr/local/bin/celery # authentik-server.service cat <<EOF >/etc/systemd/system/authentik-server.service [Unit] Description=authentik Go Server (API Gateway) After=network.target Wants=redis.service postgresql.service [Service] Type=simple WorkingDirectory=/opt/authentik ExecStart=/opt/authentik/authentik-server Restart=always RestartSec=5 #User=authentik Environment=DJANGO_SETTINGS_MODULE=authentik.root.settings [Install] WantedBy=multi-user.target EOF # authentik-worker.service cat <<EOF >/etc/systemd/system/authentik-worker.service [Unit] Description=authentik Celery Worker After=network.target redis.service postgresql.service Requires=redis.service [Service] Type=simple WorkingDirectory=/opt/authentik ExecStart=/opt/authentik/.venv/bin/celery \ -A authentik.root.celery worker \ -Ofair \ --max-tasks-per-child=1 \ --autoscale 3,1 \ -Q authentik,authentik_scheduled,authentik_events \ -E Restart=always RestartSec=5 #User=authentik Environment=DJANGO_SETTINGS_MODULE=authentik.root.settings [Install] WantedBy=multi-user.target EOF # authentik-celery-beat.service cat <<EOF >/etc/systemd/system/authentik-celery-beat.service [Unit] Description=authentik Celery Beat Scheduler After=network.target [Service] Type=simple WorkingDirectory=/opt/authentik ExecStart=/opt/authentik/.venv/bin/celery \ -A authentik.root.celery beat \ -s /tmp/celerybeat-schedule Restart=always RestartSec=5 #User=authentik Environment=DJANGO_SETTINGS_MODULE=authentik.root.settings [Install] WantedBy=multi-user.target EOF ``` #### enable and run services ``` systemctl enable -q --now authentik-server systemctl enable -q --now authentik-worker systemctl enable -q --now authentik-celery-beat ``` ## visit http://[YOUR SERVER-IP]:9000/if/flow/initial-setup/ for initial setup and for that sweet dopamine Don't forget that trailing slash! I also changed the debian lxc to 4 cores, 4gb ram (absolutely overkill for my purposes) Enjoy.
Author
Owner

@RyuKay24 commented on GitHub (May 4, 2025):

I tried to follow your instructions, but it failed at 'uv run python -m lifecycle.migrate'. It says the module couldn't be found

@RyuKay24 commented on GitHub (May 4, 2025): I tried to follow your instructions, but it failed at 'uv run python -m lifecycle.migrate'. It says the module couldn't be found
Author
Owner

@jonashaan commented on GitHub (May 4, 2025):

I tried to follow your instructions, but it failed at 'uv run python -m lifecycle.migrate'. It says the module couldn't be found

you sure you ran uv inside the /opt/authentik folder (where the pyproject.toml is)
also make sure you extracted the latest release and correctly and also the uv sync --frozen went without a problem/ all install steps went through

Edit: silly me, I forgot to put a "cd /opt/authentik" before that, because uv/python is not part of the config in /etc. Fixed that

@jonashaan commented on GitHub (May 4, 2025): > I tried to follow your instructions, but it failed at 'uv run python -m lifecycle.migrate'. It says the module couldn't be found you sure you ran uv inside the /opt/authentik folder (where the pyproject.toml is) also make sure you extracted the latest release and correctly and also the uv sync --frozen went without a problem/ all install steps went through Edit: silly me, I forgot to put a "cd /opt/authentik" before that, because uv/python is not part of the config in /etc. Fixed that
Author
Owner

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

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

here is an new dev build, but it needs more ressources. 10 GB RAM. Heavy Tool.

@MickLesk commented on GitHub (May 5, 2025): bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/authentik.sh)" here is an new dev build, but it needs more ressources. 10 GB RAM. Heavy Tool.
Author
Owner

@njack21 commented on GitHub (May 6, 2025):

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

here is an new dev build, but it needs more ressources. 10 GB RAM. Heavy Tool.

Attempted to run the dev build, but it also fails. I ran in verbose mode. Here is the output.

✔️   uv is already at the latest version (0.7.2)
Reading package lists... DoneeSQL packages
Building dependency tree... DoneL packages
Reading state information... Done
Note, selecting 'postgresql-powa' for glob 'postgresql*'
Note, selecting 'postgresql-15-pglogical' for glob 'postgresql*'
Note, selecting 'postgresql-13-auto-failover' for glob 'postgresql*'
Note, selecting 'postgresql-9.1' for glob 'postgresql*'
Note, selecting 'postgresql-14-auto-failover' for glob 'postgresql*'
Note, selecting 'postgresql-15-pg-checksums' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgmp' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgq3' for glob 'postgresql*'
Note, selecting 'postgresql-15-pldebugger' for glob 'postgresql*'
Note, selecting 'postgresql-15-pg-qualstats' for glob 'postgresql*'
Note, selecting 'postgresql-15-slony1-2' for glob 'postgresql*'
Note, selecting 'postgresql-server-dev-all' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgaudit' for glob 'postgresql*'
Note, selecting 'postgresql-15-plsh' for glob 'postgresql*'
Note, selecting 'postgresql-15-rdkit' for glob 'postgresql*'
Note, selecting 'postgresql-15-powa' for glob 'postgresql*'
Note, selecting 'postgresql-15-asn1oid' for glob 'postgresql*'
Note, selecting 'postgresql-15-pg-stat-kcache' for glob 'postgresql*'
Note, selecting 'postgresql-15' for glob 'postgresql*'
Note, selecting 'postgresql-15-omnidb' for glob 'postgresql*'
Note, selecting 'postgresql-contrib' for glob 'postgresql*'
Note, selecting 'postgresql-15-tdigest' for glob 'postgresql*'
Note, selecting 'postgresql-pgrouting-scripts' for glob 'postgresql*'
Note, selecting 'postgresql-15-postgis-3' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgauditlogtofile' for glob 'postgresql*'
Note, selecting 'postgresql-15-partman' for glob 'postgresql*'
Note, selecting 'postgresql-10-auto-failover' for glob 'postgresql*'
Note, selecting 'postgresql-15-extra-window-functions' for glob 'postgresql*'
Note, selecting 'postgresql-11-auto-failover' for glob 'postgresql*'
Note, selecting 'postgresql-15-mysql-fdw' for glob 'postgresql*'
Note, selecting 'postgresql-12-auto-failover' for glob 'postgresql*'
Note, selecting 'postgresql-15-jsquery' for glob 'postgresql*'
Note, selecting 'postgresql-all' for glob 'postgresql*'
Note, selecting 'postgresql-plprofiler' for glob 'postgresql*'
Note, selecting 'postgresql-autodoc' for glob 'postgresql*'
Note, selecting 'postgresql-doc' for glob 'postgresql*'
Note, selecting 'postgresql-plpython3-15' for glob 'postgresql*'
Note, selecting 'postgresql-plpython3' for glob 'postgresql*'
Note, selecting 'postgresql-15-pg-wait-sampling' for glob 'postgresql*'
Note, selecting 'postgresql-15-plproxy' for glob 'postgresql*'
Note, selecting 'postgresql-15-preprepare' for glob 'postgresql*'
Note, selecting 'postgresql-15-rational' for glob 'postgresql*'
Note, selecting 'postgresql-postgis-java' for glob 'postgresql*'
Note, selecting 'postgresql-15-decoderbufs' for glob 'postgresql*'
Note, selecting 'postgresql-q3c' for glob 'postgresql*'
Note, selecting 'postgresql-15-tablelog' for glob 'postgresql*'
Note, selecting 'postgresql-plr' for glob 'postgresql*'
Note, selecting 'postgresql-15-pg-track-settings' for glob 'postgresql*'
Note, selecting 'postgresql-comparator' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgpcre' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgq-node' for glob 'postgresql*'
Note, selecting 'postgresql-15-snakeoil' for glob 'postgresql*'
Note, selecting 'postgresql-15-repack' for glob 'postgresql*'
Note, selecting 'postgresql-15-set-user' for glob 'postgresql*'
Note, selecting 'postgresql-15-periods' for glob 'postgresql*'
Note, selecting 'postgresql-15-pg-fact-loader' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgrouting' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgsphere' for glob 'postgresql*'
Note, selecting 'postgresql-server-dev-15' for glob 'postgresql*'
Note, selecting 'postgresql-15-pglogical-ticker' for glob 'postgresql*'
Note, selecting 'postgresql-15-repmgr' for glob 'postgresql*'
Note, selecting 'postgresql-filedump' for glob 'postgresql*'
Note, selecting 'postgresql-15-plpgsql-check' for glob 'postgresql*'
Note, selecting 'postgresql-ogr-fdw' for glob 'postgresql*'
Note, selecting 'postgresql-15-pllua' for glob 'postgresql*'
Note, selecting 'postgresql-contrib-15' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgpool2' for glob 'postgresql*'
Note, selecting 'postgresql-client-15' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgagent' for glob 'postgresql*'
Note, selecting 'postgresql-15-debversion' for glob 'postgresql*'
Note, selecting 'postgresql-15-slony1' for glob 'postgresql*'
Note, selecting 'postgresql-doc-15' for glob 'postgresql*'
Note, selecting 'postgresql-15-jit-llvm' for glob 'postgresql*'
Note, selecting 'postgresql-pgsphere' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgtap' for glob 'postgresql*'
Note, selecting 'postgresql-15-hypopg' for glob 'postgresql*'
Note, selecting 'postgresql-15-plprofiler' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgmemcache' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgextwlist' for glob 'postgresql*'
Note, selecting 'postgresql-plperl-15' for glob 'postgresql*'
Note, selecting 'postgresql-15-wal2json' for glob 'postgresql*'
Note, selecting 'postgresql-postgis' for glob 'postgresql*'
Note, selecting 'postgresql-15-pointcloud' for glob 'postgresql*'
Note, selecting 'postgresql-common' for glob 'postgresql*'
Note, selecting 'postgresql-15-prefix' for glob 'postgresql*'
Note, selecting 'postgresql-15-bgw-replstatus' for glob 'postgresql*'
Note, selecting 'postgresql-15-first-last-agg' for glob 'postgresql*'
Note, selecting 'postgresql-15-hll' for glob 'postgresql*'
Note, selecting 'postgresql-15-londiste-sql' for glob 'postgresql*'
Note, selecting 'postgresql-15-cron' for glob 'postgresql*'
Note, selecting 'postgresql-ip4r' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgrouting-doc' for glob 'postgresql*'
Note, selecting 'postgresql-15-similarity' for glob 'postgresql*'
Note, selecting 'postgresql-client-common' for glob 'postgresql*'
Note, selecting 'postgresql-15-pg-catcheck' for glob 'postgresql*'
Note, selecting 'postgresql-pltcl-15' for glob 'postgresql*'
Note, selecting 'postgresql-15-q3c' for glob 'postgresql*'
Note, selecting 'postgresql-15-plr' for glob 'postgresql*'
Note, selecting 'postgresql-15-rum' for glob 'postgresql*'
Note, selecting 'postgresql-15-postgis-3-scripts' for glob 'postgresql*'
Note, selecting 'postgresql-pgrouting' for glob 'postgresql*'
Note, selecting 'postgresql' for glob 'postgresql*'
Note, selecting 'postgresql-15-ip4r' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgl-ddl-deploy' for glob 'postgresql*'
Note, selecting 'postgresql-client' for glob 'postgresql*'
Note, selecting 'postgresql-15-auto-failover' for glob 'postgresql*'
Note, selecting 'postgresql-15-mimeo' for glob 'postgresql*'
Note, selecting 'postgresql-postgis-scripts' for glob 'postgresql*'
Note, selecting 'postgresql-15-postgis' for glob 'postgresql*'
Note, selecting 'postgresql-15-postgis-scripts' for glob 'postgresql*'
Note, selecting 'postgresql-15-icu-ext' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgrouting-scripts' for glob 'postgresql*'
Note, selecting 'postgresql-15-ogr-fdw' for glob 'postgresql*'
Note, selecting 'postgresql-15-tds-fdw' for glob 'postgresql*'
Note, selecting 'postgresql-15-numeral' for glob 'postgresql*'
Note, selecting 'postgresql-15-prioritize' for glob 'postgresql*'
Note, selecting 'postgresql-pltcl' for glob 'postgresql*'
Note, selecting 'postgresql-15-orafce' for glob 'postgresql*'
Note, selecting 'postgresql-plperl' for glob 'postgresql*'
Note, selecting 'postgresql-pgmp' for glob 'postgresql*'
Note, selecting 'postgresql-15-dirtyread' for glob 'postgresql*'
Note, selecting 'postgresql-15-semver' for glob 'postgresql*'
Note, selecting 'postgresql-15-unit' for glob 'postgresql*'
Note, selecting 'postgresql-pgtap' for glob 'postgresql*'
Note, selecting 'postgresql-15-pgfincore' for glob 'postgresql*'
Note, selecting 'postgresql-15-toastinfo' for glob 'postgresql*'
Note, selecting 'postgresql-15' instead of 'postgresql-15-jit-llvm'
Note, selecting 'postgresql-plperl-15' instead of 'postgresql-plperl'
Note, selecting 'postgresql-15-pgsphere' instead of 'postgresql-pgsphere'
Note, selecting 'postgresql-15-q3c' instead of 'postgresql-q3c'
Package 'postgresql-pgmp' is not installed, so not removed
Note, selecting 'postgresql-15-plr' instead of 'postgresql-plr'
Note, selecting 'postgresql-15-ip4r' instead of 'postgresql-ip4r'
Note, selecting 'postgresql-15-pgtap' instead of 'postgresql-pgtap'
Note, selecting 'postgresql-15' instead of 'postgresql-contrib-15'
Package 'postgresql-10-auto-failover' is not installed, so not removed
Package 'postgresql-11-auto-failover' is not installed, so not removed
Package 'postgresql-12-auto-failover' is not installed, so not removed
Package 'postgresql-13-auto-failover' is not installed, so not removed
Package 'postgresql-14-auto-failover' is not installed, so not removed
Note, selecting 'pgagent' instead of 'postgresql-15-pgagent'
Note, selecting 'postgresql-15-postgis-3' instead of 'postgresql-15-postgis'
Note, selecting 'postgresql-15-postgis-3-scripts' instead of 'postgresql-15-postgis-scripts'
Note, selecting 'postgresql-15-ogr-fdw' instead of 'postgresql-ogr-fdw'
Note, selecting 'postgresql-15-plprofiler' instead of 'postgresql-plprofiler'
Package 'postgresql-postgis-java' is not installed, so not removed
Note, selecting 'postgresql-plpython3-15' instead of 'postgresql-plpython3'
Note, selecting 'postgresql-pltcl-15' instead of 'postgresql-pltcl'
Package 'postgresql-9.1' is not installed, so not removed
Note, selecting 'postgresql-15-powa' instead of 'postgresql-powa'
Note, selecting 'postgresql-15-slony1-2' instead of 'postgresql-15-slony1'
Package 'postgresql' is not installed, so not removed
Package 'postgresql-client-common' is not installed, so not removed
Package 'postgresql-client' is not installed, so not removed
Package 'postgresql-15-bgw-replstatus' is not installed, so not removed
Package 'postgresql-pgrouting' is not installed, so not removed
Package 'postgresql-comparator' is not installed, so not removed
Package 'postgresql-common' is not installed, so not removed
Package 'postgresql-15-extra-window-functions' is not installed, so not removed
Package 'postgresql-15-first-last-agg' is not installed, so not removed
Package 'postgresql-contrib' is not installed, so not removed
Package 'postgresql-filedump' is not installed, so not removed
Package 'postgresql-15-hypopg' is not installed, so not removed
Package 'postgresql-15-icu-ext' is not installed, so not removed
Package 'postgresql-15-ip4r' is not installed, so not removed
Package 'postgresql-15-jsquery' is not installed, so not removed
Package 'postgresql-15-londiste-sql' is not installed, so not removed
Package 'postgresql-15-pgq-node' is not installed, so not removed
Package 'postgresql-15-mimeo' is not installed, so not removed
Package 'postgresql-15-omnidb' is not installed, so not removed
Package 'postgresql-15-orafce' is not installed, so not removed
Package 'postgresql-15-auto-failover' is not installed, so not removed
Package 'postgresql-15-pg-catcheck' is not installed, so not removed
Package 'postgresql-15-pg-checksums' is not installed, so not removed
Package 'postgresql-15-cron' is not installed, so not removed
Package 'postgresql-15-dirtyread' is not installed, so not removed
Package 'postgresql-15-pg-fact-loader' is not installed, so not removed
Package 'postgresql-15-partman' is not installed, so not removed
Package 'postgresql-15-pg-qualstats' is not installed, so not removed
Package 'postgresql-15-rational' is not installed, so not removed
Package 'postgresql-15-repack' is not installed, so not removed
Package 'postgresql-15-similarity' is not installed, so not removed
Package 'postgresql-15-snakeoil' is not installed, so not removed
Package 'postgresql-15-pg-stat-kcache' is not installed, so not removed
Package 'postgresql-15-pg-track-settings' is not installed, so not removed
Package 'postgresql-15-pg-wait-sampling' is not installed, so not removed
Package 'postgresql-15-pgaudit' is not installed, so not removed
Package 'postgresql-15-pgauditlogtofile' is not installed, so not removed
Package 'postgresql-15-pgextwlist' is not installed, so not removed
Package 'postgresql-15-pgfincore' is not installed, so not removed
Package 'postgresql-15-pgl-ddl-deploy' is not installed, so not removed
Package 'postgresql-15-pglogical' is not installed, so not removed
Package 'postgresql-15-pglogical-ticker' is not installed, so not removed
Package 'postgresql-15-pgmemcache' is not installed, so not removed
Package 'postgresql-15-pgpcre' is not installed, so not removed
Package 'postgresql-15-pointcloud' is not installed, so not removed
Package 'postgresql-15-pgpool2' is not installed, so not removed
Package 'postgresql-15-pgq3' is not installed, so not removed
Package 'postgresql-15-pgrouting' is not installed, so not removed
Package 'postgresql-15-pgrouting-scripts' is not installed, so not removed
Package 'postgresql-15-pgrouting-doc' is not installed, so not removed
Package 'postgresql-pgrouting-scripts' is not installed, so not removed
Package 'postgresql-15-pgsphere' is not installed, so not removed
Package 'postgresql-15-asn1oid' is not installed, so not removed
Package 'postgresql-15-ogr-fdw' is not installed, so not removed
Package 'postgresql-15-pgtap' is not installed, so not removed
Package 'postgresql-15-pldebugger' is not installed, so not removed
Package 'postgresql-15-plpgsql-check' is not installed, so not removed
Package 'postgresql-15-plprofiler' is not installed, so not removed
Package 'postgresql-15-plr' is not installed, so not removed
Package 'postgresql-postgis' is not installed, so not removed
Package 'postgresql-15-postgis-3' is not installed, so not removed
Package 'postgresql-15-postgis-3-scripts' is not installed, so not removed
Package 'postgresql-postgis-scripts' is not installed, so not removed
Package 'postgresql-15-decoderbufs' is not installed, so not removed
Package 'postgresql-doc-15' is not installed, so not removed
Package 'postgresql-client-15' is not installed, so not removed
Package 'postgresql-plperl-15' is not installed, so not removed
Package 'postgresql-plpython3-15' is not installed, so not removed
Package 'postgresql-pltcl-15' is not installed, so not removed
Package 'postgresql-server-dev-15' is not installed, so not removed
Package 'postgresql-autodoc' is not installed, so not removed
Package 'postgresql-doc' is not installed, so not removed
Package 'postgresql-all' is not installed, so not removed
Package 'postgresql-server-dev-all' is not installed, so not removed
Package 'postgresql-15-debversion' is not installed, so not removed
Package 'postgresql-15-hll' is not installed, so not removed
Package 'postgresql-15-mysql-fdw' is not installed, so not removed
Package 'postgresql-15-numeral' is not installed, so not removed
Package 'postgresql-15-periods' is not installed, so not removed
Package 'postgresql-15-pgmp' is not installed, so not removed
Package 'postgresql-15-pllua' is not installed, so not removed
Package 'postgresql-15-plproxy' is not installed, so not removed
Package 'postgresql-15-plsh' is not installed, so not removed
Package 'postgresql-15-prioritize' is not installed, so not removed
Package 'postgresql-15-q3c' is not installed, so not removed
Package 'postgresql-15-rum' is not installed, so not removed
Package 'postgresql-15-semver' is not installed, so not removed
Package 'postgresql-15-set-user' is not installed, so not removed
Package 'postgresql-15-unit' is not installed, so not removed
Package 'postgresql-15-powa' is not installed, so not removed
Package 'postgresql-15-prefix' is not installed, so not removed
Package 'postgresql-15-preprepare' is not installed, so not removed
Package 'postgresql-15-rdkit' is not installed, so not removed
Package 'postgresql-15-repmgr' is not installed, so not removed
Package 'postgresql-15-slony1-2' is not installed, so not removed
Package 'postgresql-15-tablelog' is not installed, so not removed
Package 'postgresql-15-tdigest' is not installed, so not removed
Package 'postgresql-15-tds-fdw' is not installed, so not removed
Package 'postgresql-15-toastinfo' is not installed, so not removed
Package 'postgresql-15-wal2json' is not installed, so not removed
⠹ Removing conflicting PostgreSQL packagesThe following packages will be REMOVED:
  postgresql-15*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 0 B of additional disk space will be used.
⠸ Removing conflicting PostgreSQL packagesTraceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 29, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
(Reading database ... 39945 files and directories currently installed.)
Purging configuration files for postgresql-15 (15.12-0+deb12u2) ...
⠹ Removing conflicting PostgreSQL packagesdpkg: error processing package postgresql-15 (--purge):
 installed postgresql-15 package post-removal script subprocess returned error exit status 10
Errors were encountered while processing:
 postgresql-15
⠙ Removing conflicting PostgreSQL packagesE: Sub-process /usr/bin/dpkg returned an error code (1)
⠹ Removing conflicting PostgreSQL packages
[ERROR] in line 125: exit code 0: while executing command $STD apt-get purge -y "postgresql*"
@njack21 commented on GitHub (May 6, 2025): > bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/authentik.sh)" > > here is an new dev build, but it needs more ressources. 10 GB RAM. Heavy Tool. Attempted to run the dev build, but it also fails. I ran in verbose mode. Here is the output. ``` ✔️ uv is already at the latest version (0.7.2) Reading package lists... DoneeSQL packages Building dependency tree... DoneL packages Reading state information... Done Note, selecting 'postgresql-powa' for glob 'postgresql*' Note, selecting 'postgresql-15-pglogical' for glob 'postgresql*' Note, selecting 'postgresql-13-auto-failover' for glob 'postgresql*' Note, selecting 'postgresql-9.1' for glob 'postgresql*' Note, selecting 'postgresql-14-auto-failover' for glob 'postgresql*' Note, selecting 'postgresql-15-pg-checksums' for glob 'postgresql*' Note, selecting 'postgresql-15-pgmp' for glob 'postgresql*' Note, selecting 'postgresql-15-pgq3' for glob 'postgresql*' Note, selecting 'postgresql-15-pldebugger' for glob 'postgresql*' Note, selecting 'postgresql-15-pg-qualstats' for glob 'postgresql*' Note, selecting 'postgresql-15-slony1-2' for glob 'postgresql*' Note, selecting 'postgresql-server-dev-all' for glob 'postgresql*' Note, selecting 'postgresql-15-pgaudit' for glob 'postgresql*' Note, selecting 'postgresql-15-plsh' for glob 'postgresql*' Note, selecting 'postgresql-15-rdkit' for glob 'postgresql*' Note, selecting 'postgresql-15-powa' for glob 'postgresql*' Note, selecting 'postgresql-15-asn1oid' for glob 'postgresql*' Note, selecting 'postgresql-15-pg-stat-kcache' for glob 'postgresql*' Note, selecting 'postgresql-15' for glob 'postgresql*' Note, selecting 'postgresql-15-omnidb' for glob 'postgresql*' Note, selecting 'postgresql-contrib' for glob 'postgresql*' Note, selecting 'postgresql-15-tdigest' for glob 'postgresql*' Note, selecting 'postgresql-pgrouting-scripts' for glob 'postgresql*' Note, selecting 'postgresql-15-postgis-3' for glob 'postgresql*' Note, selecting 'postgresql-15-pgauditlogtofile' for glob 'postgresql*' Note, selecting 'postgresql-15-partman' for glob 'postgresql*' Note, selecting 'postgresql-10-auto-failover' for glob 'postgresql*' Note, selecting 'postgresql-15-extra-window-functions' for glob 'postgresql*' Note, selecting 'postgresql-11-auto-failover' for glob 'postgresql*' Note, selecting 'postgresql-15-mysql-fdw' for glob 'postgresql*' Note, selecting 'postgresql-12-auto-failover' for glob 'postgresql*' Note, selecting 'postgresql-15-jsquery' for glob 'postgresql*' Note, selecting 'postgresql-all' for glob 'postgresql*' Note, selecting 'postgresql-plprofiler' for glob 'postgresql*' Note, selecting 'postgresql-autodoc' for glob 'postgresql*' Note, selecting 'postgresql-doc' for glob 'postgresql*' Note, selecting 'postgresql-plpython3-15' for glob 'postgresql*' Note, selecting 'postgresql-plpython3' for glob 'postgresql*' Note, selecting 'postgresql-15-pg-wait-sampling' for glob 'postgresql*' Note, selecting 'postgresql-15-plproxy' for glob 'postgresql*' Note, selecting 'postgresql-15-preprepare' for glob 'postgresql*' Note, selecting 'postgresql-15-rational' for glob 'postgresql*' Note, selecting 'postgresql-postgis-java' for glob 'postgresql*' Note, selecting 'postgresql-15-decoderbufs' for glob 'postgresql*' Note, selecting 'postgresql-q3c' for glob 'postgresql*' Note, selecting 'postgresql-15-tablelog' for glob 'postgresql*' Note, selecting 'postgresql-plr' for glob 'postgresql*' Note, selecting 'postgresql-15-pg-track-settings' for glob 'postgresql*' Note, selecting 'postgresql-comparator' for glob 'postgresql*' Note, selecting 'postgresql-15-pgpcre' for glob 'postgresql*' Note, selecting 'postgresql-15-pgq-node' for glob 'postgresql*' Note, selecting 'postgresql-15-snakeoil' for glob 'postgresql*' Note, selecting 'postgresql-15-repack' for glob 'postgresql*' Note, selecting 'postgresql-15-set-user' for glob 'postgresql*' Note, selecting 'postgresql-15-periods' for glob 'postgresql*' Note, selecting 'postgresql-15-pg-fact-loader' for glob 'postgresql*' Note, selecting 'postgresql-15-pgrouting' for glob 'postgresql*' Note, selecting 'postgresql-15-pgsphere' for glob 'postgresql*' Note, selecting 'postgresql-server-dev-15' for glob 'postgresql*' Note, selecting 'postgresql-15-pglogical-ticker' for glob 'postgresql*' Note, selecting 'postgresql-15-repmgr' for glob 'postgresql*' Note, selecting 'postgresql-filedump' for glob 'postgresql*' Note, selecting 'postgresql-15-plpgsql-check' for glob 'postgresql*' Note, selecting 'postgresql-ogr-fdw' for glob 'postgresql*' Note, selecting 'postgresql-15-pllua' for glob 'postgresql*' Note, selecting 'postgresql-contrib-15' for glob 'postgresql*' Note, selecting 'postgresql-15-pgpool2' for glob 'postgresql*' Note, selecting 'postgresql-client-15' for glob 'postgresql*' Note, selecting 'postgresql-15-pgagent' for glob 'postgresql*' Note, selecting 'postgresql-15-debversion' for glob 'postgresql*' Note, selecting 'postgresql-15-slony1' for glob 'postgresql*' Note, selecting 'postgresql-doc-15' for glob 'postgresql*' Note, selecting 'postgresql-15-jit-llvm' for glob 'postgresql*' Note, selecting 'postgresql-pgsphere' for glob 'postgresql*' Note, selecting 'postgresql-15-pgtap' for glob 'postgresql*' Note, selecting 'postgresql-15-hypopg' for glob 'postgresql*' Note, selecting 'postgresql-15-plprofiler' for glob 'postgresql*' Note, selecting 'postgresql-15-pgmemcache' for glob 'postgresql*' Note, selecting 'postgresql-15-pgextwlist' for glob 'postgresql*' Note, selecting 'postgresql-plperl-15' for glob 'postgresql*' Note, selecting 'postgresql-15-wal2json' for glob 'postgresql*' Note, selecting 'postgresql-postgis' for glob 'postgresql*' Note, selecting 'postgresql-15-pointcloud' for glob 'postgresql*' Note, selecting 'postgresql-common' for glob 'postgresql*' Note, selecting 'postgresql-15-prefix' for glob 'postgresql*' Note, selecting 'postgresql-15-bgw-replstatus' for glob 'postgresql*' Note, selecting 'postgresql-15-first-last-agg' for glob 'postgresql*' Note, selecting 'postgresql-15-hll' for glob 'postgresql*' Note, selecting 'postgresql-15-londiste-sql' for glob 'postgresql*' Note, selecting 'postgresql-15-cron' for glob 'postgresql*' Note, selecting 'postgresql-ip4r' for glob 'postgresql*' Note, selecting 'postgresql-15-pgrouting-doc' for glob 'postgresql*' Note, selecting 'postgresql-15-similarity' for glob 'postgresql*' Note, selecting 'postgresql-client-common' for glob 'postgresql*' Note, selecting 'postgresql-15-pg-catcheck' for glob 'postgresql*' Note, selecting 'postgresql-pltcl-15' for glob 'postgresql*' Note, selecting 'postgresql-15-q3c' for glob 'postgresql*' Note, selecting 'postgresql-15-plr' for glob 'postgresql*' Note, selecting 'postgresql-15-rum' for glob 'postgresql*' Note, selecting 'postgresql-15-postgis-3-scripts' for glob 'postgresql*' Note, selecting 'postgresql-pgrouting' for glob 'postgresql*' Note, selecting 'postgresql' for glob 'postgresql*' Note, selecting 'postgresql-15-ip4r' for glob 'postgresql*' Note, selecting 'postgresql-15-pgl-ddl-deploy' for glob 'postgresql*' Note, selecting 'postgresql-client' for glob 'postgresql*' Note, selecting 'postgresql-15-auto-failover' for glob 'postgresql*' Note, selecting 'postgresql-15-mimeo' for glob 'postgresql*' Note, selecting 'postgresql-postgis-scripts' for glob 'postgresql*' Note, selecting 'postgresql-15-postgis' for glob 'postgresql*' Note, selecting 'postgresql-15-postgis-scripts' for glob 'postgresql*' Note, selecting 'postgresql-15-icu-ext' for glob 'postgresql*' Note, selecting 'postgresql-15-pgrouting-scripts' for glob 'postgresql*' Note, selecting 'postgresql-15-ogr-fdw' for glob 'postgresql*' Note, selecting 'postgresql-15-tds-fdw' for glob 'postgresql*' Note, selecting 'postgresql-15-numeral' for glob 'postgresql*' Note, selecting 'postgresql-15-prioritize' for glob 'postgresql*' Note, selecting 'postgresql-pltcl' for glob 'postgresql*' Note, selecting 'postgresql-15-orafce' for glob 'postgresql*' Note, selecting 'postgresql-plperl' for glob 'postgresql*' Note, selecting 'postgresql-pgmp' for glob 'postgresql*' Note, selecting 'postgresql-15-dirtyread' for glob 'postgresql*' Note, selecting 'postgresql-15-semver' for glob 'postgresql*' Note, selecting 'postgresql-15-unit' for glob 'postgresql*' Note, selecting 'postgresql-pgtap' for glob 'postgresql*' Note, selecting 'postgresql-15-pgfincore' for glob 'postgresql*' Note, selecting 'postgresql-15-toastinfo' for glob 'postgresql*' Note, selecting 'postgresql-15' instead of 'postgresql-15-jit-llvm' Note, selecting 'postgresql-plperl-15' instead of 'postgresql-plperl' Note, selecting 'postgresql-15-pgsphere' instead of 'postgresql-pgsphere' Note, selecting 'postgresql-15-q3c' instead of 'postgresql-q3c' Package 'postgresql-pgmp' is not installed, so not removed Note, selecting 'postgresql-15-plr' instead of 'postgresql-plr' Note, selecting 'postgresql-15-ip4r' instead of 'postgresql-ip4r' Note, selecting 'postgresql-15-pgtap' instead of 'postgresql-pgtap' Note, selecting 'postgresql-15' instead of 'postgresql-contrib-15' Package 'postgresql-10-auto-failover' is not installed, so not removed Package 'postgresql-11-auto-failover' is not installed, so not removed Package 'postgresql-12-auto-failover' is not installed, so not removed Package 'postgresql-13-auto-failover' is not installed, so not removed Package 'postgresql-14-auto-failover' is not installed, so not removed Note, selecting 'pgagent' instead of 'postgresql-15-pgagent' Note, selecting 'postgresql-15-postgis-3' instead of 'postgresql-15-postgis' Note, selecting 'postgresql-15-postgis-3-scripts' instead of 'postgresql-15-postgis-scripts' Note, selecting 'postgresql-15-ogr-fdw' instead of 'postgresql-ogr-fdw' Note, selecting 'postgresql-15-plprofiler' instead of 'postgresql-plprofiler' Package 'postgresql-postgis-java' is not installed, so not removed Note, selecting 'postgresql-plpython3-15' instead of 'postgresql-plpython3' Note, selecting 'postgresql-pltcl-15' instead of 'postgresql-pltcl' Package 'postgresql-9.1' is not installed, so not removed Note, selecting 'postgresql-15-powa' instead of 'postgresql-powa' Note, selecting 'postgresql-15-slony1-2' instead of 'postgresql-15-slony1' Package 'postgresql' is not installed, so not removed Package 'postgresql-client-common' is not installed, so not removed Package 'postgresql-client' is not installed, so not removed Package 'postgresql-15-bgw-replstatus' is not installed, so not removed Package 'postgresql-pgrouting' is not installed, so not removed Package 'postgresql-comparator' is not installed, so not removed Package 'postgresql-common' is not installed, so not removed Package 'postgresql-15-extra-window-functions' is not installed, so not removed Package 'postgresql-15-first-last-agg' is not installed, so not removed Package 'postgresql-contrib' is not installed, so not removed Package 'postgresql-filedump' is not installed, so not removed Package 'postgresql-15-hypopg' is not installed, so not removed Package 'postgresql-15-icu-ext' is not installed, so not removed Package 'postgresql-15-ip4r' is not installed, so not removed Package 'postgresql-15-jsquery' is not installed, so not removed Package 'postgresql-15-londiste-sql' is not installed, so not removed Package 'postgresql-15-pgq-node' is not installed, so not removed Package 'postgresql-15-mimeo' is not installed, so not removed Package 'postgresql-15-omnidb' is not installed, so not removed Package 'postgresql-15-orafce' is not installed, so not removed Package 'postgresql-15-auto-failover' is not installed, so not removed Package 'postgresql-15-pg-catcheck' is not installed, so not removed Package 'postgresql-15-pg-checksums' is not installed, so not removed Package 'postgresql-15-cron' is not installed, so not removed Package 'postgresql-15-dirtyread' is not installed, so not removed Package 'postgresql-15-pg-fact-loader' is not installed, so not removed Package 'postgresql-15-partman' is not installed, so not removed Package 'postgresql-15-pg-qualstats' is not installed, so not removed Package 'postgresql-15-rational' is not installed, so not removed Package 'postgresql-15-repack' is not installed, so not removed Package 'postgresql-15-similarity' is not installed, so not removed Package 'postgresql-15-snakeoil' is not installed, so not removed Package 'postgresql-15-pg-stat-kcache' is not installed, so not removed Package 'postgresql-15-pg-track-settings' is not installed, so not removed Package 'postgresql-15-pg-wait-sampling' is not installed, so not removed Package 'postgresql-15-pgaudit' is not installed, so not removed Package 'postgresql-15-pgauditlogtofile' is not installed, so not removed Package 'postgresql-15-pgextwlist' is not installed, so not removed Package 'postgresql-15-pgfincore' is not installed, so not removed Package 'postgresql-15-pgl-ddl-deploy' is not installed, so not removed Package 'postgresql-15-pglogical' is not installed, so not removed Package 'postgresql-15-pglogical-ticker' is not installed, so not removed Package 'postgresql-15-pgmemcache' is not installed, so not removed Package 'postgresql-15-pgpcre' is not installed, so not removed Package 'postgresql-15-pointcloud' is not installed, so not removed Package 'postgresql-15-pgpool2' is not installed, so not removed Package 'postgresql-15-pgq3' is not installed, so not removed Package 'postgresql-15-pgrouting' is not installed, so not removed Package 'postgresql-15-pgrouting-scripts' is not installed, so not removed Package 'postgresql-15-pgrouting-doc' is not installed, so not removed Package 'postgresql-pgrouting-scripts' is not installed, so not removed Package 'postgresql-15-pgsphere' is not installed, so not removed Package 'postgresql-15-asn1oid' is not installed, so not removed Package 'postgresql-15-ogr-fdw' is not installed, so not removed Package 'postgresql-15-pgtap' is not installed, so not removed Package 'postgresql-15-pldebugger' is not installed, so not removed Package 'postgresql-15-plpgsql-check' is not installed, so not removed Package 'postgresql-15-plprofiler' is not installed, so not removed Package 'postgresql-15-plr' is not installed, so not removed Package 'postgresql-postgis' is not installed, so not removed Package 'postgresql-15-postgis-3' is not installed, so not removed Package 'postgresql-15-postgis-3-scripts' is not installed, so not removed Package 'postgresql-postgis-scripts' is not installed, so not removed Package 'postgresql-15-decoderbufs' is not installed, so not removed Package 'postgresql-doc-15' is not installed, so not removed Package 'postgresql-client-15' is not installed, so not removed Package 'postgresql-plperl-15' is not installed, so not removed Package 'postgresql-plpython3-15' is not installed, so not removed Package 'postgresql-pltcl-15' is not installed, so not removed Package 'postgresql-server-dev-15' is not installed, so not removed Package 'postgresql-autodoc' is not installed, so not removed Package 'postgresql-doc' is not installed, so not removed Package 'postgresql-all' is not installed, so not removed Package 'postgresql-server-dev-all' is not installed, so not removed Package 'postgresql-15-debversion' is not installed, so not removed Package 'postgresql-15-hll' is not installed, so not removed Package 'postgresql-15-mysql-fdw' is not installed, so not removed Package 'postgresql-15-numeral' is not installed, so not removed Package 'postgresql-15-periods' is not installed, so not removed Package 'postgresql-15-pgmp' is not installed, so not removed Package 'postgresql-15-pllua' is not installed, so not removed Package 'postgresql-15-plproxy' is not installed, so not removed Package 'postgresql-15-plsh' is not installed, so not removed Package 'postgresql-15-prioritize' is not installed, so not removed Package 'postgresql-15-q3c' is not installed, so not removed Package 'postgresql-15-rum' is not installed, so not removed Package 'postgresql-15-semver' is not installed, so not removed Package 'postgresql-15-set-user' is not installed, so not removed Package 'postgresql-15-unit' is not installed, so not removed Package 'postgresql-15-powa' is not installed, so not removed Package 'postgresql-15-prefix' is not installed, so not removed Package 'postgresql-15-preprepare' is not installed, so not removed Package 'postgresql-15-rdkit' is not installed, so not removed Package 'postgresql-15-repmgr' is not installed, so not removed Package 'postgresql-15-slony1-2' is not installed, so not removed Package 'postgresql-15-tablelog' is not installed, so not removed Package 'postgresql-15-tdigest' is not installed, so not removed Package 'postgresql-15-tds-fdw' is not installed, so not removed Package 'postgresql-15-toastinfo' is not installed, so not removed Package 'postgresql-15-wal2json' is not installed, so not removed ⠹ Removing conflicting PostgreSQL packagesThe following packages will be REMOVED: postgresql-15* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 0 B of additional disk space will be used. ⠸ Removing conflicting PostgreSQL packagesTraceback (most recent call last): File "/usr/bin/apt-listchanges", line 29, in <module> import apt_pkg ModuleNotFoundError: No module named 'apt_pkg' (Reading database ... 39945 files and directories currently installed.) Purging configuration files for postgresql-15 (15.12-0+deb12u2) ... ⠹ Removing conflicting PostgreSQL packagesdpkg: error processing package postgresql-15 (--purge): installed postgresql-15 package post-removal script subprocess returned error exit status 10 Errors were encountered while processing: postgresql-15 ⠙ Removing conflicting PostgreSQL packagesE: Sub-process /usr/bin/dpkg returned an error code (1) ⠹ Removing conflicting PostgreSQL packages [ERROR] in line 125: exit code 0: while executing command $STD apt-get purge -y "postgresql*" ```
Author
Owner

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

This is due to the changeover from psql 15 to 16. A new installation will probably make more sense

@MickLesk commented on GitHub (May 6, 2025): This is due to the changeover from psql 15 to 16. A new installation will probably make more sense
Author
Owner

@PlintuZz commented on GitHub (May 6, 2025):

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

here is an new dev build, but it needs more ressources. 10 GB RAM. Heavy Tool.

⠸[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 72: SPINNER_PID: unbound variable

@PlintuZz commented on GitHub (May 6, 2025): > bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/authentik.sh)" > > here is an new dev build, but it needs more ressources. 10 GB RAM. Heavy Tool. ⠸[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 72: SPINNER_PID: unbound variable
Author
Owner

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

new build? npm issues are repo issues, but i looks you dont have enough ressources for this dumb app

@MickLesk commented on GitHub (May 6, 2025): new build? npm issues are repo issues, but i looks you dont have enough ressources for this dumb app
Author
Owner

@PlintuZz commented on GitHub (May 6, 2025):

new build? npm issues are repo issues, but i looks you dont have enough ressources for this dumb app

yes. added memory and cores. the container was assembled and started.

Image

@PlintuZz commented on GitHub (May 6, 2025): > new build? npm issues are repo issues, but i looks you dont have enough ressources for this dumb app yes. added memory and cores. the container was assembled and started. ![Image](https://github.com/user-attachments/assets/f2100e24-7b2e-454e-be15-4c96d02704c0)
Author
Owner

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

You are active users. How difficult is it to manually restore the container to the way you use it? The documentation only says that there is no export tool, but that everything is dumped in the DB.

We are thinking (as I don't have an active script or a snapshot either) that unfortunately we won't be able to migrate. The documentation from them is, well...
I can only ever fix the script in the blind, the way I think. It's hard to say what the final result will be.

@MickLesk commented on GitHub (May 6, 2025): You are active users. How difficult is it to manually restore the container to the way you use it? The documentation only says that there is no export tool, but that everything is dumped in the DB. We are thinking (as I don't have an active script or a snapshot either) that unfortunately we won't be able to migrate. The documentation from them is, well... I can only ever fix the script in the blind, the way I think. It's hard to say what the final result will be.
Author
Owner

@jonashaan commented on GitHub (May 6, 2025):

I'm a new user so maybe I'm wrong but I don't see any other way to backup and restore the config without dumping the database with postgresql pg_dump and recreating it with the dump after installing postgres 16
I found these docs:
Postgres Upgrade Migration
Also for users that customized UI/Blueprints/... there are some folders needed to be backed up:
Backup and Restore

@jonashaan commented on GitHub (May 6, 2025): I'm a new user so maybe I'm wrong but I don't see any other way to backup and restore the config without dumping the database with `postgresql pg_dump` and recreating it with the dump after installing postgres 16 I found these docs: [Postgres Upgrade Migration](https://docs.goauthentik.io/docs/troubleshooting/postgres/upgrade_docker) Also for users that customized UI/Blueprints/... there are some folders needed to be backed up: [Backup and Restore](https://docs.goauthentik.io/docs/sys-mgmt/ops/backup-restore)
Author
Owner

@tremor021 commented on GitHub (May 6, 2025):

Yea, thats why we think its a dumb way of doing this.... You are forced to manually dumb databases and restore them in the new install

@tremor021 commented on GitHub (May 6, 2025): Yea, thats why we think its a dumb way of doing this.... You are forced to manually dumb databases and restore them in the new install
Author
Owner

@njack21 commented on GitHub (May 6, 2025):

You are active users. How difficult is it to manually restore the container to the way you use it? The documentation only says that there is no export tool, but that everything is dumped in the DB.

We are thinking (as I don't have an active script or a snapshot either) that unfortunately we won't be able to migrate. The documentation from them is, well... I can only ever fix the script in the blind, the way I think. It's hard to say what the final result will be.

I plan to move away from it as soon as possible, but I (being a dumbass) don't have a backup or snapshot. I built a new instance, but for some reason I'm not able to get a pg_dump of the database.

I need to get it to function so I can reconfigure authentication for apps.

@njack21 commented on GitHub (May 6, 2025): > You are active users. How difficult is it to manually restore the container to the way you use it? The documentation only says that there is no export tool, but that everything is dumped in the DB. > > We are thinking (as I don't have an active script or a snapshot either) that unfortunately we won't be able to migrate. The documentation from them is, well... I can only ever fix the script in the blind, the way I think. It's hard to say what the final result will be. I plan to move away from it as soon as possible, but I (being a dumbass) don't have a backup or snapshot. I built a new instance, but for some reason I'm not able to get a pg_dump of the database. I need to get it to function so I can reconfigure authentication for apps.
Author
Owner

@mentalinc commented on GitHub (May 8, 2025):

Dev version seems to install and able to create a user using the flow here [ip]/if/flow/initial-setup/
Is it possible to update this to the latest version.
Maybe also add a note to the webpage noting the path to start the setup?
i.e.
/if/flow/initial-setup/

@mentalinc commented on GitHub (May 8, 2025): Dev version seems to install and able to create a user using the flow here [ip]/if/flow/initial-setup/ Is it possible to update this to the latest version. Maybe also add a note to the webpage noting the path to start the setup? i.e. /if/flow/initial-setup/
Author
Owner

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

You get this info after create in shell, should be enough

@MickLesk commented on GitHub (May 8, 2025): You get this info after create in shell, should be enough
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#880