{"id":1437,"date":"2023-11-23T16:25:33","date_gmt":"2023-11-23T15:25:33","guid":{"rendered":"https:\/\/apfelcast.com\/?p=1437"},"modified":"2023-11-23T16:25:33","modified_gmt":"2023-11-23T15:25:33","slug":"top-8-wichtigste-occ-befehle-fuer-deine-nextcloud","status":"publish","type":"post","link":"https:\/\/it-ion.de\/index.php\/2023\/11\/23\/top-8-wichtigste-occ-befehle-fuer-deine-nextcloud\/","title":{"rendered":"Top 8 wichtigste OCC Befehle f\u00fcr deine Nextcloud"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n <div class=\"brlbs-cmpnt-container brlbs-cmpnt-content-blocker brlbs-cmpnt-with-individual-styles\" data-borlabs-cookie-content-blocker-id=\"default\" data-borlabs-cookie-content=\"PGlmcmFtZSB0aXRsZT0iVG9wIDggd2ljaHRpZ3N0ZSBPQ0MgQmVmZWhsZSBmw7xyIGRlaW5lIE5leHRjbG91ZCIgd2lkdGg9IjcyMCIgaGVpZ2h0PSI0MDUiIHNyYz0iaHR0cHM6Ly93d3cueW91dHViZS5jb20vZW1iZWQvMmpEV0paY3RVVVU\/ZmVhdHVyZT1vZW1iZWQiIGZyYW1lYm9yZGVyPSIwIiBhbGxvdz0iYWNjZWxlcm9tZXRlcjsgYXV0b3BsYXk7IGNsaXBib2FyZC13cml0ZTsgZW5jcnlwdGVkLW1lZGlhOyBneXJvc2NvcGU7IHBpY3R1cmUtaW4tcGljdHVyZTsgd2ViLXNoYXJlIiBhbGxvd2Z1bGxzY3JlZW4+PC9pZnJhbWU+\"><div class=\"brlbs-cmpnt-cb-preset-a\"> <p class=\"brlbs-cmpnt-cb-description\">Sie sehen gerade einen Platzhalterinhalt von <strong>Standard<\/strong>. Um auf den eigentlichen Inhalt zuzugreifen, klicken Sie auf die Schaltfl\u00e4che unten. Bitte beachten Sie, dass dabei Daten an Drittanbieter weitergegeben werden.<\/p> <div class=\"brlbs-cmpnt-cb-buttons\"> <a class=\"brlbs-cmpnt-cb-btn\" href=\"#\" data-borlabs-cookie-unblock role=\"button\">Inhalt entsperren<\/a> <a class=\"brlbs-cmpnt-cb-btn\" href=\"#\" data-borlabs-cookie-accept-service role=\"button\" style=\"display: none\">Erforderlichen Service akzeptieren und Inhalte entsperren<\/a> <\/div> <a class=\"brlbs-cmpnt-cb-provider-toggle\" href=\"#\" data-borlabs-cookie-show-provider-information role=\"button\">Mehr Informationen<\/a> <\/div><\/div>\n<\/div><\/figure>\n\n\n\n<p>In diesem Video stelle Ich dir die Top 8 OCC Befehle f\u00fcr die Administration deiner Nextcloud vor. Mit diesen Befehlen kannst du nicht nur deine Nextcloud optimieren, sondern auch Fehler beheben oder einen Nextcloud Serverausfall r\u00fcckg\u00e4ngig machen.<\/p>\n\n\n\n<p>\u2139\ufe0f Links:<br>Nextcloud installieren: <a href=\"https:\/\/youtu.be\/XuxUVYbOM6Y\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/youtu.be\/XuxUVYbOM6Y<\/a> <br>Sicherheits- und Einrichtungswarungen beheben: <a href=\"https:\/\/www.patreon.com\/posts\/nextcloud-25-und-75413725\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.patreon.com\/posts\/nextcloud-25-und-75413725<\/a><\/p>\n\n\n\n<div id=\"93964-1\"><script src=\"\/\/ads.themoneytizer.com\/s\/gen.js?type=1\"><\/script><script src=\"\/\/ads.themoneytizer.com\/s\/requestform.js?siteId=93964&amp;formatId=1\"><\/script><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Im Video verwendete Befehle:<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">1. Maintanance Mode:\nsudo -u www-data php occ maintenance:mode --off\nsudo -u www-data php occ maintenance:mode --on\n\n2. Nextcloud Update:\nsudo -u www-data php updater\/updater.phar\nsudo -u www-data php occ upgrade\n\n3. After Update:\nsudo -u www-data php occ db:add-missing-indices\nsudo -u www-data php occ db:convert-filecache-bigint\nsudo -u www-data php db:add-missing-columns\n\n4. User Befehle: \nsudo -u www-data php occ user:resetpassword username\nsudo -u www-data php occ user:add username -g groupname\n\n5. App Befehle:\nsudo -u www-data phpocc app:list\nsudo -u www-data php occ app:disable &lt;app-id>\nsudo -u www-data php occ app:update &lt;app-id>\n\n6. Scan Befehl:\nsudo -u www-data php occ files:scan -v username\nsudo -u www-data php occ files:scan -v --all\n\n7. Config Befehl:\nz.B. Standart Telefonregion\nsudo -u www-data php occ config:system:set default_phone_region \u2014value=\"DE\"\n\n8. Zwei-Faktor Authentifizierung:\nsudo -u www-data php occ twofactorauth:disable &lt;username> totp\n\n> Mehr OCC Befehle: https:\/\/docs.nextcloud.com\/server\/latest\/admin_manual\/configuration_server\/occ_command.html\n<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In diesem Video stelle Ich dir die Top 8 OCC Befehle f\u00fcr die Administration deiner&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1439,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-1437","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allgemein"],"taxonomy_info":{"category":[{"value":1,"label":"Allgemein"}]},"featured_image_src_large":["https:\/\/it-ion.de\/wp-content\/uploads\/2023\/11\/thumb_top8-occ-5-1024x576.jpg",1024,576,true],"author_info":{"display_name":"Daniel Klozb\u00fccher","author_link":"https:\/\/it-ion.de\/index.php\/author\/wp-master\/"},"comment_info":0,"category_info":[{"term_id":1,"name":"Allgemein","slug":"allgemein","term_group":0,"term_taxonomy_id":1,"taxonomy":"category","description":"","parent":0,"count":89,"filter":"raw","cat_ID":1,"category_count":89,"category_description":"","cat_name":"Allgemein","category_nicename":"allgemein","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts\/1437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/comments?post=1437"}],"version-history":[{"count":0,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts\/1437\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media\/1439"}],"wp:attachment":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media?parent=1437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/categories?post=1437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/tags?post=1437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}