How to use occ commands on a Shared Hosting without SSH access


#1

I have a test instance of NC15 on a Shared Hosting.
Works pretty well, but after the last major upgrade I got warning about missing db indices and others.

I have no shell access for that instance.

Some days ago I discovered the App “OCC Web”. See

https://apps.nextcloud.com/apps/occweb

Enable this app and type your commands.
Help is integrated.

Screenshot:

Disable it afterwards and you are done.

No need for SSH.

Great!

Tested on Hetzner and 1und1.

btw. Repeating (history) is available. Cool


Hosted Server - How can occ commands be run without sudo?
How can I run run occ db:add-missing-indices on shared hosting
NC 15, missing on shared hoster
Problems converting indices to bigint
How to run occ without sudo in shared hosting
Concerning the index-update just a question to SQL
#2

Thanks a lot, this is a great app!
Even with ssh available I would use it because now I can manage occ commands in the backend as long as the cloud isn’t in maintenance mode.


#3

Seeing all the power in that app makes me feel bad about security :-/
You can do a lot of bad things.

IMHO you have to force 2FA for admins after having such a powerful in App Store.

Any other opinions regarding security?