Skip to content

[Authentik] Error when updating Authentik from 2026.5.6 to 2026.8.1Β #16985

Description

@relausen

βœ… 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?

  • Default Settings
  • Advanced Settings

πŸ–₯️ 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.

  1. Install version 2026.5.6 (I have not tried updating from other versions)
  2. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions