Skip to content

Conversation

@stavros-k
Copy link
Contributor

@stavros-k stavros-k commented Dec 22, 2025

Blocked until 2025.12.0 is released.

"Media" has been moved under a unified "Data" storage by upstream.

New Installs:

The "media" storage is "disabled" and will result in an exception if a user tries to use it. This avoids doing a fresh install with a soon-to-be-removed setup

Existing installs:

During upgrade the "Use Deprecated Media" flag will be set, which will do a "double" mount.
This will continue to "work" as it should.
"Data" under /data
"Media" under /data/media.

A deprecated notice will be shown in the Notes card and on the app wizard.

Migration steps:

  1. Stop the app.
  2. Create a directory for Data storage whereever you want ton the Host. (ie /mnt/tank/apps/authentik/data)
  3. Go to the path where Media storage is mounted on. (ie /mnt/tank/apps/authentik/media)
  4. Move any contents from /mnt/tank/apps/authentik/media to /mnt/tank/apps/authentik/data/media (ie if there is a file like /mnt/tank/apps/authentik/media/my-file.png it should end up being /mnt/tank/apps/authentik/data/media/my-file.png)
  5. Edit the Authentik App.
  6. Change the type of the Data storage to host path and point to /mnt/tank/apps/authentik/data
  7. Uncheck the Use Deprecated Media Storage checkbox. (Media storage should no longer show)
  8. Save
  9. Done.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates Authentik's storage structure from separate "media" storage to a unified "data" storage, following an upstream change. The implementation includes a migration path for existing installations while preventing new installations from using the deprecated configuration.

Key changes:

  • Upgrades Authentik from version 2025.10.3 to 2025.12.0
  • Introduces new "data" storage that consolidates media and reports under a single path
  • Adds migration script to automatically enable deprecated media flag for existing installations
  • Implements validation to prevent new installs from using deprecated media storage

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
app.yaml Bumps app version from 1.0.58 to 1.1.0 and app_version from 2025.10.3 to 2025.12.0
ix_values.yaml Updates image tag to 2025.12.0 and adds data_base_path constant
questions.yaml Adds "uses_deprecated_media" flag and new "data" storage configuration section
docker-compose.yaml Refactors container setup to use unified data storage with conditional deprecated media mounting
test_values/basic-values.yaml Updates test configuration to include new data storage while maintaining deprecated media for backwards compatibility testing
migrations/enable_deprecated_media Adds migration script to set uses_deprecated_media flag for existing installations
deprecations.yaml Defines deprecation notice for media storage with migration instructions
app_migrations.yaml Registers the enable_deprecated_media migration for versions upgrading from ≤1.0.58 to ≥1.1.0

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants