goauthentik / goauthentik/platform
agent.sock not found
- Dominant language
- Rust
- Stars
- 11
- Forks
- 11
- Avg merge
- 16h 45m
- Merged PRs (30d)
- 106
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
1. Follow steps: https://docs.goauthentik.io/endpoint-devices/authentik-agent/agent-deployment/linux/
2. Attempt to complete the enrollment via: `ak config setup --authentik-url "https://auth.mydomain.com/"`
3. Navigate to URL shown: `https://auth.mydomain.com/device?code=XXXXXXXXX"`
4. Receive confirmation you can close the window (authentication successful)
5. Error received (shown below in log output)
6. 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
```shell
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**"
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.