{"id":5496,"date":"2021-11-09T14:21:22","date_gmt":"2021-11-09T14:21:22","guid":{"rendered":"https:\/\/sloupok.com\/?p=5496"},"modified":"2021-11-12T07:57:57","modified_gmt":"2021-11-12T07:57:57","slug":"how-to-update-magento-via-copmoser","status":"publish","type":"post","link":"https:\/\/sloupok.com\/how-to-update-magento-via-copmoser","title":{"rendered":"how to update Magento via Copmoser"},"content":{"rendered":"\n

use SSH terminal, find public_html<\/strong> folder and type:<\/p>\n\n\n\n

php bin\/magento maintenance:enable\nphp bin\/magento cache:disable\ncomposer require magento\/product-community-edition 2.4.3 --no-update (for version 2.4.3 -p1 use  \"composer require-commerce magento\/\" but if you need install 2.4.3 -p1 you should install 2.4.3 first)<\/strong>\ncomposer update\nrm -rf var\/di var\/generation\nphp bin\/magento cache:flush<\/pre>\n\n\n\n
sometime you need use this, but be careful:\n\nphp bin\/magento cache:flush config\nphp bin\/magento cache:flush layout\nphp bin\/magento cache:flush block_html\nphp bin\/magento cache:flush collections\nphp bin\/magento cache:flush reflection\nphp bin\/magento cache:flush db_ddl\nphp bin\/magento cache:flush compiled_config\nphp bin\/magento cache:flush eav\nphp bin\/magento cache:flush customer_notification\nphp bin\/magento cache:flush config_integration\nphp bin\/magento cache:flush config_integration_api\nphp bin\/magento cache:flush full_page\nphp bin\/magento cache:flush config_webservice\nphp bin\/magento cache:flush translate\nphp bin\/magento cache:flush vertex<\/code><\/pre>\n\n\n

next step:<\/p>\n\n\n

php bin\/magento setup:upgrade\nphp bin\/magento setup:di:compile\nphp bin\/magento indexer:reindex\nphp bin\/magento maintenance:disable\nphp bin\/magento cache:enable<\/pre>\n\n\n

After upgrade, check your Magento version with the following command:<\/p>\n\n\n

php bin\/magento --version<\/pre>\n","protected":false},"excerpt":{"rendered":"

use SSH terminal, find public_html folder and type: php bin\/magento maintenance:enable php bin\/magento cache:disable composer require magento\/product-community-edition 2.4.3 –no-update (for version 2.4.3 -p1 use “composer require-commerce magento\/” but if you need install 2.4.3 -p1 you should install 2.4.3 first) composer …<\/p>\n

how to update Magento via Copmoser<\/span> Read More »<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"publish_to_discourse":"","publish_post_category":"","wpdc_auto_publish_overridden":"","wpdc_topic_tags":"","wpdc_pin_topic":"","wpdc_pin_until":"","discourse_post_id":"","discourse_permalink":"","wpdc_publishing_response":"","wpdc_publishing_error":"","footnotes":""},"categories":[1],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/sloupok.com\/wp-json\/wp\/v2\/posts\/5496"}],"collection":[{"href":"https:\/\/sloupok.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sloupok.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sloupok.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sloupok.com\/wp-json\/wp\/v2\/comments?post=5496"}],"version-history":[{"count":5,"href":"https:\/\/sloupok.com\/wp-json\/wp\/v2\/posts\/5496\/revisions"}],"predecessor-version":[{"id":5503,"href":"https:\/\/sloupok.com\/wp-json\/wp\/v2\/posts\/5496\/revisions\/5503"}],"wp:attachment":[{"href":"https:\/\/sloupok.com\/wp-json\/wp\/v2\/media?parent=5496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sloupok.com\/wp-json\/wp\/v2\/categories?post=5496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sloupok.com\/wp-json\/wp\/v2\/tags?post=5496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}