minimal-setups/content/content/HowTos/occ-in-nextcloud-pod.md
Wolfgang Hottgenroth 48ead08ecc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
new theme
2025-01-14 10:20:17 +01:00

320 B

toc
false

Execute occ in Nextcloud pod

First, look up the name of the pod using

kubectl get pods -n nextcloud

Then, get into the pod using

kubectl exec --stdin --tty NAME_OF_THE_POD -c nextcloud -n nextcloud -- sh

Finally, within the pod

su -s /bin/sh www-data -c "php occ --help"