β
Have you read and understood the above guidelines?
Yes
π Did you run the script with verbose mode enabled?
Yes, verbose mode was enabled and the output is included below
π What is the name of the script you are using?
Authentik
π What was the exact command used to execute the script?
update -> bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/authentik.sh)"
βοΈ What settings are you using?
π₯οΈ Which Linux distribution are you using?
Debian 13
π§± Is this Proxmox host running arm64?
No
π Which Proxmox version are you on?
9.2.11
π Provide a clear and concise description of the issue.
When upgrading an existing Authentik LXC from 2026.5.6 to 2026.8.1, it fails in a step performing a recursive chown on /opt/authentik-data, and (as far as I can see) leaves the LXC in a partially updated step.
The exact command that fails is chown -R authentik:authentik /opt/authentik-data, and the error is Moving blueprints to presistent directorychown: cannot read directory '/opt/authentik-data/lost+found': Permission denied.
On quick inspection, it seems like the chown was introduced in the newly merged PR #16980.
π Steps to reproduce the issue.
- Install version 2026.5.6 (I have not tried updating from other versions)
- Run the
update script in the LXC
β Paste the full error output (if available).
____ ___ / // / ___ ____ / /() /
/ __ `/ / / / __/ __ / _ / __ / __/ / ///
/ // / // / // / / / / / / / // / ,<
_,/_,/_// //_// //_///||
βοΈ Update dependencies
Get:1 http://security.debian.org trixie-security InRelease [43.4 kB]
Get:2 http://security.debian.org trixie-security/contrib amd64 Packages [3,148 B]
Get:3 http://security.debian.org trixie-security/contrib Translation-en [2,564 B]
Get:4 https://apt.postgresql.org/pub/repos/apt trixie-pgdg InRelease [241 kB]
Get:5 http://security.debian.org trixie-security/main amd64 Packages [251 kB]
Get:6 http://security.debian.org trixie-security/main Translation-en [152 kB]
Get:7 https://apt.postgresql.org/pub/repos/apt trixie-pgdg/main amd64 Packages [830 kB]
Hit:8 http://deb.debian.org/debian trixie InRelease
Get:9 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Fetched 1,571 kB in 0s (3,978 kB/s)
75 packages can be upgraded. Run 'apt list --upgradable' to see them.
Hit:1 http://security.debian.org trixie-security InRelease
Hit:2 http://deb.debian.org/debian trixie InRelease
Hit:3 http://deb.debian.org/debian trixie-updates InRelease
Hit:4 https://apt.postgresql.org/pub/repos/apt trixie-pgdg InRelease
Get:5 https://deb.nodesource.com/node_26.x nodistro InRelease [10.6 kB]
Get:6 https://deb.nodesource.com/node_26.x nodistro/main amd64 Packages [3,359 B]
Fetched 14.0 kB in 0s (66.4 kB/s)
75 packages can be upgraded. Run 'apt list --upgradable' to see them.
Installing:
nodejs
Summary:
Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 75
Download size: 41.6 MB
Space needed: 288 MB / 34.7 GB available
Get:1 https://deb.nodesource.com/node_26.x nodistro/main amd64 nodejs amd64 26.8.1-1nodesource1 [41.6 MB]
Fetched 41.6 MB in 0s (108 MB/s)
Selecting previously unselected package nodejs.
(Reading database ... 46626 files and directories currently installed.)
Preparing to unpack .../nodejs_26.8.1-1nodesource1_amd64.deb ...
Unpacking nodejs (26.8.1-1nodesource1) ...
Setting up nodejs (26.8.1-1nodesource1) ...
Processing triggers for man-db (2.13.1-1) ...
removed 8 packages, and changed 72 packages in 2s
15 packages are looking for funding
run npm fund for details
βοΈ npm 11.19.0 -> 12.0.2
βοΈ Upgrade Node.js to 26
β³ Installing corepack
added 1 package in 295ms
βοΈ Installed corepack
βοΈ Enabled corepack
β³ Provisioning pnpm via corepackPreparing pnpm@11 for immediate activation...
βοΈ Provisioned pnpm via corepack
βοΈ Legacy Go workspace cleaned
βοΈ Setup Go 1.27.1
Clearing cache at: /root/.cache/uv
Removed 5 files (44B)
β³ Installing Python 3.14.7 via uvcpython-3.14.7-linux-x86_64-gnu (download) ------------------------------ 0 B/34.28 MiB
Installed Python 3.14.7 in 549ms
- cpython-3.14.7-linux-x86_64-gnu (python3.14)
warning: /root/.local/bin is not on your PATH. To use installed Python executables, run export PATH="/root/.local/bin:$PATH" or uv python update-shell.
βοΈ Python 3.14.7 installed
βοΈ Setup uv 0.12.9
β³ Update Rust (stable)
stable-x86_64-unknown-linux-gnu unchanged - rustc 1.98.0 (88d9e12ae 2026-08-18)
info: syncing channel updates for stable-x86_64-unknown-linux-gnu
stable-x86_64-unknown-linux-gnu unchanged - rustc 1.98.0 (88d9e12ae 2026-08-18)
info: checking for self-update (current version: 1.29.0)
info: downloading self-update (new version: 1.29.1)
βοΈ Update Rust 1.98.0
βοΈ No update available: geoipupdate (8.0.0)
βοΈ No update available: xmlsec (1.3.12) - update temporarily held back due to issues with newer releases
βοΈ Update available: authentik version/2026.5.6 -> version/2026.8.1
βοΈ Stopped Services
β³ Moving blueprints to presistent directorychown: cannot read directory '/opt/authentik-data/lost+found': Permission denied
βοΈ in line 92: exit code 1 (General error / Operation not permitted): while executing command chown -R authentik:authentik /opt/authentik-data
--- Last 20 lines of log ---
[2026-09-03 09:39:29] [INFO] Upgrade Go from 1.27.0 to 1.27.1
[2026-09-03 09:39:29] [INFO] Removing legacy Go workspace
[2026-09-03 09:39:29] [OK] Legacy Go workspace cleaned
[2026-09-03 09:39:31] [OK] Setup Go 1.27.1
[2026-09-03 09:39:32] [INFO] Upgrade uv from 0.12.5 to 0.12.9
[2026-09-03 09:39:33] [INFO] Installing Python 3.14.7 via uv
[2026-09-03 09:39:33] [OK] Python 3.14.7 installed
[2026-09-03 09:39:33] [OK] Setup uv 0.12.9
[2026-09-03 09:39:33] [INFO] Update Rust (stable)
[2026-09-03 09:39:34] [OK] Update Rust 1.98.0
[2026-09-03 09:39:34] [INFO] Checking for update: geoipupdate
[2026-09-03 09:39:35] [OK] No update available: geoipupdate (8.0.0)
[2026-09-03 09:39:35] [INFO] Checking for update: xmlsec
[2026-09-03 09:39:35] [OK] No update available: xmlsec (1.3.12) - update temporarily held back due to issues with newer releases
[2026-09-03 09:39:35] [INFO] Checking for update: authentik
[2026-09-03 09:39:36] [OK] Update available: authentik version/2026.5.6 -> version/2026.8.1
[2026-09-03 09:39:36] [INFO] Stopping Services
[2026-09-03 09:39:41] [OK] Stopped Services
[2026-09-03 09:39:41] [INFO] Moving blueprints to presistent directory
[2026-09-03 09:39:41] [ERROR] in line 92: exit code 1 (General error / Operation not permitted): while executing command chown -R authentik:authentik /opt/authentik-data
πΌοΈ Additional context (optional).
No response
β Have you read and understood the above guidelines?
Yes
π Did you run the script with verbose mode enabled?
Yes, verbose mode was enabled and the output is included below
π What is the name of the script you are using?
Authentik
π What was the exact command used to execute the script?
update -> bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/authentik.sh)"
βοΈ What settings are you using?
π₯οΈ Which Linux distribution are you using?
Debian 13
π§± Is this Proxmox host running arm64?
No
π Which Proxmox version are you on?
9.2.11
π Provide a clear and concise description of the issue.
When upgrading an existing Authentik LXC from 2026.5.6 to 2026.8.1, it fails in a step performing a recursive
chownon/opt/authentik-data, and (as far as I can see) leaves the LXC in a partially updated step.The exact command that fails is
chown -R authentik:authentik /opt/authentik-data, and the error isMoving blueprints to presistent directorychown: cannot read directory '/opt/authentik-data/lost+found': Permission denied.On quick inspection, it seems like the
chownwas introduced in the newly merged PR #16980.π Steps to reproduce the issue.
updatescript in the LXCβ Paste the full error output (if available).
____ ___ / // / ___ ____ / /() /
/ __ `/ / / / __/ __ / _ / __ / __/ / ///
/ // / // / // / / / / / / / // / ,<
_,/_,/_// //_// //_///||
βοΈ Update dependencies
Get:1 http://security.debian.org trixie-security InRelease [43.4 kB]
Get:2 http://security.debian.org trixie-security/contrib amd64 Packages [3,148 B]
Get:3 http://security.debian.org trixie-security/contrib Translation-en [2,564 B]
Get:4 https://apt.postgresql.org/pub/repos/apt trixie-pgdg InRelease [241 kB]
Get:5 http://security.debian.org trixie-security/main amd64 Packages [251 kB]
Get:6 http://security.debian.org trixie-security/main Translation-en [152 kB]
Get:7 https://apt.postgresql.org/pub/repos/apt trixie-pgdg/main amd64 Packages [830 kB]
Hit:8 http://deb.debian.org/debian trixie InRelease
Get:9 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Fetched 1,571 kB in 0s (3,978 kB/s)
75 packages can be upgraded. Run 'apt list --upgradable' to see them.
Hit:1 http://security.debian.org trixie-security InRelease
Hit:2 http://deb.debian.org/debian trixie InRelease
Hit:3 http://deb.debian.org/debian trixie-updates InRelease
Hit:4 https://apt.postgresql.org/pub/repos/apt trixie-pgdg InRelease
Get:5 https://deb.nodesource.com/node_26.x nodistro InRelease [10.6 kB]
Get:6 https://deb.nodesource.com/node_26.x nodistro/main amd64 Packages [3,359 B]
Fetched 14.0 kB in 0s (66.4 kB/s)
75 packages can be upgraded. Run 'apt list --upgradable' to see them.
Installing:
nodejs
Summary:
Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 75
Download size: 41.6 MB
Space needed: 288 MB / 34.7 GB available
Get:1 https://deb.nodesource.com/node_26.x nodistro/main amd64 nodejs amd64 26.8.1-1nodesource1 [41.6 MB]
Fetched 41.6 MB in 0s (108 MB/s)
Selecting previously unselected package nodejs.
(Reading database ... 46626 files and directories currently installed.)
Preparing to unpack .../nodejs_26.8.1-1nodesource1_amd64.deb ...
Unpacking nodejs (26.8.1-1nodesource1) ...
Setting up nodejs (26.8.1-1nodesource1) ...
Processing triggers for man-db (2.13.1-1) ...
removed 8 packages, and changed 72 packages in 2s
15 packages are looking for funding
run
npm fundfor detailsβοΈ npm 11.19.0 -> 12.0.2
βοΈ Upgrade Node.js to 26
β³ Installing corepack
added 1 package in 295ms
βοΈ Installed corepack
βοΈ Enabled corepack
β³ Provisioning pnpm via corepackPreparing pnpm@11 for immediate activation...
βοΈ Provisioned pnpm via corepack
βοΈ Legacy Go workspace cleaned
βοΈ Setup Go 1.27.1
Clearing cache at: /root/.cache/uv
Removed 5 files (44B)
β³ Installing Python 3.14.7 via uvcpython-3.14.7-linux-x86_64-gnu (download) ------------------------------ 0 B/34.28 MiB
Installed Python 3.14.7 in 549ms
warning:
/root/.local/binis not on your PATH. To use installed Python executables, runexport PATH="/root/.local/bin:$PATH"oruv python update-shell.βοΈ Python 3.14.7 installed
βοΈ Setup uv 0.12.9
β³ Update Rust (stable)
stable-x86_64-unknown-linux-gnu unchanged - rustc 1.98.0 (88d9e12ae 2026-08-18)
info: syncing channel updates for stable-x86_64-unknown-linux-gnu
stable-x86_64-unknown-linux-gnu unchanged - rustc 1.98.0 (88d9e12ae 2026-08-18)
info: checking for self-update (current version: 1.29.0)
info: downloading self-update (new version: 1.29.1)
βοΈ Update Rust 1.98.0
βοΈ No update available: geoipupdate (8.0.0)
βοΈ No update available: xmlsec (1.3.12) - update temporarily held back due to issues with newer releases
βοΈ Update available: authentik version/2026.5.6 -> version/2026.8.1
βοΈ Stopped Services
β³ Moving blueprints to presistent directorychown: cannot read directory '/opt/authentik-data/lost+found': Permission denied
βοΈ in line 92: exit code 1 (General error / Operation not permitted): while executing command chown -R authentik:authentik /opt/authentik-data
--- Last 20 lines of log ---
[2026-09-03 09:39:29] [INFO] Upgrade Go from 1.27.0 to 1.27.1
[2026-09-03 09:39:29] [INFO] Removing legacy Go workspace
[2026-09-03 09:39:29] [OK] Legacy Go workspace cleaned
[2026-09-03 09:39:31] [OK] Setup Go 1.27.1
[2026-09-03 09:39:32] [INFO] Upgrade uv from 0.12.5 to 0.12.9
[2026-09-03 09:39:33] [INFO] Installing Python 3.14.7 via uv
[2026-09-03 09:39:33] [OK] Python 3.14.7 installed
[2026-09-03 09:39:33] [OK] Setup uv 0.12.9
[2026-09-03 09:39:33] [INFO] Update Rust (stable)
[2026-09-03 09:39:34] [OK] Update Rust 1.98.0
[2026-09-03 09:39:34] [INFO] Checking for update: geoipupdate
[2026-09-03 09:39:35] [OK] No update available: geoipupdate (8.0.0)
[2026-09-03 09:39:35] [INFO] Checking for update: xmlsec
[2026-09-03 09:39:35] [OK] No update available: xmlsec (1.3.12) - update temporarily held back due to issues with newer releases
[2026-09-03 09:39:35] [INFO] Checking for update: authentik
[2026-09-03 09:39:36] [OK] Update available: authentik version/2026.5.6 -> version/2026.8.1
[2026-09-03 09:39:36] [INFO] Stopping Services
[2026-09-03 09:39:41] [OK] Stopped Services
[2026-09-03 09:39:41] [INFO] Moving blueprints to presistent directory
[2026-09-03 09:39:41] [ERROR] in line 92: exit code 1 (General error / Operation not permitted): while executing command chown -R authentik:authentik /opt/authentik-data
πΌοΈ Additional context (optional).
No response