Giter Club home page Giter Club logo

Comments (5)

taoyx avatar taoyx commented on June 12, 2024

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.
image

image

server.log
worker.log

from authentik.

taoyx avatar taoyx commented on June 12, 2024

the issue about worker does NOT always occur:

image

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.

cicku avatar cicku commented on June 12, 2024

The issue went away after a server reboot, I wonder if certain service was not ready.

from authentik.

taoyx avatar taoyx commented on June 12, 2024

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. image

image

server.log worker.log

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.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.