Skip to content

Commit 2fdf345

Browse files
melizechedewi-tiktanberry
authored
website/docs: Add steps to troubleshoot /initial-setup/ (#15011)
* Add steps to troubleshoot /initial-setup/ * fix linting * Apply suggestions from code review Co-authored-by: Dewi Roberts <dewi@goauthentik.io> Signed-off-by: Marcelo Elizeche Landó <marce@melizeche.com> * Apply suggestions from code review Co-authored-by: Dewi Roberts <dewi@goauthentik.io> Signed-off-by: Marcelo Elizeche Landó <marce@melizeche.com> * add email part * Apply suggestions from code review Co-authored-by: Dewi Roberts <dewi@goauthentik.io> Signed-off-by: Marcelo Elizeche Landó <marce@melizeche.com> * Apply suggestions from code review Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com> Signed-off-by: Marcelo Elizeche Landó <marce@melizeche.com> * change wording --------- Signed-off-by: Marcelo Elizeche Landó <marce@melizeche.com> Co-authored-by: Dewi Roberts <dewi@goauthentik.io> Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
1 parent bbcf841 commit 2fdf345

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

website/docs/troubleshooting/login.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,29 @@ uv run ak create_recovery_key 10 akadmin
2727
```
2828

2929
This will output a link, that can be used to instantly gain access to authentik as the user specified above. The link is valid for amount of years specified above, in this case, 10 years.
30+
31+
## Can't access initial setup flow during installation steps
32+
33+
If you're unable to access the initial setup flow (`/if/flow/initial-setup/`) immediately after installing authentik, first try restarting the containers because this often resolves temporary issues.
34+
35+
However, if the issue persists after restarting, you can directly set the admin password using the following commands:
36+
37+
Docker Compose deployments:
38+
39+
```bash
40+
docker compose exec server ak changepassword akadmin
41+
```
42+
43+
Kubernetes deployments:
44+
45+
```bash
46+
kubectl exec -it deployment/authentik-server -c server -- ak changepassword akadmin
47+
```
48+
49+
After following the prompts to set a new password, you can then login via: `https://authentik.company/if/flow/default-authentication-flow/?next=%2F`
50+
51+
After logging in, you can set the email address and other settings for the account by navigating to **Directory** > **Users** and editing the user account.
52+
53+
:::note
54+
This method bypasses the initial setup flow and should only be used as a last resort. The initial setup flow is the recommended method to configure the administrator user.
55+
:::

0 commit comments

Comments
 (0)