Magento 2 : Upgrade from 2.0.2 to 2.1.2 already exist error












1















My current magento version is 2.0.2. In this version i override default module by putting that module inside app/code/Magento directory Ex. app/code/Magento/Theme and everything work fine.



Now i upgrade magento from 2.0.2 to 2.1.2



After upgrade it display following error :




Autoload error: Module Magento_Theme from {magento root}appcodeMagentoTheme has been already defined in {magento root}/vendor/magento/module-theme.




If i remove theme folder it solve my error.But i can't remove because i already done changes in that.










share|improve this question




















  • 1





    inside theme folder there is regestraion.php error if i remove this file error solved but my changes can't override

    – Sneha Panchal
    Nov 24 '16 at 5:47











  • i already done all this but nothing work

    – Sneha Panchal
    Nov 24 '16 at 5:54
















1















My current magento version is 2.0.2. In this version i override default module by putting that module inside app/code/Magento directory Ex. app/code/Magento/Theme and everything work fine.



Now i upgrade magento from 2.0.2 to 2.1.2



After upgrade it display following error :




Autoload error: Module Magento_Theme from {magento root}appcodeMagentoTheme has been already defined in {magento root}/vendor/magento/module-theme.




If i remove theme folder it solve my error.But i can't remove because i already done changes in that.










share|improve this question




















  • 1





    inside theme folder there is regestraion.php error if i remove this file error solved but my changes can't override

    – Sneha Panchal
    Nov 24 '16 at 5:47











  • i already done all this but nothing work

    – Sneha Panchal
    Nov 24 '16 at 5:54














1












1








1








My current magento version is 2.0.2. In this version i override default module by putting that module inside app/code/Magento directory Ex. app/code/Magento/Theme and everything work fine.



Now i upgrade magento from 2.0.2 to 2.1.2



After upgrade it display following error :




Autoload error: Module Magento_Theme from {magento root}appcodeMagentoTheme has been already defined in {magento root}/vendor/magento/module-theme.




If i remove theme folder it solve my error.But i can't remove because i already done changes in that.










share|improve this question
















My current magento version is 2.0.2. In this version i override default module by putting that module inside app/code/Magento directory Ex. app/code/Magento/Theme and everything work fine.



Now i upgrade magento from 2.0.2 to 2.1.2



After upgrade it display following error :




Autoload error: Module Magento_Theme from {magento root}appcodeMagentoTheme has been already defined in {magento root}/vendor/magento/module-theme.




If i remove theme folder it solve my error.But i can't remove because i already done changes in that.







magento2 upgrade






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 24 '16 at 5:19









Dipesh Rangani

1,8062931




1,8062931










asked Nov 24 '16 at 5:13









Sneha PanchalSneha Panchal

535323




535323








  • 1





    inside theme folder there is regestraion.php error if i remove this file error solved but my changes can't override

    – Sneha Panchal
    Nov 24 '16 at 5:47











  • i already done all this but nothing work

    – Sneha Panchal
    Nov 24 '16 at 5:54














  • 1





    inside theme folder there is regestraion.php error if i remove this file error solved but my changes can't override

    – Sneha Panchal
    Nov 24 '16 at 5:47











  • i already done all this but nothing work

    – Sneha Panchal
    Nov 24 '16 at 5:54








1




1





inside theme folder there is regestraion.php error if i remove this file error solved but my changes can't override

– Sneha Panchal
Nov 24 '16 at 5:47





inside theme folder there is regestraion.php error if i remove this file error solved but my changes can't override

– Sneha Panchal
Nov 24 '16 at 5:47













i already done all this but nothing work

– Sneha Panchal
Nov 24 '16 at 5:54





i already done all this but nothing work

– Sneha Panchal
Nov 24 '16 at 5:54










2 Answers
2






active

oldest

votes


















0














You cannot overload modules in magento2 like that. If it worked in 2.0.2, it was a bug.






share|improve this answer
























  • Cool, Can you please explain a bit deeper, Thanks.

    – Krishna ijjada
    Nov 24 '16 at 5:50



















0














I think you installed Magento 2.0.2 from GitHub.
But when you try to upgrade it to 2.1.2 via the wizard in the Admin Panel.
This features only using for version installed when download from Magento Download Page - https://magento.com/tech-resources/download (or via composer, not GitHub).



So it duplicates component and return your errors.






share|improve this answer


























  • I try to upgrade via composer and it already upgrdaed but after that it display this error

    – Sneha Panchal
    Nov 24 '16 at 7:43











  • Because, you installed Github version and you only update via git not composer

    – Bill
    Nov 24 '16 at 7:49











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f147267%2fmagento-2-upgrade-from-2-0-2-to-2-1-2-already-exist-error%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














You cannot overload modules in magento2 like that. If it worked in 2.0.2, it was a bug.






share|improve this answer
























  • Cool, Can you please explain a bit deeper, Thanks.

    – Krishna ijjada
    Nov 24 '16 at 5:50
















0














You cannot overload modules in magento2 like that. If it worked in 2.0.2, it was a bug.






share|improve this answer
























  • Cool, Can you please explain a bit deeper, Thanks.

    – Krishna ijjada
    Nov 24 '16 at 5:50














0












0








0







You cannot overload modules in magento2 like that. If it worked in 2.0.2, it was a bug.






share|improve this answer













You cannot overload modules in magento2 like that. If it worked in 2.0.2, it was a bug.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 24 '16 at 5:48









David VerholenDavid Verholen

5,41011231




5,41011231













  • Cool, Can you please explain a bit deeper, Thanks.

    – Krishna ijjada
    Nov 24 '16 at 5:50



















  • Cool, Can you please explain a bit deeper, Thanks.

    – Krishna ijjada
    Nov 24 '16 at 5:50

















Cool, Can you please explain a bit deeper, Thanks.

– Krishna ijjada
Nov 24 '16 at 5:50





Cool, Can you please explain a bit deeper, Thanks.

– Krishna ijjada
Nov 24 '16 at 5:50













0














I think you installed Magento 2.0.2 from GitHub.
But when you try to upgrade it to 2.1.2 via the wizard in the Admin Panel.
This features only using for version installed when download from Magento Download Page - https://magento.com/tech-resources/download (or via composer, not GitHub).



So it duplicates component and return your errors.






share|improve this answer


























  • I try to upgrade via composer and it already upgrdaed but after that it display this error

    – Sneha Panchal
    Nov 24 '16 at 7:43











  • Because, you installed Github version and you only update via git not composer

    – Bill
    Nov 24 '16 at 7:49
















0














I think you installed Magento 2.0.2 from GitHub.
But when you try to upgrade it to 2.1.2 via the wizard in the Admin Panel.
This features only using for version installed when download from Magento Download Page - https://magento.com/tech-resources/download (or via composer, not GitHub).



So it duplicates component and return your errors.






share|improve this answer


























  • I try to upgrade via composer and it already upgrdaed but after that it display this error

    – Sneha Panchal
    Nov 24 '16 at 7:43











  • Because, you installed Github version and you only update via git not composer

    – Bill
    Nov 24 '16 at 7:49














0












0








0







I think you installed Magento 2.0.2 from GitHub.
But when you try to upgrade it to 2.1.2 via the wizard in the Admin Panel.
This features only using for version installed when download from Magento Download Page - https://magento.com/tech-resources/download (or via composer, not GitHub).



So it duplicates component and return your errors.






share|improve this answer















I think you installed Magento 2.0.2 from GitHub.
But when you try to upgrade it to 2.1.2 via the wizard in the Admin Panel.
This features only using for version installed when download from Magento Download Page - https://magento.com/tech-resources/download (or via composer, not GitHub).



So it duplicates component and return your errors.







share|improve this answer














share|improve this answer



share|improve this answer








edited 33 mins ago









Teja Bhagavan Kollepara

2,94841847




2,94841847










answered Nov 24 '16 at 6:49









BillBill

2,36731239




2,36731239













  • I try to upgrade via composer and it already upgrdaed but after that it display this error

    – Sneha Panchal
    Nov 24 '16 at 7:43











  • Because, you installed Github version and you only update via git not composer

    – Bill
    Nov 24 '16 at 7:49



















  • I try to upgrade via composer and it already upgrdaed but after that it display this error

    – Sneha Panchal
    Nov 24 '16 at 7:43











  • Because, you installed Github version and you only update via git not composer

    – Bill
    Nov 24 '16 at 7:49

















I try to upgrade via composer and it already upgrdaed but after that it display this error

– Sneha Panchal
Nov 24 '16 at 7:43





I try to upgrade via composer and it already upgrdaed but after that it display this error

– Sneha Panchal
Nov 24 '16 at 7:43













Because, you installed Github version and you only update via git not composer

– Bill
Nov 24 '16 at 7:49





Because, you installed Github version and you only update via git not composer

– Bill
Nov 24 '16 at 7:49


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f147267%2fmagento-2-upgrade-from-2-0-2-to-2-1-2-already-exist-error%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

What other Star Trek series did the main TNG cast show up in?

Berlina muro

Berlina aerponto