Skip to content

Set Nextcloud cronjob securityContext to run as www-data#1071

Open
vshnbot wants to merge 1 commit intodevelopfrom
appcat/589/fix/nextcloud-cron
Open

Set Nextcloud cronjob securityContext to run as www-data#1071
vshnbot wants to merge 1 commit intodevelopfrom
appcat/589/fix/nextcloud-cron

Conversation

@vshnbot
Copy link
Collaborator

@vshnbot vshnbot commented Feb 13, 2026

Summary

The cronjob was failing because it runs as root (uid 0) but config.php is owned by www-data (uid 33):

Console has to be executed with the user that owns the file config/config.php
Current user id: 0
Owner id of config.php: 33

On vanilla Kubernetes explicitly set runAsUser/runAsGroup to 33.
On OpenShift leave empty to let SCC handle UID assignment.

Ref: nextcloud/helm#740

Checklist

  • Update tests.
  • Link this PR to related issues.
  • Merge with /merge comment.

Link: vshn/appcat#589

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.

2 participants