From 192cd656fd19e68049679dce972ac9fb6cdedec6 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 6 May 2026 17:37:06 +0000 Subject: [PATCH] fix(open-webui): add emptyDir volume for SQLite DB Open WebUI crashes on startup because it can't write its SQLite database to /app/backend/data. - Add emptyDir volume at /app/backend/data - Pod restarts will lose data (dev-only acceptable) Fixes pod crash: peewee.OperationalError: unable to open database file --- apps/base/customer1/hermes-agent/open-webui-deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/base/customer1/hermes-agent/open-webui-deployment.yaml b/apps/base/customer1/hermes-agent/open-webui-deployment.yaml index 5c209e4..af8801b 100644 --- a/apps/base/customer1/hermes-agent/open-webui-deployment.yaml +++ b/apps/base/customer1/hermes-agent/open-webui-deployment.yaml @@ -54,6 +54,12 @@ spec: runAsUser: 1000 seccompProfile: type: RuntimeDefault + volumeMounts: + - name: open-webui-data + mountPath: /app/backend/data + volumes: + - name: open-webui-data + emptyDir: {} securityContext: runAsNonRoot: true runAsUser: 1000