Skip to content

Commit b183703

Browse files
Updated devtron admin password reset doc (#2785)
1 parent f43e59f commit b183703

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

docs/FAQs/devtron-troubleshoot.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,23 +239,25 @@ SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE pg
239239
```
240240
Then run the command to delete database - `drop databases <db-name>`
241241

242-
#### 18. Unable to login with the auth password (argocd server)
242+
#### 18. Unable to login with admin password or reset devtron admin password
243243

244244
`Debug`
245245

246246
Run the command for admin credentials and use it for login in dashboard:
247247

248248
```bash
249-
kubectl -n devtroncd get secret devtron-secret -o jsonpath='{.data.ACD_PASSWORD}' | base64 -d
249+
kubectl -n devtroncd get secret devtron-secret -o jsonpath='{.data.ADMIN_PASSWORD}' | base64 -d
250250
```
251251

252-
If you are getting an error message of invalid username or password, follow the solution to solve it.
252+
If you are getting an error message of "invalid username or password" or you want to "reset admin password", follow the steps given below:
253253

254254
`Solution:`
255255

256-
Run `kubectl get secret -n devtroncd` and then edit the `argocd-secret`, remove both the admin.password lines.
257-
258-
Run `kubectl delete po your-argocd-server-pod -n devtroncd`, it will create a new pod after deletion and reset your admin password. Re-run the command for admin credentials again to get the new password.
256+
1. Make sure you are on latest version or atleast you are using devtron version v0.6.9 or above. You can check your devtron version using `kubectl -n devtroncd get installers installer-devtron -o jsonpath='{.status.sync.data}' | grep "^LTAG=" | cut -d"=" -f2-`
257+
1. Take a backup of devtron secret using `kubectl get secret devtron-secret -n devtroncd -o yaml > devtron-secret-backup.yaml`
258+
2. Edit devtron secret using `kubectl edit secret devtron-secret -n devtroncd` and remove the key value pairs of ADMIN_PASSWORD, admin.password and admin.passwordMtime
259+
3. Restart argocd dex server to create new admin password for devtron using `kubectl delete po -n devtroncd -l app.kubernetes.io/name=argocd-dex-server`
260+
4. Run the command given above to get the new admin password
259261

260262
#### 19. After installing Devtron using Helm, getting the admin password does not work.(if using windows)
261263

@@ -397,3 +399,10 @@ helm upgrade devtron devtron/devtron-operator --namespace devtroncd \
397399

398400
{% endtab %}
399401
{% endtabs %}
402+
403+
#### 22. Rollout is showing error - <string>:111: attempt to index a non-table object(nil) with key 'stableRS' stack traceback: <string>:111: in main chunk [G]: ?
404+
405+
This can occur if you are using or recently upgraded to Kubernetes version 1.22 or above and you are using rollout controller version 0.13.0 from chart `devtron-charts/rollout` or `devtron/rollout`. The issue can be because of CRDs which were updated in later versions of rollout chart.
406+
407+
1. Check which chart repo and version of rollout controller are you using on that cluster from Helm Apps section
408+
2. Update the rollout chart version to latest and re-deploy. If your rollout controller is deployed from `devtron-charts` helm repo then change the repo to `devtron/rollout` and then update the version to latest. Also, if devtron helm repo is not showing on your devtron then go to Global Configurations > Chart Repositories and add a new repo with the name `devtron` and url `https://helm.devtron.ai`. Wait for few minutes and then charts from devtron repo will be there on your devtron. This should resolve your issue

0 commit comments

Comments
 (0)