Häufig gestellte Frage
OCC-CLI: Sammlung häufig benötigter Shellbefehle für Nextcloud
Zuletzt aktualisiert vor 7 Monaten
Wartungsseite aktivieren:
php occ maintenance:mode --on
Wartungsseite deaktivieren:
php occ maintenance:mode --off
MIME-Type-Migration:
php occ maintenance:repair --include-expensive
Update durchführen:
php occ upgrade
Passwort zurücksetzen:
php occ user:resetpassword BENUTZERNAME
Apps:
app:install install selected app app:check-code check code to be compliant app:disable disable an app app:enable enable an app app:getpath Get an absolute path to the app directory app:list List all available apps
Beispiel: php occ app:enable spreed
Quelle: https://docs.nextcloud.com/server/15/admin_manual/configuration_server/occ_command.html#apps-commands-label
Konvertierung zu big:
php occ db:convert-filecache-bigint
4-Byte-Unterstützung:
php occ maintenance:mode --on mysql ALTER DATABASE usr_p12345_0 CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; php occ config:system:set mysql.utf8mb4 --type boolean --value="true" php occ maintenance:repair php occ maintenance:mode --off
Indizes setzen:
php occ db:add-missing-indices
Setzen von primary-key:
php occ db:add-missing-primary-keys
Community Document Server (manuelle Installation):
(Achtung: aktuelle Version verwenden!!)
cd /html/nextcloud/apps wget https://github.com/nextcloud/documentserver_community/releases/download/v0.1.5/documentserver_community.tar.gz tar -xf documentserver_community.tar.gz rm documentserver_community.tar.gz cd /html/nextcloud php occ app:enable documentserver_community
