Magento 2.2 update extension clear generated folderJS and CSS merged Issue in magento2Try to install magento migration tool failsCannot install module in Magento 2Why do i have to always run the commands to clean cache in Magento 2.1.8?Magneto2 CatalogSearchMagento 2: Magento UI is not working properly. After deleting all productsWhen using Magento 2 the admin panel buttons are un-responsiveElasticsearch setup:upgrade error: No handler for type [text] declared on field [search]Magento 2.2.7 Enterprise Edition Error in frontend | Invalid template file: '…/page/js/require_js.phtml' in module: '' block's name: 'require.js'Magento2 Getting error as variable @baseUrl is undefined in file /var/view_preprocessed
Understanding the reasoning of the woman who agreed with King Solomon to "cut the baby in half"
Who are the remaining King/Queenslayers?
Count All Possible Unique Combinations of Letters in a Word
Is a single radon-daughter atom in air a solid?
Find the C-factor of a vote
What did River say when she woke from her proto-comatose state?
Why is it recommended to mix yogurt starter with a small amount of milk before adding to the entire batch?
Do I have any obligations to my PhD supervisor's requests after I have graduated?
Can you find x?
How does a blind passenger not die, if driver becomes unconscious
Array initialization optimization
Does this Wild Magic result affect the sorcerer or just other creatures?
Should developer taking test phones home or put in office?
How many children?
How does DC work with natural 20?
Dystopia where people are regularly forced to move, protagonist must move daily
Would it be a copyright violation if I made a character’s full name refer to a song?
What can I do with a research project that is my university’s intellectual property?
Can any NP-Complete Problem be solved using at most polynomial space (but while using exponential time?)
Employer wants to use my work email account after I quit
Why don't countries like Japan just print more money?
What's currently blocking the construction of the wall between Mexico and the US?
.NET executes a SQL query and Active Monitor shows multiple rows blocking each other
How to model a twisted cylinder like this
Magento 2.2 update extension clear generated folder
JS and CSS merged Issue in magento2Try to install magento migration tool failsCannot install module in Magento 2Why do i have to always run the commands to clean cache in Magento 2.1.8?Magneto2 CatalogSearchMagento 2: Magento UI is not working properly. After deleting all productsWhen using Magento 2 the admin panel buttons are un-responsiveElasticsearch setup:upgrade error: No handler for type [text] declared on field [search]Magento 2.2.7 Enterprise Edition Error in frontend | Invalid template file: '…/page/js/require_js.phtml' in module: '' block's name: 'require.js'Magento2 Getting error as variable @baseUrl is undefined in file /var/view_preprocessed
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Before magento 2.2 I emptied the var/generations
folder during an upgrade of an extension or an update of magento from eg. 2.1.5 to 2.1.6
In 2.2 the var/generations
folder is empty and replaced (I suppose) by the generated
folder.
I always used this for upgrading (see below), but which commands to use in 2.2?
php bin/magento maintenance:enable
php bin/composer require myparcelnl/sdk "v1.3.0"
php bin/composer require myparcelnl/magento "2.3.0-beta.5"
php bin/composer update
rm -rf var/di/*;
rm -rf pub/static/*;
rm -rf var/generation/*;
rm -rf var/view_preprocessed/*;
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -j 1
php bin/magento setup:static-content:deploy nl_NL -j 1
php bin/magento indexer:reindex
magento2 magento2.2
add a comment |
Before magento 2.2 I emptied the var/generations
folder during an upgrade of an extension or an update of magento from eg. 2.1.5 to 2.1.6
In 2.2 the var/generations
folder is empty and replaced (I suppose) by the generated
folder.
I always used this for upgrading (see below), but which commands to use in 2.2?
php bin/magento maintenance:enable
php bin/composer require myparcelnl/sdk "v1.3.0"
php bin/composer require myparcelnl/magento "2.3.0-beta.5"
php bin/composer update
rm -rf var/di/*;
rm -rf pub/static/*;
rm -rf var/generation/*;
rm -rf var/view_preprocessed/*;
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -j 1
php bin/magento setup:static-content:deploy nl_NL -j 1
php bin/magento indexer:reindex
magento2 magento2.2
Yes as suggested by you the generations folder is moved in root magento as generated folder. You need to removegenerated/code
andgenerated/meta
folders before any upgradation.
– Priyank
Dec 1 '17 at 9:39
Before or after the composer update?
– Jilco Tigchelaar
Dec 1 '17 at 9:44
Priyank, are the commands in the answer correct then?
– Jilco Tigchelaar
Dec 1 '17 at 11:50
There are.htaccess
files which are required when you are using apache webserver so make sure they are not removed.
– Priyank
Dec 1 '17 at 12:02
add a comment |
Before magento 2.2 I emptied the var/generations
folder during an upgrade of an extension or an update of magento from eg. 2.1.5 to 2.1.6
In 2.2 the var/generations
folder is empty and replaced (I suppose) by the generated
folder.
I always used this for upgrading (see below), but which commands to use in 2.2?
php bin/magento maintenance:enable
php bin/composer require myparcelnl/sdk "v1.3.0"
php bin/composer require myparcelnl/magento "2.3.0-beta.5"
php bin/composer update
rm -rf var/di/*;
rm -rf pub/static/*;
rm -rf var/generation/*;
rm -rf var/view_preprocessed/*;
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -j 1
php bin/magento setup:static-content:deploy nl_NL -j 1
php bin/magento indexer:reindex
magento2 magento2.2
Before magento 2.2 I emptied the var/generations
folder during an upgrade of an extension or an update of magento from eg. 2.1.5 to 2.1.6
In 2.2 the var/generations
folder is empty and replaced (I suppose) by the generated
folder.
I always used this for upgrading (see below), but which commands to use in 2.2?
php bin/magento maintenance:enable
php bin/composer require myparcelnl/sdk "v1.3.0"
php bin/composer require myparcelnl/magento "2.3.0-beta.5"
php bin/composer update
rm -rf var/di/*;
rm -rf pub/static/*;
rm -rf var/generation/*;
rm -rf var/view_preprocessed/*;
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -j 1
php bin/magento setup:static-content:deploy nl_NL -j 1
php bin/magento indexer:reindex
magento2 magento2.2
magento2 magento2.2
edited Dec 1 '17 at 11:48
Jilco Tigchelaar
asked Dec 1 '17 at 9:00
Jilco TigchelaarJilco Tigchelaar
157313
157313
Yes as suggested by you the generations folder is moved in root magento as generated folder. You need to removegenerated/code
andgenerated/meta
folders before any upgradation.
– Priyank
Dec 1 '17 at 9:39
Before or after the composer update?
– Jilco Tigchelaar
Dec 1 '17 at 9:44
Priyank, are the commands in the answer correct then?
– Jilco Tigchelaar
Dec 1 '17 at 11:50
There are.htaccess
files which are required when you are using apache webserver so make sure they are not removed.
– Priyank
Dec 1 '17 at 12:02
add a comment |
Yes as suggested by you the generations folder is moved in root magento as generated folder. You need to removegenerated/code
andgenerated/meta
folders before any upgradation.
– Priyank
Dec 1 '17 at 9:39
Before or after the composer update?
– Jilco Tigchelaar
Dec 1 '17 at 9:44
Priyank, are the commands in the answer correct then?
– Jilco Tigchelaar
Dec 1 '17 at 11:50
There are.htaccess
files which are required when you are using apache webserver so make sure they are not removed.
– Priyank
Dec 1 '17 at 12:02
Yes as suggested by you the generations folder is moved in root magento as generated folder. You need to remove
generated/code
and generated/meta
folders before any upgradation.– Priyank
Dec 1 '17 at 9:39
Yes as suggested by you the generations folder is moved in root magento as generated folder. You need to remove
generated/code
and generated/meta
folders before any upgradation.– Priyank
Dec 1 '17 at 9:39
Before or after the composer update?
– Jilco Tigchelaar
Dec 1 '17 at 9:44
Before or after the composer update?
– Jilco Tigchelaar
Dec 1 '17 at 9:44
Priyank, are the commands in the answer correct then?
– Jilco Tigchelaar
Dec 1 '17 at 11:50
Priyank, are the commands in the answer correct then?
– Jilco Tigchelaar
Dec 1 '17 at 11:50
There are
.htaccess
files which are required when you are using apache webserver so make sure they are not removed.– Priyank
Dec 1 '17 at 12:02
There are
.htaccess
files which are required when you are using apache webserver so make sure they are not removed.– Priyank
Dec 1 '17 at 12:02
add a comment |
1 Answer
1
active
oldest
votes
So the correct commands are then:
php bin/magento maintenance:enable
php bin/composer require myparcelnl/sdk "v1.3.0"
php bin/composer require myparcelnl/magento "2.3.0-beta.5"
php bin/composer update
rm -rf pub/static/*;
rm -rf var/view_preprocessed/*;
rm -rf generated/*;
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -j 1
php bin/magento setup:static-content:deploy nl_NL -j 1
php bin/magento indexer:reindex
php bin/magento maintenance:disable
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%2f204077%2fmagento-2-2-update-extension-clear-generated-folder%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
So the correct commands are then:
php bin/magento maintenance:enable
php bin/composer require myparcelnl/sdk "v1.3.0"
php bin/composer require myparcelnl/magento "2.3.0-beta.5"
php bin/composer update
rm -rf pub/static/*;
rm -rf var/view_preprocessed/*;
rm -rf generated/*;
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -j 1
php bin/magento setup:static-content:deploy nl_NL -j 1
php bin/magento indexer:reindex
php bin/magento maintenance:disable
add a comment |
So the correct commands are then:
php bin/magento maintenance:enable
php bin/composer require myparcelnl/sdk "v1.3.0"
php bin/composer require myparcelnl/magento "2.3.0-beta.5"
php bin/composer update
rm -rf pub/static/*;
rm -rf var/view_preprocessed/*;
rm -rf generated/*;
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -j 1
php bin/magento setup:static-content:deploy nl_NL -j 1
php bin/magento indexer:reindex
php bin/magento maintenance:disable
add a comment |
So the correct commands are then:
php bin/magento maintenance:enable
php bin/composer require myparcelnl/sdk "v1.3.0"
php bin/composer require myparcelnl/magento "2.3.0-beta.5"
php bin/composer update
rm -rf pub/static/*;
rm -rf var/view_preprocessed/*;
rm -rf generated/*;
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -j 1
php bin/magento setup:static-content:deploy nl_NL -j 1
php bin/magento indexer:reindex
php bin/magento maintenance:disable
So the correct commands are then:
php bin/magento maintenance:enable
php bin/composer require myparcelnl/sdk "v1.3.0"
php bin/composer require myparcelnl/magento "2.3.0-beta.5"
php bin/composer update
rm -rf pub/static/*;
rm -rf var/view_preprocessed/*;
rm -rf generated/*;
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -j 1
php bin/magento setup:static-content:deploy nl_NL -j 1
php bin/magento indexer:reindex
php bin/magento maintenance:disable
edited Jun 13 at 13:51
MagePsycho
3,32311946
3,32311946
answered Dec 1 '17 at 11:49
Jilco TigchelaarJilco Tigchelaar
157313
157313
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%2f204077%2fmagento-2-2-update-extension-clear-generated-folder%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
Yes as suggested by you the generations folder is moved in root magento as generated folder. You need to remove
generated/code
andgenerated/meta
folders before any upgradation.– Priyank
Dec 1 '17 at 9:39
Before or after the composer update?
– Jilco Tigchelaar
Dec 1 '17 at 9:44
Priyank, are the commands in the answer correct then?
– Jilco Tigchelaar
Dec 1 '17 at 11:50
There are
.htaccess
files which are required when you are using apache webserver so make sure they are not removed.– Priyank
Dec 1 '17 at 12:02