Skip to content

Fix empty web.yaml config causing Missing or invalid config error - #968

Open
amamus wants to merge 2 commits into
owncloud:mainfrom
amamus:fix/web-config-empty
Open

Fix empty web.yaml config causing Missing or invalid config error#968
amamus wants to merge 2 commits into
owncloud:mainfrom
amamus:fix/web-config-empty

Conversation

@amamus

@amamus amamus commented Sep 5, 2026

Copy link
Copy Markdown

The web configmap was generating an empty config section when no styles,
scripts, customTranslations, or apps were configured, resulting in:

web:
config:

This caused the web service to fail with 'Missing or invalid config'.

This fix conditionally includes the config section only when at least one
of the sub-values (styles, scripts, customTranslations, apps) is set.

Fixes #918

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe vibe@mistral.ai

amamus and others added 2 commits September 5, 2026 23:18
The NATS service was failing to start JetStream with:
  Can't start JetStream: could not create storage directory - mkdir /var/lib/ocis/nats: permission denied

This happened because the init container only chown'd /var/lib/ocis, but NATS
JetStream needs to create a 'nats' subdirectory. The non-root NATS container
could not create this directory.

This fix adds a second init container that explicitly creates /var/lib/ocis/nats
and sets the correct ownership before the main NATS container starts.

Fixes owncloud#887

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The web configmap was generating an empty config section when no styles,
scripts, customTranslations, or apps were configured, resulting in:

This caused the web service to fail with 'Missing or invalid config'.

This fix conditionally includes the config section only when at least one
of the sub-values (styles, scripts, customTranslations, apps) is set.

Fixes owncloud#918

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

config not found when trying deployment example

1 participant