services
kubectl get svc -n default
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
bureaublad-backend ClusterIP 10.43.186.230
Perfect — we now have the exact cause and the fix.
Root Cause
The nginx config contains:
upstream ... "docs-backend" ...
But there is no service named docs-backend in your cluster.
Looking at kubectl get svc, the correct backend for your “docs” service (Collabora Online) is:
→ collabora-online (ClusterIP 10.43.242.247, port 9980)
The Bitnami nginx chart / your “docs” Helm chart is hardcoded (or configured) to proxy to a non-existent service called docs-backend.
This is why nginx fails with [emerg] host not found in upstream "docs-backend".
Fix (Do this now)
You need to tell the nginx chart what the real upstream/backend is.
In your Helm values.yaml for the docs release, add or change this section:
nginx:
serverBlock:
upstream:
backend: collabora-online # ← Change this line
# or depending on the exact chart structure, it might be:
# backend:
# serviceName: collabora-online
# servicePort: 9980
If the chart uses a more specific key (common in Bitnami or custom “docs” charts), try one of these patterns:
# Option 1 (most common)
collabora:
enabled: true
service:
name: collabora-online
# Option 2
nginx:
proxy:
upstream: collabora-online:9980
# Option 3
extraEnvVars:
- name: NGINX_UPSTREAM_BACKEND
value: collabora-online
After updating the values, upgrade the chart:
helm upgrade docs <chart-name> -n default -f values.yaml
(or whatever your release name and chart reference is — e.g. helm upgrade docs bitnami/nginx ... if it’s a plain nginx chart).
Quick & Dirty Temporary Workaround (if you want nginx up immediately)
You can patch the ConfigMap or the deployment to replace the upstream name, but it’s better to fix it properly via Helm so it survives restarts.
Next Steps After Fixing docs-nginx
Once docs-nginx becomes 1/1 Running, the Collabora integration for Nextcloud should start working (or at least show the next error).
Then we can tackle the remaining two crashing pods:
- Nextcloud (still CrashLoopBackOff)
- Synapse (OIDC config still broken)
For Nextcloud, please now run these two log commands and paste the output:
kubectl logs nextcloud-864d6c9854-9ts7h -n default --tail=150
kubectl logs nextcloud-864d6c9854-9ts7h -n default --previous --tail=100
Also run the cronjob log if you want:
kubectl logs nextcloud-cronjob-29611495-hpj6l -n default
For Synapse (quick reminder)
While we’re waiting, the fastest way to bring Matrix back is to set discover: true and a correct issuer in the OIDC block (remove the four manual endpoint lines), or temporarily set oidcProviders: [].
First, let’s get docs-nginx fixed — update the upstream to collabora-online and run the helm upgrade. Then paste the Nextcloud logs. We’re very close to a fully green cluster!