{"id":243,"date":"2014-05-27T13:38:59","date_gmt":"2014-05-27T11:38:59","guid":{"rendered":"http:\/\/my-opinions.info\/?p=243"},"modified":"2015-05-07T07:24:49","modified_gmt":"2015-05-07T05:24:49","slug":"drush-update-all-module-and-drupal-automatic-more-site","status":"publish","type":"post","link":"https:\/\/uw-t.com\/ru\/drupal\/drush-update-all-module-and-drupal-automatic-more-site","title":{"rendered":"Drush update all module and drupal automatic more site"},"content":{"rendered":"<p>\u041a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0435 \u0431\u0443\u0434\u0443 \u0442\u044f\u043d\u0443\u0442\u044c \u0437\u0430\u0445\u043e\u0434\u0438\u043c \u0432 SSH \u0438 \u0432\u0432\u043e\u0434\u0438\u043c \u0442\u0430\u043a\u0443\u044e \u0432\u043e\u0442 \u0441\u0442\u0440\u043e\u0447\u043a\u0443<\/p>\n<blockquote><p>for i in \/home\/www\/<strong>grenuy\/<\/strong>data\/www\/*\/sites\/.. ; do cd \"$i\"; drush updb; drush en update; yes | drush pm-update ; drush up drupal ; drush updb ; done<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>grenuy \u044d\u0442\u043e \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043f\u0443\u0442\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u043e\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u043c \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u043c\u043e\u0436\u0435\u0442 \u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0431\u043e\u0438 \u0438 error, \u043f\u0440\u0438 \u0441\u0431\u043e\u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0430\u043f\u043a\u0430 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c drupal-7.** \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u044f \u043e\u0442 \u0442\u0443\u0434\u0430 \u0444\u0430\u0439\u043b\u044b \u0432 \u043a\u043e\u0440\u0435\u043d\u044c \u0441\u0430\u0439\u0442\u0430 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u0441\u0430\u0439\u0442.<\/p>\n<p>\u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442 \u043a\u0430\u043a \u0438 7-\u043a\u0443 \u0442\u0430\u043a \u0438 6-\u043a\u0443 \u0432 \u043f\u043e\u0441\u0442\u0440\u043e\u0447\u0435\u0447\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 \u0442\u0430\u043a\u043e\u0439(\u0432 \u043a\u043e\u0440\u043d\u0435 \u0441\u0430\u0439\u0442\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f)<\/p>\n<blockquote><p>drush en update<br \/>\ndrush pm-update<br \/>\ndrush up drupal<br \/>\ndrush updb<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u041a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0435 \u0431\u0443\u0434\u0443 \u0442\u044f\u043d\u0443\u0442\u044c \u0437\u0430\u0445\u043e\u0434\u0438\u043c \u0432 SSH \u0438 \u0432\u0432\u043e\u0434\u0438\u043c \u0442\u0430\u043a\u0443\u044e \u0432\u043e\u0442 \u0441\u0442\u0440\u043e\u0447\u043a\u0443 for i in \/home\/www\/grenuy\/data\/www\/*\/sites\/.. ; do cd \"$i\"; drush updb; drush en update; yes | drush pm-update ; drush up drupal ; drush updb ; done &nbsp; grenuy \u044d\u0442\u043e \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043f\u0443\u0442\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u043e\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u043c \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0421\u043a\u0440\u0438\u043f\u0442 \u043c\u043e\u0436\u0435\u0442 &hellip; <a href=\"https:\/\/uw-t.com\/ru\/drupal\/drush-update-all-module-and-drupal-automatic-more-site\" class=\"more-link\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"screen-reader-text\">Drush update all module and drupal automatic more site<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[15,47],"tags":[],"class_list":["post-243","post","type-post","status-publish","format-standard","hentry","category-drupal","category-drush"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/posts\/243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/comments?post=243"}],"version-history":[{"count":5,"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/posts\/243\/revisions"}],"predecessor-version":[{"id":248,"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/posts\/243\/revisions\/248"}],"wp:attachment":[{"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/media?parent=243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/categories?post=243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/tags?post=243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}