How to execute occ commands in pod #352
Answered
by
jessebot
rustygreen
asked this question in
Q&A
-
How do you execute OCC commands within the pod? I've tried:
All the examples I've seen in the Nextcloud docs and online don't seem to work, when executing from within the Pod. Any help would be appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
jessebot
Feb 25, 2023
Replies: 1 comment 1 reply
-
try with this: kubectl exec -it $NEXTCLOUD_POD -- su -s /bin/bash www-data -c "php occ list" Let me know if that works :) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
provokateurin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
try with this:
Let me know if that works :)