Skip to content

Conversation

@authentik-automation
Copy link
Contributor

Cherry-pick of #19067 to version-2025.12 branch.

Original PR: #19067
Original Author: @dominic-r
Cherry-picked commit: 32f77f0

after migration 0054 changed icon fields from Django FileField to a TextField based custom FileField, old sessions which had serialized Source/Application model instances fail to deserialize.

The old FieldFile descriptors try to access field.storage which no longer exists.

We can't edit that migration since it has already been ran by many/

So, you  add AttributeError and TypeError to exception handling in SessionStore.decode() to return an empty session instead of crashing with 500.
@netlify
Copy link

netlify bot commented Jan 3, 2026

Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit c1e6669
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/69597f82dc2d3a0008312aca
😎 Deploy Preview https://deploy-preview-19168--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Jan 3, 2026

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit c1e6669
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69597f8249c22600081ac354
😎 Deploy Preview https://deploy-preview-19168--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link

codecov bot commented Jan 3, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.81%. Comparing base (b2ca887) to head (c1e6669).
⚠️ Report is 10 commits behind head on version-2025.12.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/core/sessions.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                 @@
##           version-2025.12   #19168      +/-   ##
===================================================
- Coverage            93.06%   92.81%   -0.26%     
===================================================
  Files                  946      946              
  Lines                52076    52076              
===================================================
- Hits                 48466    48334     -132     
- Misses                3610     3742     +132     
Flag Coverage Δ
e2e 42.65% <0.00%> (-1.36%) ⬇️
integration 23.45% <0.00%> (+<0.01%) ⬆️
unit 91.58% <0.00%> (+<0.01%) ⬆️
unit-migrate 91.62% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rissson rissson merged commit d60d06f into version-2025.12 Jan 6, 2026
116 of 122 checks passed
@rissson rissson deleted the cherry-pick/19067-to-version-2025.12 branch January 6, 2026 17:48
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-c1e66695fdb2c2aaa2f99662ad32dcd4ca85199e
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-c1e66695fdb2c2aaa2f99662ad32dcd4ca85199e

Afterwards, run the upgrade commands from the latest release notes.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants