Bitte Anmelden, um Beiträge und Themen zu erstellen.
Nextcloud per cli steuern
#1 · 14. April 2023, 9:13
Zitat von mpachmann am 14. April 2023, 9:13 Uhrhttps://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 richdocumentshttps://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 -vvvhttps://help.nextcloud.com/t/snap-installation-change-php-apache-and-nextcloud-configs/32858/2Answers to those specific questions
They’re all read-only, but here’s where things live:
/snap/nextcoud/current/conf/httpd.conf.
You can restart the Apache server usingsnapd's tooling:
sudo snap restart nextcloud.apache/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./snap/nextcloud/current/htdocs/config/config.php
Nextcloud doesn’t have a daemon at all, it’s all just php. See above./snap/nextcloud/current/htdocs/
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:
/snap/nextcoud/current/conf/httpd.conf.
You can restart the Apache server usingsnapd's tooling:
sudo snap restart nextcloud.apache/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./snap/nextcloud/current/htdocs/config/config.php
Nextcloud doesn’t have a daemon at all, it’s all just php. See above./snap/nextcloud/current/htdocs/
Zuletzt bearbeitet am 21. August 2025, 11:03 von mpachmann

