-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Checklist
- I have searched budibase discussions and github issues to check if my issue already exists
Related to, but different from, #13760
Hosting
- Self
- Method: k8s
- Budibase Version: 3.13.2
Describe the bug
I'm a new Budibase user, so I'm deploying on k8s with Helm. I noticed that re-running the Helm deploy command restarts the CouchDB instance, and after this Budibase can no longer authenticate with CouchDB. It seems like CouchDB is being reconfigured with a new admin password.
My values.yaml is almost completely stock - I've only set the URL and the storageClass. I haven't set any credentials for CouchDB.
App logs:
{"level":"WARN","timestamp":"2025-06-25T19:41:59.324Z","service":"@budibase/server","err":{"type":"bh","message":"CouchDB error: Name or password is incorrect.","stack":"Error: CouchDB error: Name or password is incorrect.\n at e.performCall (/app/dist/index.js:7:9949)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async /app/dist/index.js:7:3549\n at async t (/app/dist/index.js:389:94917)\n at async Object._fe (/app/dist/index.js:966:20621)\n at async /app/dist/index.js:1034:22996\n at async J8r (/app/dist/index.js:742:4174)\n at async dMr (/app/dist/index.js:485:263)\n at async /app/node_modules/koa-compress/lib/index.js:38:5\n at async /app/dist/index.js:485:416\n at async uW (/app/dist/index.js:7:17286)\n at async eit (/app/dist/index.js:485:395)\n at async pMr (/app/dist/index.js:484:4654)\n at async /app/node_modules/koa-mount/index.js:52:26\n at async userAgent (/app/node_modules/koa-useragent/dist/index.js:12:5)\n at async iit (/app/dist/index.js:485:1065)","status":401,"statusCode":401,"reason":"Name or password is incorrect.","name":"Error","errid":"non_200","description":"Name or password is incorrect.","error":"unauthorized"},"pid":29,"tenantId":"default","correlationId":"6aa2a02c-f55f-42ec-931f-5e8925b284cb","msg":""}
To Reproduce
Steps to reproduce the behavior:
- Initial install
helm upgrade -i --create-namespace -n budibase budibase -f values.yaml budibase/budibase - Wait for Budibase to come up
- Start using Budibase
- Redeploy
helm upgrade -i --create-namespace -n budibase budibase -f values.yaml budibase/budibase - Observe Budibase no longer works due to CouchDB errors
Expected behavior
Redeploying with the same settings shouldn't break a working Budibase installation
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.