-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The required agent.sock from /root/.local/share/authentik is missing following the deployment steps from:
- https://docs.goauthentik.io/endpoint-devices/authentik-agent/
- https://docs.goauthentik.io/endpoint-devices/authentik-agent/agent-deployment/linux/
sudo apt install libnss-authentik libpam-authentik authentik-cli authentik-agent authentik-sysd
How to reproduce
- Follow steps: https://docs.goauthentik.io/endpoint-devices/authentik-agent/agent-deployment/linux/
- Attempt to complete the enrollment via:
ak config setup --authentik-url "https://auth.mydomain.com/" - Navigate to URL shown:
https://auth.mydomain.com/device?code=XXXXXXXXX" - Receive confirmation you can close the window (authentication successful)
- Error received (shown below in log output)
- Confirmed file is not present anywhere on system via
find / -name agent.sock
Expected behavior
Enrollment to complete via call to agent.sock
Screenshots
Additional context
Test host details
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.3 LTS
Release: 24.04
Codename: noble
Device did register in the Authentik portal.
Deployment Method
Docker
Version
2025.12.2
Relevant log output
WARN[0012] finished call grpc.code=Unavailable grpc.component=client grpc.error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial unix /root/.local/share/authentik/agent.sock: connect: no such file or directory\"" grpc.method=Setup grpc.method_type=unary grpc.service=agent_ctrl.AgentCtrl grpc.start_time="2026-01-31T17:03:40Z" grpc.time_ms=3.951 logger=cli.grpc protocol=grpc
Error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix **/root/.local/share/authentik/agent.sock: connect: no such file or directory**"Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Todo