Comments (10)
I was able to work around this by going to https://auth.my.domain/if/flow/initial-setup/
-- note the trailing slash.
... initial-setup/
works, ... initial-setup
doesn't.
Obviously this should be fixed, but this workaround should help in the meantime.
from authentik.
I also came into this issue with the latest release on Kubernetes (installed with helm)
Also, even I use this command:
kubectl exec -it deployment/authentik-worker -- ak create_recovery_key 10 akadmin
and gained the accesss to authentik, I cannot add application and provider.
and either worker and server pod don't report a error:(refer attached file)
The UI of administration area also looks strange
it was reported worker is NOT connected, even though from kubernets, the worker pod is running properly.
from authentik.
the issue about worker does NOT always occur:
but I did encount a error when resetting akadmin password:
tyx@prod-k8s-master0:~$ k exec authentik-worker-6f98f5c69-dqsd4 -- ak create_recovery_key 10 akadmin
{"event": "Loaded config", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018737.915451, "file": "/authentik/lib/default.yml"}
{"event": "Loaded environment variables", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018737.9164197, "count": 31}
{"event": "Starting authentik bootstrap", "level": "info", "logger": "authentik.lib.config", "timestamp": 1715018738.277128}
{"event": "PostgreSQL connection successful", "level": "info", "logger": "authentik.lib.config", "timestamp": 1715018738.3010955}
{"event": "Redis Connection successful", "level": "info", "logger": "authentik.lib.config", "timestamp": 1715018738.3064187}
{"event": "Finished authentik bootstrap", "level": "info", "logger": "authentik.lib.config", "timestamp": 1715018738.3072946}
{"event": "Booting authentik", "level": "info", "logger": "authentik.lib.config", "timestamp": 1715018740.7064164, "version": "2024.4.1"}
{"event": "Enabled authentik enterprise", "level": "info", "logger": "authentik.lib.config", "timestamp": 1715018740.7116814}
{"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018740.7140284, "path": "authentik.enterprise.settings"}
{"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018740.7154827, "path": "authentik.enterprise.settings"}
{"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018740.7177207, "path": "authentik.events.settings"}
{"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018740.72222, "path": "authentik.sources.plex.settings"}
{"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018740.7266343, "path": "authentik.outposts.settings"}
{"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018740.7288077, "path": "authentik.blueprints.settings"}
{"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018740.7318976, "path": "authentik.sources.oauth.settings"}
{"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018740.7337625, "path": "authentik.policies.reputation.settings"}
{"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018740.7361283, "path": "authentik.crypto.settings"}
{"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018740.742469, "path": "authentik.providers.scim.settings"}
{"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018740.7455878, "path": "authentik.sources.ldap.settings"}
{"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018740.7490914, "path": "authentik.stages.authenticator_totp.settings"}
{"event": "Loaded app settings", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1715018740.7519333, "path": "authentik.admin.settings"}
/ak-root/venv/lib/python3.12/site-packages/opencontainers/distribution/reggie/defaults.py:17: SyntaxWarning: invalid escape sequence '\('
"http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+"
/ak-root/venv/lib/python3.12/site-packages/facebook/__init__.py:99: SyntaxWarning: invalid escape sequence '\d'
version_regex = re.compile("^\d\.\d{1,2}$")
Switching to schema 'public'
Store this link safely, as it will allow anyone to access authentik as akadmin.
from authentik.
The issue went away after a server reboot, I wonder if certain service was not ready.
from authentik.
I also came into this issue with the latest release on Kubernetes (installed with helm)
Also, even I use this command:
kubectl exec -it deployment/authentik-worker -- ak create_recovery_key 10 akadmin
and gained the accesss to authentik, I cannot add application and provider.
and either worker and server pod don't report a error:(refer attached file)
The UI of administration area also looks strange
it was reported worker is NOT connected, even though from kubernets, the worker pod is running properly.
On my side, this issue went away after I added the subPath (in Helm Values.yaml file) part for the custom.css. Without 'subPath' clause, the whole dist folder will be overwrite with the only custom file.
hint: you could use browser to check whether error is there.
It was my fault...
but the left part is still with dark color... I don't know why...
`
global:
volumeMounts:
- name: volume-media
mountPath: /media
- name: custom-css
mountPath: /web/dist/custom.css
subPath: custom.css
volumes: []
volumes:
- name: volume-media # tyx
persistentVolumeClaim:
claimName: pvc-authentik-media
- name: custom-css
configMap:
name: configmap-css`
from authentik.
I'm having a similar issue when upgrading from 2024.4.1 to 2024.4.2.
Following is a snippit from the worker log:
DBG event=Loaded app settings logger=authentik.lib.config timestamp=1715538755.9956036 path=authentik.sources.plex.settings
DBG event=Loaded app settings logger=authentik.lib.config timestamp=1715538755.9970844 path=authentik.providers.scim.settings
DBG event=Loaded app settings logger=authentik.lib.config timestamp=1715538755.999732 path=authentik.crypto.settings
/ak-root/venv/lib/python3.12/site-packages/opencontainers/distribution/reggie/defaults.py:17: SyntaxWarning: invalid escape sequence '\('"http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+"
_runit-log:x:998:authentik
from authentik.
Hello guys.
I am having the same issue. I have been trying to deploy authentik with Docker Swarm behind Caddy but i am having the same issue as reported on this thread. I don't belive i am doing something wrong but i do have to ask if you know that when passing through a folder to the container, should the container or folder be run with a specific user because currently it is the only thing i suspect.
Best Regards
from authentik.
Did you tried the solution I provided above?
In my case, it was because I mount a volume, which overwrite the original files, after using "-subPath' in K8s, it is working file (Docker has similiar solution.)
from authentik.
Did you tried the solution I provided above?
In my case, it was because I mount a volume, which overwrite the original files, after using "-subPath' in K8s, it is working file (Docker has similiar solution.)
Hi,
I did try something similar. described my workaround on the post below.
https://github.com/goauthentik/authentik/issues/9766
Unfortunately i has to go back to the version 2023.1.1 to got it to work without any change on the docker compose file. I performed some upgrades through versions and i was able to get it work and update it to the latest version.
Best Regards
from authentik.
I was able to work around this by going to
https://auth.my.domain/if/flow/initial-setup/
-- note the trailing slash.
... initial-setup/
works,... initial-setup
doesn't.Obviously this should be fixed, but this workaround should help in the meantime.
In my case this solution did not work for me. I had to recreate everything and saddly it did not work. It did work for me but thank you anyways. We now have some ways of bypassing this issue for the time being :)
Best Regards
from authentik.
Related Issues (20)
- Visual error on application creation with wizard HOT 1
- Console error when there are no outposts
- Add partial Support for 389-DS HOT 1
- POST /api/v3/flows/executor/default-authenticator-webauthn-setup/ HOT 1
- AMR MFA field not being sent to OIDC client?
- Blueprint validation failures not returned to web UI
- How to use apache2 auth_openidc? HOT 2
- Redirect failing on initial login HOT 1
- 404 errors for flows on full development environment HOT 1
- authentik Embedded Outpost Proxy Doesn't work when there are many Providers HOT 1
- UI is messed up when forcing light mode with system set to dark mode
- Nextcloud SAML: Found an Attribute element with duplicated Name HOT 1
- What is the TLS version of the OIDC provider of Authentik?
- Authentik occasionally times out HOT 1
- Add documentation surrounding configuring PhotoPrism in Integrations section of website HOT 1
- How about semantic versioning? HOT 1
- No outposts found with given token, ensure the given token corresponds to an authenitk Outpost HOT 2
- Docker Compose Setup Does Not Work on MacOS or Other POSIX OSes
- Application icons disappear after a few weeks HOT 7
- GET /api/v3/flows/executor/google-enrollment-flow/
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from authentik.