How to remove apps from the terminal

I install some new apps from the nextcloud store. I would like to know how I can remove the software using the terminal. One of the apps that I downloaded, has caused an issue with opening nextcloud from form the web. I can ssh to the Ubuntu 19.04 server but I can open my nextcloud web page. I get a blank page of my nextcloud instances. From what I getting so far is that I need to uninstall apps from the occ consul. What directory can I find occ and can some share with me the link to get there.


Find the relevant part of the documentation for Nextcloud 15 here:

The occ console is located in the Nextcloud directory, so you need to change to that directory first before issuing the command to disable the app (change capital letters to fit your needs):

sudo -u www-data php occ app:disable NAME_OF_APP

If you don‘t know the name of the app, you can list all apps with:

sudo -u www-data php occ app:list

Thank you, and Happy Holidays…

You saved my day thanks a lot…

1 Like

you are awesome!

1 Like

Note that this only disables the app (which is probably what you want in this use case). If you want to actually remove the app, use app:remove

1 Like