Nextcloud: Unterschied zwischen den Versionen

aus www.kruedewagen.de, Homepage von Ralf und Judith Krüdewagen (Kruedewagen)
Zur Navigation springen Zur Suche springen
(15 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 23: Zeile 23:
**https://www.linux-magazin.de/news/nextcloud-17-mit-neuen-features-und-services/
**https://www.linux-magazin.de/news/nextcloud-17-mit-neuen-features-und-services/
**https://www.pro-linux.de/news/1/27480/nextcloud-17-f%C3%83%C2%BChrt-remote-wipe-ein.html
**https://www.pro-linux.de/news/1/27480/nextcloud-17-f%C3%83%C2%BChrt-remote-wipe-ein.html
*Nextcloud mit Docker auf NAS: siehe c't 10/18 S.142
*[https://www.pro-linux.de/artikel/2/1988/nextcloud-erfolgreich-einf%C3%BChren-checklisten-f%C3%BCr-ihre-organisation.html Nextcloud erfolgreich einführen: Checklisten für Ihre Organisation] (pro-linux.de)
*[https://www.pro-linux.de/artikel/2/1988/nextcloud-erfolgreich-einf%C3%BChren-checklisten-f%C3%BCr-ihre-organisation.html Nextcloud erfolgreich einführen: Checklisten für Ihre Organisation] (pro-linux.de)
*Einsatz mit Kubernetes / k3s , siehe c't 09/20 S.26, [[ct:yq1e]
*Einsatz mit Kubernetes / k3s , siehe c't 09/20 S.26, [[ct:yq1e]]
*Nextcloud-Instanz per Docker der c't: https://github.com/psct/ctnextcloud
*[http://heise.de/-4727074 Nextcloud stellt High-Performance Back-End unter Open-Source-Lizenz]


== Collabora  Online ==
== Collabora  Online ==
Zeile 33: Zeile 37:
*https://hub.docker.com/r/collabora/code/
*https://hub.docker.com/r/collabora/code/
*siehe iX 02/17 S.54
*siehe iX 02/17 S.54
*https://nextcloud.com/blog/how-to-install-collabora-online-in-nextcloud-hub/
*https://collabora-online-for-nextcloud.readthedocs.io/en/latest/install/
*https://sdk.collaboraonline.com/docs/installation/CODE_Docker_image.html


Tipps:
Tipps:
Zeile 40: Zeile 47:
*[https://nextcloud.com/blog/how-to-install-onlyoffice-in-nextcloud-hub-and-new-integration-feature/ How to install ONLYOFFICE in Nextcloud Hub and new integration feature]
*[https://nextcloud.com/blog/how-to-install-onlyoffice-in-nextcloud-hub-and-new-integration-feature/ How to install ONLYOFFICE in Nextcloud Hub and new integration feature]
*[https://www.onlyoffice.com/de/all-connectors.aspx Konnektoren]
*[https://www.onlyoffice.com/de/all-connectors.aspx Konnektoren]
*siehe c't 11/20 S.128


*Nachteile gegenüber Collabora
*Nachteile gegenüber Collabora
**Bei geteilten Links ist der Editor immer "Anonym". Man kann keinen Namen setzen.
**Bei geteilten Links ist der Editor immer "Anonym". Man kann keinen Namen setzen.
**Chat und Videokonferenz via Nextcloud nicht möglich im Kontext des Dokuments.
**Chat und Videokonferenz via Nextcloud nicht möglich im Kontext des Dokuments.
**Muss manuell geflusht werden, damit Änderungen im Cache in Datei geschrieben wird, z.B. per Cron
occ documentserver:flush
**speichert nicht zuverlässig; Änderungen aus verschiedenen Sessions gehen verloren, https://github.com/nextcloud/documentserver_community/issues/100
== Talk ==
*Praxis-Bericht siehe c't 14/20 S.154, http://ct.de/yz7k
== Mail ==
*https://github.com/nextcloud/mail/blob/master/doc/admin.md


==Andere Erweiterungen==
==Andere Erweiterungen==
Zeile 55: Zeile 72:
*Deck
*Deck
**https://nextcloud.com/blog/nextcloud-deck-1-0-available-today-plus-deck-for-android/
**https://nextcloud.com/blog/nextcloud-deck-1-0-available-today-plus-deck-for-android/
*Group Folders: Für gemeinsame Verzeichnisstruktur, siehe c't 11/20 S.129
*Umfragen mit Nextcloud Forms: https://www.heise.de/news/Wie-Google-Forms-aber-mit-Privatsphaere-Nextcloud-veroeffentlicht-Umfrage-Tool-4855836.html
*Authentifizierung mit dem elektronischen Personalausweis
**[https://nextcloud.com/blog/german-government-supports-authentication-with-identity-card-in-nextcloud/ German government supports authentication with identity card in Nextcloud]


== Tipps und Tricks ==
== Tipps und Tricks ==
Zeile 68: Zeile 89:
*PHP 7.4 -> Check hier ändern [https://help.nextcloud.com/t/this-version-of-nextcloud-is-not-compatible-with-php-7-3/65332]:
*PHP 7.4 -> Check hier ändern [https://help.nextcloud.com/t/this-version-of-nextcloud-is-not-compatible-with-php-7-3/65332]:
  lib/versioncheck.php
  lib/versioncheck.php
=== CalDAV und CardDAV ===
https://example.com/nextcloud
https://example.com/nextcloud/remote.php/dav/calendars/<username>/<calendarname>/
https://example.com/nextcloud/remote.php/dav/addressbooks/users/<username>/<addressbookname>/
=== WebDAV ===
https://example.com/nextcloud
https://example.com/nextcloud/remote.php/dav/files/<USERNAME>/
=== Update ===
*https://docs.nextcloud.com/server/21/admin_manual/maintenance/update.html
sudo -u wwwrun php updater/updater.phar
*Update Channel in config.php
'updater.release.channel' => 'beta'
=== Downgrade einer App ===
Beispiel "Nextcloud Office":
* Die betreffende App in Nextcloud UI deaktivieren
* Bestehende App entfernen
cd apps/
rm -rf richdocuments
* App herunterladen
wget https://github.com/nextcloud-releases/richdocuments/releases/download/v5.0.1/richdocuments-v5.0.1.tar.gz
* App entpacken, Owner setzen und Download-Paket entfernen
tar zxvf richdocuments-v5.0.1.tar.gz
chown -R wwwrun:www richdocuments
rm richdocuments-v5.0.1.tar.gz
* Die betreffende App in Nextcloud UI aktivieren
=== PHP Performance ===
*https://docs.nextcloud.com/server/22/admin_manual/configuration_server/caching_configuration.html
*https://docs.nextcloud.com/server/22/admin_manual/installation/server_tuning.html
==== PHP-FPM ====
Werte weit über Default setzen: https://spot13.com/pmcalculator/
==== Caching ====
*Opcache mit PHP-FPM
/etc/php7/fpm/php.ini
*APCu
zypper in php7-APCu
/etc/php7/conf.d/apcu.ini
Prüfen:
phpinfo();


== Sicherheit ==
== Sicherheit ==

Version vom 8. August 2022, 08:26 Uhr

Nextcloud ist ein Fork von ownCloud und dient vorrangig als Cloud-Speicherdienst für den eigenen Server.

Nextcloud Infos

Migration von Owncloud:

Homepage und Support:

Apps:

Artikel:

Collabora Online

Mit Collabora kann man sich einen Dienst für die kollaborative Arbeit an Office-Dokumenten einrichten. Es basiert auf LibreOffice und läuft typischerweise als Docker-Container.

Tipps:

  • Nach Update muss man manchmal die Einstellung der URL in "Collabora Online Server" erneut speichern.

Only Office

  • Nachteile gegenüber Collabora
    • Bei geteilten Links ist der Editor immer "Anonym". Man kann keinen Namen setzen.
    • Chat und Videokonferenz via Nextcloud nicht möglich im Kontext des Dokuments.
    • Muss manuell geflusht werden, damit Änderungen im Cache in Datei geschrieben wird, z.B. per Cron
occ documentserver:flush

Talk

Mail

Andere Erweiterungen

Tipps und Tricks

URL ändern

  • Verzeichnis im DocumentRoot anpassen
  • Pfade in DocumentRoot/.htaccess anpassen
  • Pfade in Apache Config anpassen, z.B. in /etc/apache2/conf.d/nextcloud.conf
  • Nextcloud Config in config.php anpassen
  • Ggf. Pfad zu data in Datenbank-Tabelle oc_storages anpassen
  • Pfad in Collabora Online anpassen (Auth)

PHP Version

  • PHP 7.4 -> Check hier ändern [1]:
lib/versioncheck.php

CalDAV und CardDAV

https://example.com/nextcloud
https://example.com/nextcloud/remote.php/dav/calendars/<username>/<calendarname>/
https://example.com/nextcloud/remote.php/dav/addressbooks/users/<username>/<addressbookname>/

WebDAV

https://example.com/nextcloud
https://example.com/nextcloud/remote.php/dav/files/<USERNAME>/

Update

sudo -u wwwrun php updater/updater.phar
  • Update Channel in config.php
'updater.release.channel' => 'beta'

Downgrade einer App

Beispiel "Nextcloud Office":

  • Die betreffende App in Nextcloud UI deaktivieren
  • Bestehende App entfernen
cd apps/
rm -rf richdocuments
  • App herunterladen
wget https://github.com/nextcloud-releases/richdocuments/releases/download/v5.0.1/richdocuments-v5.0.1.tar.gz
  • App entpacken, Owner setzen und Download-Paket entfernen
tar zxvf richdocuments-v5.0.1.tar.gz
chown -R wwwrun:www richdocuments
rm richdocuments-v5.0.1.tar.gz
  • Die betreffende App in Nextcloud UI aktivieren

PHP Performance

PHP-FPM

Werte weit über Default setzen: https://spot13.com/pmcalculator/

Caching

  • Opcache mit PHP-FPM
/etc/php7/fpm/php.ini


  • APCu
zypper in php7-APCu
/etc/php7/conf.d/apcu.ini

Prüfen:

phpinfo();

Sicherheit

Siehe auch