How to Upgrade magento version from 2.2.X to 2.3.0?
I have tried using bellow command but getting errors
- Command 1:
composer require magento/product-community-edition 2.3.0 --no-update
- Command 2:
composer update
Output:
Problem 1
- Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].
- magento/product-community-edition 2.3.0 requires magento/framework 102.0.0 -> satisfiable by magento/framework[102.0.0].
- Conclusion: don't install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.1|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.4|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.5|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.6|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.7|install symfony/console v2.8.38
if anyone has an idea help me..!
magento2.3.0
add a comment |
I have tried using bellow command but getting errors
- Command 1:
composer require magento/product-community-edition 2.3.0 --no-update
- Command 2:
composer update
Output:
Problem 1
- Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].
- magento/product-community-edition 2.3.0 requires magento/framework 102.0.0 -> satisfiable by magento/framework[102.0.0].
- Conclusion: don't install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.1|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.4|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.5|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.6|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.7|install symfony/console v2.8.38
if anyone has an idea help me..!
magento2.3.0
devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html
– Navin Bhudiya
Nov 29 '18 at 10:47
add a comment |
I have tried using bellow command but getting errors
- Command 1:
composer require magento/product-community-edition 2.3.0 --no-update
- Command 2:
composer update
Output:
Problem 1
- Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].
- magento/product-community-edition 2.3.0 requires magento/framework 102.0.0 -> satisfiable by magento/framework[102.0.0].
- Conclusion: don't install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.1|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.4|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.5|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.6|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.7|install symfony/console v2.8.38
if anyone has an idea help me..!
magento2.3.0
I have tried using bellow command but getting errors
- Command 1:
composer require magento/product-community-edition 2.3.0 --no-update
- Command 2:
composer update
Output:
Problem 1
- Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].
- magento/product-community-edition 2.3.0 requires magento/framework 102.0.0 -> satisfiable by magento/framework[102.0.0].
- Conclusion: don't install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.1|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.4|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.5|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.6|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.7|install symfony/console v2.8.38
if anyone has an idea help me..!
magento2.3.0
magento2.3.0
edited Dec 6 '18 at 12:59
Ashish Viradiya
558420
558420
asked Nov 29 '18 at 10:19
Navin BhudiyaNavin Bhudiya
741824
741824
devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html
– Navin Bhudiya
Nov 29 '18 at 10:47
add a comment |
devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html
– Navin Bhudiya
Nov 29 '18 at 10:47
devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html
– Navin Bhudiya
Nov 29 '18 at 10:47
devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html
– Navin Bhudiya
Nov 29 '18 at 10:47
add a comment |
5 Answers
5
active
oldest
votes
I think you are skipping some steps.
Make sure you are specifying additional packages required :
composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update
and remove unused packages :
composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update
You are getting the error mainly because of the fabpot/php-cs-fixer
Also, make sure you read Magento docs
https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html
Hope this helps.
add a comment |
Here are the steps to upgrade Magento 2.2.x to 2.3.0
Step 1: Backup code and database
Step 2:
composer require magento/product-community-edition=2.3.0 --no-update
Step 3:
composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update
Step 4:
composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update
Step 5:
add “ZendMvcController”: “setup/src/Zend/Mvc/Controller/”: around line 47 under psr-4 section.
Step 6:
composer update
Detail information found on this post
add a comment |
With all the new stuff coming to Magento 2.3.0 you might want to try out the upgrade process to the latest 2.3.0 release. Before you start, see this infograph to know the steps to upgrade from Magento 2.2 to Magento 2.3.
add a comment |
Here are the steps I used to successfully update Magento 2.2.6 to 2.3.0. I have divided the steps into two parts:
Part 1:
- php bin/magento deploy:mode:set developer
- php bin/magento cache:disable
- php bin/magento maintenance:enable
- composer require magento/product-community-edition 2.3.0 --no-update
- composer update
POSSIBLE ERROR: You might get the following error:
Can only install one of: symfony/console[v4.1.0, v3.4.9].
- magento/magento2-base 2.3.0 requires symfony/console ~4.1.0 -> satisfiable by symfony/console[v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
- Conclusion: don't install sebastian/phpcpd 2.0.4|don't install symfony/console v4.1.1|install symfony/console v2.8.38
- Installation request for sebastian/phpcpd 2.0.4 -> satisfiable by sebastian/phpcpd[2.0.4].
GOTO PART 2 FOR SOLUTION
Part 2:
- composer config preferred-install dist
- composer config sort-packages true
- composer config prefer-stable true
- composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update
- composer require --dev sebastian/phpcpd:~3.0.0 --no-update
- php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'
- composer update
- rm -rf var/cache/* var/page_cache/* var/generation/*
- php bin/magento setup:upgrade
- php bin/magento setup:di:compile
- php bin/magento cache:enable
- php bin/magento maintenance:disable
- php bin/magento indexer:reindex && php bin/magento cache:clean && php bin/magento cache:flush
Now, Magento 2.2.6 should have been SUCCESSFULLY UPGRADED to MAGENTO 2.3.0
add a comment |
To Upgrade From Magento 2.2 To Magento 2.3, We need out to follow some steps that can be helpful for us. Just click on above link and and make be better to upgrade your Magento version.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f251778%2fhow-to-upgrade-magento-version-from-2-2-x-to-2-3-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
I think you are skipping some steps.
Make sure you are specifying additional packages required :
composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update
and remove unused packages :
composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update
You are getting the error mainly because of the fabpot/php-cs-fixer
Also, make sure you read Magento docs
https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html
Hope this helps.
add a comment |
I think you are skipping some steps.
Make sure you are specifying additional packages required :
composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update
and remove unused packages :
composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update
You are getting the error mainly because of the fabpot/php-cs-fixer
Also, make sure you read Magento docs
https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html
Hope this helps.
add a comment |
I think you are skipping some steps.
Make sure you are specifying additional packages required :
composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update
and remove unused packages :
composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update
You are getting the error mainly because of the fabpot/php-cs-fixer
Also, make sure you read Magento docs
https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html
Hope this helps.
I think you are skipping some steps.
Make sure you are specifying additional packages required :
composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update
and remove unused packages :
composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update
You are getting the error mainly because of the fabpot/php-cs-fixer
Also, make sure you read Magento docs
https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html
Hope this helps.
edited Nov 29 '18 at 11:07
sv3n
9,70562352
9,70562352
answered Nov 29 '18 at 10:45
DanielDaniel
961
961
add a comment |
add a comment |
Here are the steps to upgrade Magento 2.2.x to 2.3.0
Step 1: Backup code and database
Step 2:
composer require magento/product-community-edition=2.3.0 --no-update
Step 3:
composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update
Step 4:
composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update
Step 5:
add “ZendMvcController”: “setup/src/Zend/Mvc/Controller/”: around line 47 under psr-4 section.
Step 6:
composer update
Detail information found on this post
add a comment |
Here are the steps to upgrade Magento 2.2.x to 2.3.0
Step 1: Backup code and database
Step 2:
composer require magento/product-community-edition=2.3.0 --no-update
Step 3:
composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update
Step 4:
composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update
Step 5:
add “ZendMvcController”: “setup/src/Zend/Mvc/Controller/”: around line 47 under psr-4 section.
Step 6:
composer update
Detail information found on this post
add a comment |
Here are the steps to upgrade Magento 2.2.x to 2.3.0
Step 1: Backup code and database
Step 2:
composer require magento/product-community-edition=2.3.0 --no-update
Step 3:
composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update
Step 4:
composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update
Step 5:
add “ZendMvcController”: “setup/src/Zend/Mvc/Controller/”: around line 47 under psr-4 section.
Step 6:
composer update
Detail information found on this post
Here are the steps to upgrade Magento 2.2.x to 2.3.0
Step 1: Backup code and database
Step 2:
composer require magento/product-community-edition=2.3.0 --no-update
Step 3:
composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update
Step 4:
composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update
Step 5:
add “ZendMvcController”: “setup/src/Zend/Mvc/Controller/”: around line 47 under psr-4 section.
Step 6:
composer update
Detail information found on this post
answered Dec 11 '18 at 8:32
chirag dodiachirag dodia
71731021
71731021
add a comment |
add a comment |
With all the new stuff coming to Magento 2.3.0 you might want to try out the upgrade process to the latest 2.3.0 release. Before you start, see this infograph to know the steps to upgrade from Magento 2.2 to Magento 2.3.
add a comment |
With all the new stuff coming to Magento 2.3.0 you might want to try out the upgrade process to the latest 2.3.0 release. Before you start, see this infograph to know the steps to upgrade from Magento 2.2 to Magento 2.3.
add a comment |
With all the new stuff coming to Magento 2.3.0 you might want to try out the upgrade process to the latest 2.3.0 release. Before you start, see this infograph to know the steps to upgrade from Magento 2.2 to Magento 2.3.
With all the new stuff coming to Magento 2.3.0 you might want to try out the upgrade process to the latest 2.3.0 release. Before you start, see this infograph to know the steps to upgrade from Magento 2.2 to Magento 2.3.
answered 2 days ago
Nilesh KothariNilesh Kothari
213
213
add a comment |
add a comment |
Here are the steps I used to successfully update Magento 2.2.6 to 2.3.0. I have divided the steps into two parts:
Part 1:
- php bin/magento deploy:mode:set developer
- php bin/magento cache:disable
- php bin/magento maintenance:enable
- composer require magento/product-community-edition 2.3.0 --no-update
- composer update
POSSIBLE ERROR: You might get the following error:
Can only install one of: symfony/console[v4.1.0, v3.4.9].
- magento/magento2-base 2.3.0 requires symfony/console ~4.1.0 -> satisfiable by symfony/console[v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
- Conclusion: don't install sebastian/phpcpd 2.0.4|don't install symfony/console v4.1.1|install symfony/console v2.8.38
- Installation request for sebastian/phpcpd 2.0.4 -> satisfiable by sebastian/phpcpd[2.0.4].
GOTO PART 2 FOR SOLUTION
Part 2:
- composer config preferred-install dist
- composer config sort-packages true
- composer config prefer-stable true
- composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update
- composer require --dev sebastian/phpcpd:~3.0.0 --no-update
- php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'
- composer update
- rm -rf var/cache/* var/page_cache/* var/generation/*
- php bin/magento setup:upgrade
- php bin/magento setup:di:compile
- php bin/magento cache:enable
- php bin/magento maintenance:disable
- php bin/magento indexer:reindex && php bin/magento cache:clean && php bin/magento cache:flush
Now, Magento 2.2.6 should have been SUCCESSFULLY UPGRADED to MAGENTO 2.3.0
add a comment |
Here are the steps I used to successfully update Magento 2.2.6 to 2.3.0. I have divided the steps into two parts:
Part 1:
- php bin/magento deploy:mode:set developer
- php bin/magento cache:disable
- php bin/magento maintenance:enable
- composer require magento/product-community-edition 2.3.0 --no-update
- composer update
POSSIBLE ERROR: You might get the following error:
Can only install one of: symfony/console[v4.1.0, v3.4.9].
- magento/magento2-base 2.3.0 requires symfony/console ~4.1.0 -> satisfiable by symfony/console[v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
- Conclusion: don't install sebastian/phpcpd 2.0.4|don't install symfony/console v4.1.1|install symfony/console v2.8.38
- Installation request for sebastian/phpcpd 2.0.4 -> satisfiable by sebastian/phpcpd[2.0.4].
GOTO PART 2 FOR SOLUTION
Part 2:
- composer config preferred-install dist
- composer config sort-packages true
- composer config prefer-stable true
- composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update
- composer require --dev sebastian/phpcpd:~3.0.0 --no-update
- php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'
- composer update
- rm -rf var/cache/* var/page_cache/* var/generation/*
- php bin/magento setup:upgrade
- php bin/magento setup:di:compile
- php bin/magento cache:enable
- php bin/magento maintenance:disable
- php bin/magento indexer:reindex && php bin/magento cache:clean && php bin/magento cache:flush
Now, Magento 2.2.6 should have been SUCCESSFULLY UPGRADED to MAGENTO 2.3.0
add a comment |
Here are the steps I used to successfully update Magento 2.2.6 to 2.3.0. I have divided the steps into two parts:
Part 1:
- php bin/magento deploy:mode:set developer
- php bin/magento cache:disable
- php bin/magento maintenance:enable
- composer require magento/product-community-edition 2.3.0 --no-update
- composer update
POSSIBLE ERROR: You might get the following error:
Can only install one of: symfony/console[v4.1.0, v3.4.9].
- magento/magento2-base 2.3.0 requires symfony/console ~4.1.0 -> satisfiable by symfony/console[v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
- Conclusion: don't install sebastian/phpcpd 2.0.4|don't install symfony/console v4.1.1|install symfony/console v2.8.38
- Installation request for sebastian/phpcpd 2.0.4 -> satisfiable by sebastian/phpcpd[2.0.4].
GOTO PART 2 FOR SOLUTION
Part 2:
- composer config preferred-install dist
- composer config sort-packages true
- composer config prefer-stable true
- composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update
- composer require --dev sebastian/phpcpd:~3.0.0 --no-update
- php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'
- composer update
- rm -rf var/cache/* var/page_cache/* var/generation/*
- php bin/magento setup:upgrade
- php bin/magento setup:di:compile
- php bin/magento cache:enable
- php bin/magento maintenance:disable
- php bin/magento indexer:reindex && php bin/magento cache:clean && php bin/magento cache:flush
Now, Magento 2.2.6 should have been SUCCESSFULLY UPGRADED to MAGENTO 2.3.0
Here are the steps I used to successfully update Magento 2.2.6 to 2.3.0. I have divided the steps into two parts:
Part 1:
- php bin/magento deploy:mode:set developer
- php bin/magento cache:disable
- php bin/magento maintenance:enable
- composer require magento/product-community-edition 2.3.0 --no-update
- composer update
POSSIBLE ERROR: You might get the following error:
Can only install one of: symfony/console[v4.1.0, v3.4.9].
- magento/magento2-base 2.3.0 requires symfony/console ~4.1.0 -> satisfiable by symfony/console[v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
- Conclusion: don't install sebastian/phpcpd 2.0.4|don't install symfony/console v4.1.1|install symfony/console v2.8.38
- Installation request for sebastian/phpcpd 2.0.4 -> satisfiable by sebastian/phpcpd[2.0.4].
GOTO PART 2 FOR SOLUTION
Part 2:
- composer config preferred-install dist
- composer config sort-packages true
- composer config prefer-stable true
- composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update
- composer require --dev sebastian/phpcpd:~3.0.0 --no-update
- php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'
- composer update
- rm -rf var/cache/* var/page_cache/* var/generation/*
- php bin/magento setup:upgrade
- php bin/magento setup:di:compile
- php bin/magento cache:enable
- php bin/magento maintenance:disable
- php bin/magento indexer:reindex && php bin/magento cache:clean && php bin/magento cache:flush
Now, Magento 2.2.6 should have been SUCCESSFULLY UPGRADED to MAGENTO 2.3.0
edited Dec 18 '18 at 16:05
answered Dec 18 '18 at 12:43
eVagabondeVagabond
286
286
add a comment |
add a comment |
To Upgrade From Magento 2.2 To Magento 2.3, We need out to follow some steps that can be helpful for us. Just click on above link and and make be better to upgrade your Magento version.
add a comment |
To Upgrade From Magento 2.2 To Magento 2.3, We need out to follow some steps that can be helpful for us. Just click on above link and and make be better to upgrade your Magento version.
add a comment |
To Upgrade From Magento 2.2 To Magento 2.3, We need out to follow some steps that can be helpful for us. Just click on above link and and make be better to upgrade your Magento version.
To Upgrade From Magento 2.2 To Magento 2.3, We need out to follow some steps that can be helpful for us. Just click on above link and and make be better to upgrade your Magento version.
answered Dec 18 '18 at 12:29
John DrydenJohn Dryden
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f251778%2fhow-to-upgrade-magento-version-from-2-2-x-to-2-3-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html
– Navin Bhudiya
Nov 29 '18 at 10:47