Knowledge Base

Bitte , um Beiträge und Themen zu erstellen.

Nextcloud per cli steuern

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html

in den folder

/var/www/nextlcoudinstallation/occ wechseln

zeigt die aktiven und inaktiven Apps
sudo -u www-data php occ app:list

deaktiviert Apps
sudo -u www-data php occ app:disable richdocuments
https://help.nextcloud.com/t/using-occ-on-snap-nextcloud-installation/107129/2
on snap installations the correct command should be:
sudo nextcloud.occ files:scan --all -vvv

 https://help.nextcloud.com/t/snap-installation-change-php-apache-and-nextcloud-configs/32858/2

Answers to those specific questions
They’re all read-only, but here’s where things live:

  1. /snap/nextcoud/current/conf/httpd.conf.
    You can restart the Apache server using snapd's tooling:
    sudo snap restart nextcloud.apache
  2. /snap/nextcloud/current/config/php/php.ini
    There isn’t a php daemon as such in this configuration - looks like it is run per-request, so you wouldn’t even need to restart Apache to apply any changes. Just reload/refresh the page.
  3. /snap/nextcloud/current/htdocs/config/config.php
    Nextcloud doesn’t have a daemon at all, it’s all just php. See above.
  4. /snap/nextcloud/current/htdocs/