Using the Nextcloud command-line interface

 docker exec --user www-data CONTAINER_ID php occ

doesn’t seem to work and outputs the Usage Doc.

How can I edit the php config file in the image?

Please, explain why should this work. occ is not a php file I assume. I have no idea what it should do.

It seems occ is a PHP script, from the doc:

Running occ with no options lists all commands and options,

1 Like

So it seems @bluepuma77 solved it for you by reading the documentation that shows the command requires arguments which you did not add. But the “Usage docs” you mentioned that was showed by the script must have shared the same info

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.