Skip to content

Commit f88792a

Browse files
tijderclaude
andcommitted
fix: give CACHE_DIR the trailing slash the server expects
The server joins cache paths by plain string concatenation (its own default is "/cache/"), but the chart passed the bare mountPath — so every image download and screenshot tried to write to /cacheXXX.jpg at the filesystem root and failed with EACCES. Append the slash in the env value; the mountPath itself stays clean, as volumeMounts require. Found by the new e2e metadata scenario's zero-dead-letter assertion. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PVPFuUaADWUBoXg9ZjUe4P
1 parent 1f426b5 commit f88792a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

templates/server-deployment.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,11 @@ spec:
180180
secretKeyRef:
181181
name: {{ include "ister.serverSecretName" . }}
182182
key: tmdb-api-key
183+
# The server joins cache paths by plain concatenation (its own default is
184+
# "/cache/"), so this env value needs the trailing slash the mountPath must
185+
# not have — without it image downloads try to write to e.g. /cacheXXX.jpg.
183186
- name: CACHE_DIR
184-
value: {{ .Values.cache.mountPath | quote }}
187+
value: {{ printf "%s/" (.Values.cache.mountPath | trimSuffix "/") | quote }}
185188
- name: TMP_DIR
186189
value: {{ .Values.server.tmp.mountPath | quote }}
187190
# --- Media libraries and directories (bound by @ConfigurationProperties("app.ister.disk"))

0 commit comments

Comments
 (0)