{"id":309,"date":"2025-12-01T21:31:18","date_gmt":"2025-12-01T20:31:18","guid":{"rendered":"https:\/\/escher.cc\/?p=309"},"modified":"2025-12-01T21:39:16","modified_gmt":"2025-12-01T20:39:16","slug":"tipps-zu-nextcloud","status":"publish","type":"post","link":"https:\/\/www.escher.cc\/index.php\/2025\/12\/01\/tipps-zu-nextcloud\/","title":{"rendered":"Tipps zu Nextcloud"},"content":{"rendered":"\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Eine oder mehrere MIME-Type-Migrationen sind verf\u00fcgbar<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Gelegentlich werden neue MIME-Typen hinzugef\u00fcgt, um bestimmte Dateitypen besser handhaben zu k\u00f6nnen. Die Migration der MIME-Typen dauert bei gr\u00f6\u00dferen Instanzen lange, daher erfolgt sie bei Upgrades nicht automatisch. Verwende den Befehl <code>occ maintenance:repair --include-expensive<\/code>, um die Migrationen durchzuf\u00fchren.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">docker exec -ti --user www-data <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\"><strong>nextcloud-app<\/strong><\/mark> \/var\/www\/html\/occ maintenance:repair --include-expensive<\/pre>\n\n\n\n<p>Ggf. den Docker-Contaier (hier nextcloud-app) anpassen<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Einige Fehlende optionale Indizes wurden erkannt.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Einige fehlende optionale Indizes wurden erkannt. Gelegentlich werden neue Indizes hinzugef\u00fcgt (von Nextcloud oder installierten Anwendungen), um die Datenbankleistung zu verbessern. Das Hinzuf\u00fcgen von Indizes kann manchmal eine Weile dauern und die Leistung vor\u00fcbergehend beeintr\u00e4chtigen, daher wird dies bei Upgrades nicht automatisch durchgef\u00fchrt. Sobald die Indizes hinzugef\u00fcgt wurden, sollten Abfragen an diese Tabellen schneller sein. Bitte den Befehl `occ db:add-missing-indices` verwenden, um sie hinzuzuf\u00fcgen. Fehlende Indizes: &#8222;fs_name_hash&#8220; in Tabelle &#8222;filecache&#8220;, &#8222;systag_by_objectid&#8220; in Tabelle &#8222;systemtag_object_mapping&#8220;, &#8222;systag_objecttype&#8220; in Tabelle &#8222;systemtag_object_mapping&#8220;, &#8222;unique_category_per_user&#8220; in Tabelle &#8222;vcategory&#8220;, &#8222;cards_prop_abid_name_value&#8220; in Tabelle &#8222;cards_properties&#8220; Weitere Informationen findest du in der <a href=\"https:\/\/docs.nextcloud.com\/server\/31\/go.php?to=admin-long-running-migration-steps\" target=\"_blank\" rel=\"noreferrer noopener\">Dokumentation \u2197<\/a><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">docker exec -ti --user www-data nextcloud-app \/var\/www\/html\/occ db:add-missing-indices<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Falsches Zeilenformat in deiner Datenbank gefunden.<\/strong><\/p>\n\n\n\n<p>In den Container der Nextcloud-DB wechseln (mit Docker)<\/p>\n\n\n\n<p>docker exec -ti nextcloud-db \/bin\/bash<\/p>\n\n\n\n<p>System aktualisieren sowie wget und das Skript runterladen<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt update<br>apt install wget -y<br>https:\/\/github.com\/kangaroo72\/homelab\/raw\/refs\/heads\/main\/nextcloud\/row_format.sh<\/pre>\n\n\n\n<p>Das Skript ausf\u00fchrbar machen und starten.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chmod +x row_format.sh<br>.\/row_format.sh<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eine oder mehrere MIME-Type-Migrationen sind verf\u00fcgbar docker exec -ti &#8211;user www-data nextcloud-app \/var\/www\/html\/occ maintenance:repair &#8211;include-expensive Ggf. den Docker-Contaier (hier nextcloud-app) anpassen Einige Fehlende optionale Indizes wurden erkannt. docker exec -ti &#8211;user www-data nextcloud-app \/var\/www\/html\/occ&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-309","post","type-post","status-publish","format-standard","hentry","category-allgemein"],"_links":{"self":[{"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/posts\/309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/comments?post=309"}],"version-history":[{"count":3,"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/posts\/309\/revisions"}],"predecessor-version":[{"id":312,"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/posts\/309\/revisions\/312"}],"wp:attachment":[{"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/media?parent=309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/categories?post=309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/tags?post=309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}