Sorry for the really noob question guys but how do I access tge occ interface?
I know that occ is a php script on my directory and I can see it but how do I run it?
The wording HTTP user confuses me in the guide.
Will appreciate any help I can get. I have been searching for this for quite some time.
So I managed to get shell access but when I navigate to my nextcloud directory and type sudo -u www-data php occ I get “sudo: effective uid is not 0, is sudo installed setuid root?”
occ has to be run as the same user as your webserver, sudo is just a method for running a command as a different user. sudo does not need to be run as root, but it needs the setUID bit set, so it runs as root when executed by any user. You will probably need to ask your hosting provider.