{"id":244,"date":"2020-10-20T18:00:55","date_gmt":"2020-10-20T15:00:55","guid":{"rendered":"http:\/\/mamkinitshnik.ru\/?page_id=244"},"modified":"2020-10-20T18:10:04","modified_gmt":"2020-10-20T15:10:04","slug":"%d0%bf%d0%b5%d1%80%d0%b5%d0%bd%d0%be%d1%81-%d0%bf%d0%b0%d0%bf%d0%ba%d0%b8-%d1%85%d1%80%d0%b0%d0%bd%d0%b5%d0%bd%d0%b8%d1%8f-%d1%84%d0%b0%d0%b9%d0%bb%d0%be%d0%b2-u%d0%b7%d0%b5%d1%80%d0%be%d1%84","status":"publish","type":"page","link":"https:\/\/mamkinitshnik.ru\/?page_id=244","title":{"rendered":"\u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u043f\u0430\u043f\u043a\u0438 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 u\u0437\u0435\u0440\u043e\u0444"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"244\" class=\"elementor elementor-244\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a4fb5cd elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a4fb5cd\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0d67760\" data-id=\"0d67760\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2ebce70 elementor-widget elementor-widget-text-editor\" data-id=\"2ebce70\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u041e\u0434\u043d\u0430\u0436\u0434\u044b \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 nextcloud \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u0440\u0435\u0439\u0434 \u0438 \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e.<\/p><p>\u00a0<\/p><p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0432 \u0444\u0430\u0439\u043b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043f\u0443\u0442\u044c \u043a \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 data (\u0432 \u043d\u0435\u0439 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439):<\/p><p>\u00a0<\/p><p>\u00a0<\/p><p>\u00a0<\/p><p>1<\/p><p>cat \/var\/www\/nextcloud\/config\/config.php | grep datadirectory<\/p><p>\u041e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u043b\u043e\u0441\u044c:<\/p><p>\u00a0<\/p><p>\u2018datadirectory\u2019 =&gt; \u2018\/var\/www\/nextcloud\/data\u2019,<\/p><p>\u00a0<\/p><p>\u041f\u043e\u0442\u043e\u043c \u044f \u0432\u043a\u043b\u044e\u0447\u0438\u043b \u0440\u0435\u0436\u0438\u043c \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438:<\/p><p>\u00a0<\/p><p>1<\/p><p>sudo -u www-data php \/var\/www\/nextcloud\/occ maintenance:mode &#8212;on<\/p><p>\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043b \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e data \u0432 \u043d\u043e\u0432\u0443\u044e \u043f\u0430\u043f\u043a\u0443 \u0438 \u0443\u043a\u0430\u0437\u0430\u043b \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 \u0438 \u043f\u0440\u0430\u0432\u0430 \u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432\u0435\u0431 \u0441\u0435\u0440\u0432\u0435\u0440:<\/p><p>\u00a0<\/p><p>1<\/p><p>2<\/p><p>cp -R \/var\/www\/nextcloud\/data \/srv\/nextcloud\/data<\/p><p>chown -R www-data:www-data \/srv\/nextcloud\/data\/<\/p><p>\u041e\u0442\u043a\u0440\u044b\u043b \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 nextcloud \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435 \u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u043b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u00abdatadirectory\u00bb \u043d\u0430 \u043f\u0443\u0442\u044c \u043a \u043d\u043e\u0432\u043e\u0439 \u043f\u0430\u043f\u043a\u0435:<\/p><p>\u00a0<\/p><p>1<\/p><p>nano \/var\/www\/nextcloud\/config\/config.php<\/p><p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u043b \u0440\u0435\u0436\u0438\u043c \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f:<\/p><p>\u00a0<\/p><p>1<\/p><p>sudo -u www-data php \/var\/www\/nextcloud\/occ maintenance:mode &#8212;off<\/p><p>\u0413\u043e\u0442\u043e\u0432\u043e, \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f \u00abdata\u00bb \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0435\u043d\u0430 \u0432 \u0434\u0440\u0443\u0433\u043e\u0435 \u043c\u0435\u0441\u0442\u043e.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u041e\u0434\u043d\u0430\u0436\u0434\u044b \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 nextcloud \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u0440\u0435\u0439\u0434 \u0438 \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e. \u00a0 \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0432 \u0444\u0430\u0439\u043b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043f\u0443\u0442\u044c \u043a \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 data (\u0432 \u043d\u0435\u0439 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439): \u00a0 \u00a0 \u00a0 1 cat \/var\/www\/nextcloud\/config\/config.php | grep datadirectory \u041e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u043b\u043e\u0441\u044c: \u00a0 \u2018datadirectory\u2019 <a href=\"https:\/\/mamkinitshnik.ru\/?page_id=244\" class=\"read-more\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435 &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-244","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mamkinitshnik.ru\/index.php?rest_route=\/wp\/v2\/pages\/244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamkinitshnik.ru\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mamkinitshnik.ru\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mamkinitshnik.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mamkinitshnik.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=244"}],"version-history":[{"count":3,"href":"https:\/\/mamkinitshnik.ru\/index.php?rest_route=\/wp\/v2\/pages\/244\/revisions"}],"predecessor-version":[{"id":256,"href":"https:\/\/mamkinitshnik.ru\/index.php?rest_route=\/wp\/v2\/pages\/244\/revisions\/256"}],"wp:attachment":[{"href":"https:\/\/mamkinitshnik.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}