Newly deployed server gives "Server Error" #40
Open
opened 2026-08-28 21:25:01 +00:00 by marlon
·
3 comments
No Branch/Tag Specified
main
renovate/ghcr.io-goauthentik-ldap-2026.x
kc_testing
renovate/ghcr.io-goauthentik-server-2026.x
fix-outline-oidc
renovate/pgautoupgrade-pgautoupgrade-18.x
notplants-authentik-upgrade
add-mila
fature/group_apps
redirect_uri_fix
kc_stable
feature/535_remove_background
WIP
nextcloud
list
event_delete_model
patch_kimai_integration
password_bootstrap
custom-css
validate-username
custom_theme
copy_assets
12.1.2+2026.8.0
12.1.1+2026.8.0
12.1.0+2026.8.0
12.0.6+2026.5.6
12.0.5+2026.5.5
12.0.4+2026.5.4
12.0.3+2026.5.3
12.0.2+2026.5.2
12.0.1+2026.5.2
12.0.0+2026.5.2
11.0.4+2026.2.1
11.0.3+2026.2.1
11.0.2+2026.2.1
11.0.1+2026.2.1
11.0.0+2026.2.1
10.2.0+2025.12.4
10.1.4+2025.10.2
10.1.3+2025.10.2
10.1.2+2025.10.2
10.1.1+2025.10.2
10.1.0+2025.10.2
9.0.2+2025.8.1
9.0.1+2025.8.1
9.0.0+2025.8.1
8.0.0+2025.8.1
7.4.1+2025.6.4
7.4.0+2025.6.3
7.3.2+2025.6.2
7.3.1+2025.6.1
7.3.0+2025.6.0
7.2.0+2025.4.1
7.1.0+2025.2.4
7.0.3+2025.2.3
7.0.2+2025.2.2
7.0.1+2025.2.0
7.0.0+2025.2.0
6.12.0+2024.12.3
6.11.1+2024.10.5
6.11.0+2024.10.5
6.10.1+2024.10.4
6.9.0+2024.10.0
6.8.1+2024.10.0
6.8.0+2024.10.0
6.7.1+2024.8.3
6.5.3+2024.6.5
6.5.2+2024.6.5
6.7.0+2024.8.3
6.5.1+2024.6.5
6.6.0+2024.8.2
6.5.0+2024.6.3
6.3.1+2024.6.1
6.4.0+2024.6.3
6.3.1+2024.6.2
6.3.0+2024.6.1
5.1.2+2024.2.3
6.2.0+2024.4.2
6.1.1+2024.4.2
6.1.0+2024.4.2
6.0.0+2024.4.0
5.2.1+2024.4.0
5.2.0+2024.4.0
5.1.1+2024.2.3
5.1.0+2024.2.3
5.0.2+2024.2.2
5.0.1+2024.2.2
5.0.0+2024.2.2
4.3.0+2023.10.7
4.2.0+2023.10.7
4.1.1+2023.10.7
4.1.0+2023.10.5
4.0.0+2023.10.5
3.3.1+2023.8.5
3.3.0+2023.8.5
3.2.4+2023.6.1
3.2.3+2023.6.1
3.2.2+2023.6.1
3.2.1+2023.6.1
3.1.0+2023.3.1
3.0.0+2023.2.3
3.2.0+2023.6.1
3.1.2+2023.3.1
3.1.1+2023.3.1
2.0.0+2023.2.3
1.4.2+2023.2.3
1.4.1+2023.2.3
1.4.0+2023.1.0
1.3.0+2022.12.2
1.2.0+2022.11.3
1.1.1+2022.11.1
0.7.0+2022.11.1
1.1.0+2022.11.1
1.0.0+2022.10.1
0.6.0+2022.10.1
0.6.0+2022.10.0
0.5.0+2022.9.0
0.4.0+2022.8.2
0.3.0+2022.7.3
0.2.0+2022.6.3
0.1.0+2022.6.2
Labels
No items
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
appletalk
arjan
basebuilder
BornDeleuze
Brooke
carla
cas (Cassowary)
codegod100
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
flancian
Frando
iexos
jade (Jade Ambrose)
javielico (Javielico)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
marlon (marlon)
mayel
mirsal
moosemower
moritz
nicksellen (Nick Sellen)
notplants
oxaliq (sorrel)
p4u1
pau
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
PhiNatalie
renovate-bot (Comrade Renovate Bot)
ripclap
rix
rscmbbng
sef (sef)
simon
sixsmith (Sixsmith)
stevensting
tobias
trav (Trav Fryer)
val (val (he/him))
vaznasty
virtualboys
wolcen (Chris Thompson)
wykwit
xynosis
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/authentik#40
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Version 12.1.0+2026.8.0
After following the instructions on the README.md to deploy a new server, abra shows that authentik has deployed successfully. However accessing https://authentik.mydomain.com redirects to https://authentik.mydomain.com/setup and displays an authentik-branded page that simply says "Server Error"
Redeploying or deleting the deployment and re-creating it don't fix the problem.
The relevant logs are:
2026-08-28T21:21:59.338043781Z {"event": "Internal Server Error: /setup", "exception": [{"exc_notes": [], "exc_type": "FlowNonApplicableException", "exc_value": "", "exceptions": [], "frames": [{"filename": "/ak-root/.venv/lib/python3.14/site-packages/asgiref/sync.py", "lineno": 557, "name": "thread_handler"}, {"filename": "/ak-root/.venv/lib/python3.14/site-packages/django/core/handlers/exception.py", "lineno": 42, "name": "inner"}, {"filename": "/ak-root/.venv/lib/python3.14/site-packages/asgiref/sync.py", "lineno": 557, "name": "thread_handler"}, {"filename": "/ak-root/.venv/lib/python3.14/site-packages/django/core/handlers/base.py", "lineno": 253, "name": "_get_response_async"}, {"filename": "/ak-root/.venv/lib/python3.14/site-packages/asgiref/sync.py", "lineno": 506, "name": "call"}, {"filename": "/ak-root/.venv/lib/python3.14/site-packages/asgiref/current_thread_executor.py", "lineno": 40, "name": "run"}, {"filename": "/ak-root/.venv/lib/python3.14/site-packages/asgiref/sync.py", "lineno": 561, "name": "thread_handler"}, {"filename": "/ak-root/.venv/lib/python3.14/site-packages/django/views/generic/base.py", "lineno": 105, "name": "view"}, {"filename": "/authentik/core/setup/views.py", "lineno": 42, "name": "dispatch"}, {"filename": "/ak-root/.venv/lib/python3.14/site-packages/django/views/generic/base.py", "lineno": 144, "name": "dispatch"}, {"filename": "/authentik/core/setup/views.py", "lineno": 60, "name": "get"}, {"filename": "/authentik/flows/planner.py", "lineno": 290, "name": "plan"}], "is_cause": false, "is_group": false, "syntax_error": null}], "level": "error", "logger": "django.request", "timestamp": "2026-08-28T21:21:59.337807"}
2026-08-28T21:21:59.340396068Z {"auth_via": "unauthenticated", "domain_url": "authentik.mydomain.com", "event": "/setup", "host": "users.cmbnat.org", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 313, "remote": "12.34.56.78", "request_id": "561b29cc1ecb4cb6ae0fc357c394a131", "runtime": 54, "schema_name": "public", "scheme": "https", "status": 500, "timestamp": "2026-08-28T21:21:59.340266", "user": "", "user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0"}
Possibly-related:
The most recent release that I was able to deploy without encountering this error is 11.0.4+2026.2.1
I was able to successfully upgrade through each subsequent release without failure.
But doing a fresh deployment of any version newer than 11.0.4+2026.2.1 fails.
If you're arriving here because you did
abra app new authentik/abra app deploy <YOUR_AUTHENTIK_DOMAIN>and it didn't work, here are some exact commands which should help you get going.⚠️ Data will be deleted! Only run these commands if you are deploying a new Authentik
Replace
<YOUR_AUTHENTIK_DOMAIN>with your domain where you put Authentik, withouthttps://— for example if you put Authentik onauthentik.example.com, then step 1 would beabra app undeploy authentik.example.comOne Authentik has deployed, you can upgrade to the latest version:
Because of version compatibility, you have to upgrade in 2 steps: once from
1.0.4+2026.2.1to12.0.6+2026.5.6, then from12.0.6+2026.5.6to12.1.2+2026.8.0.If you try to upgrade all the way from
1.0.4+2026.2.1to12.1.0+2026.8.0or later, Authentik will break and the fix is a bit complicated.