Skip to content

How to execute occ commands in pod #352

Answered by jessebot
rustygreen asked this question in Q&A
Discussion options

You must be logged in to vote

try with this:

kubectl exec -it $NEXTCLOUD_POD -- su -s /bin/bash www-data -c "php occ list"

Let me know if that works :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pkenell
Comment options

Answer selected by provokateurin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants