You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/FAQs/devtron-troubleshoot.md
+15-6Lines changed: 15 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -239,23 +239,25 @@ SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE pg
239
239
```
240
240
Then run the command to delete database - `drop databases <db-name>`
241
241
242
-
#### 18. Unable to login with the auth password (argocd server)
242
+
#### 18. Unable to login with admin password or reset devtron admin password
243
243
244
244
`Debug`
245
245
246
246
Run the command for admin credentials and use it for login in dashboard:
247
247
248
248
```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
250
250
```
251
251
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:
253
253
254
254
`Solution:`
255
255
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
259
261
260
262
#### 19. After installing Devtron using Helm, getting the admin password does not work.(if using windows)
#### 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