Magento 2 - Error importing sample data
I just installed Magento 2.1.6, also installed Composer. When I tried to import the sample data, it gave me error of Installation Failed mentioning possible causing:
- A typo in the package name
- The package is not available in stable enough version.
LUMA theme is activated, and now when I run the project in browser, it shows the header, top menu with categories and footer, whereas the homepage middle section is blank. I can browse through the categories, Listing page and detail page (No images are shown).
Please guide me, what I'm missing or which direction I've to move to make the home page content and images viewable.
magento2 sample-data luma-theme
add a comment |
I just installed Magento 2.1.6, also installed Composer. When I tried to import the sample data, it gave me error of Installation Failed mentioning possible causing:
- A typo in the package name
- The package is not available in stable enough version.
LUMA theme is activated, and now when I run the project in browser, it shows the header, top menu with categories and footer, whereas the homepage middle section is blank. I can browse through the categories, Listing page and detail page (No images are shown).
Please guide me, what I'm missing or which direction I've to move to make the home page content and images viewable.
magento2 sample-data luma-theme
add a comment |
I just installed Magento 2.1.6, also installed Composer. When I tried to import the sample data, it gave me error of Installation Failed mentioning possible causing:
- A typo in the package name
- The package is not available in stable enough version.
LUMA theme is activated, and now when I run the project in browser, it shows the header, top menu with categories and footer, whereas the homepage middle section is blank. I can browse through the categories, Listing page and detail page (No images are shown).
Please guide me, what I'm missing or which direction I've to move to make the home page content and images viewable.
magento2 sample-data luma-theme
I just installed Magento 2.1.6, also installed Composer. When I tried to import the sample data, it gave me error of Installation Failed mentioning possible causing:
- A typo in the package name
- The package is not available in stable enough version.
LUMA theme is activated, and now when I run the project in browser, it shows the header, top menu with categories and footer, whereas the homepage middle section is blank. I can browse through the categories, Listing page and detail page (No images are shown).
Please guide me, what I'm missing or which direction I've to move to make the home page content and images viewable.
magento2 sample-data luma-theme
magento2 sample-data luma-theme
edited May 16 '17 at 6:51
Teja Bhagavan Kollepara
2,94841847
2,94841847
asked May 16 '17 at 6:22
m_uxm_ux
11
11
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Please follow following steps to install sample data for magento 2.
Add dependencies to the
composer.json
:
composer require magento/module-bundle-sample-data:100.1.0 magento/module-widget-sample-data:100.1.0 magento/module-theme-sample-data:100.1.0 magento/module-catalog-sample-data:100.1.0 magento/module-customer-sample-data:100.1.0 magento/module-cms-sample-data:100.1.0 magento/module-catalog-rule-sample-data:100.1.0 magento/module-sales-rule-sample-data:100.1.0 magento/module-review-sample-data:100.1.0 magento/module-tax-sample-data:100.1.0 magento/module-sales-sample-data:100.1.0 magento/module-grouped-product-sample-data:100.1.0 magento/module-downloadable-sample-data:100.1.0 magento/module-msrp-sample-data:100.1.0 magento/module-configurable-sample-data:100.1.0 magento/module-product-links-sample-data:100.1.0 magento/module-wishlist-sample-data:100.1.0 magento/module-swatches-sample-data:100.1.0 magento/sample-data-media:100.1.0 magento/module-offline-shipping-sample-data:100.1.0 --no-update
Run:
composer update
Deploy sample data:
bin/magento sampledata:deploy
Enable sample data modules:
bin/magento module:enable Magento_CustomerSampleData Magento_MsrpSampleData Magento_CatalogSampleData Magento_DownloadableSampleData Magento_OfflineShippingSampleData Magento_BundleSampleData Magento_ConfigurableSampleData Magento_ThemeSampleData Magento_ProductLinksSampleData Magento_ReviewSampleData Magento_CatalogRuleSampleData Magento_SwatchesSampleData Magento_GroupedProductSampleData Magento_TaxSampleData Magento_CmsSampleData Magento_SalesRuleSampleData Magento_SalesSampleData Magento_WidgetSampleData Magento_WishlistSampleData
Remove old files:
rm -rf var/cache/* var/page_cache/* var/generation/*
Upgrade magento files:
bin/magento setup:upgrade
Recompile files:
bin/magento setup:di:compile
Do reindex:
bin/magento indexer:reindex
Deploy static content:
bin/magento setup:static-content:deploy
I tried it few days back and it worked without issue.
Source: https://stackoverflow.com/questions/32668486/magento2-how-to-install-sample-data-after-magento-setup/38240597#38240597
add a comment |
in step 9 , should use bin/magento setup:static-content:deploy -f; it works for me. thenks.
New contributor
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%2f174588%2fmagento-2-error-importing-sample-data%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
Please follow following steps to install sample data for magento 2.
Add dependencies to the
composer.json
:
composer require magento/module-bundle-sample-data:100.1.0 magento/module-widget-sample-data:100.1.0 magento/module-theme-sample-data:100.1.0 magento/module-catalog-sample-data:100.1.0 magento/module-customer-sample-data:100.1.0 magento/module-cms-sample-data:100.1.0 magento/module-catalog-rule-sample-data:100.1.0 magento/module-sales-rule-sample-data:100.1.0 magento/module-review-sample-data:100.1.0 magento/module-tax-sample-data:100.1.0 magento/module-sales-sample-data:100.1.0 magento/module-grouped-product-sample-data:100.1.0 magento/module-downloadable-sample-data:100.1.0 magento/module-msrp-sample-data:100.1.0 magento/module-configurable-sample-data:100.1.0 magento/module-product-links-sample-data:100.1.0 magento/module-wishlist-sample-data:100.1.0 magento/module-swatches-sample-data:100.1.0 magento/sample-data-media:100.1.0 magento/module-offline-shipping-sample-data:100.1.0 --no-update
Run:
composer update
Deploy sample data:
bin/magento sampledata:deploy
Enable sample data modules:
bin/magento module:enable Magento_CustomerSampleData Magento_MsrpSampleData Magento_CatalogSampleData Magento_DownloadableSampleData Magento_OfflineShippingSampleData Magento_BundleSampleData Magento_ConfigurableSampleData Magento_ThemeSampleData Magento_ProductLinksSampleData Magento_ReviewSampleData Magento_CatalogRuleSampleData Magento_SwatchesSampleData Magento_GroupedProductSampleData Magento_TaxSampleData Magento_CmsSampleData Magento_SalesRuleSampleData Magento_SalesSampleData Magento_WidgetSampleData Magento_WishlistSampleData
Remove old files:
rm -rf var/cache/* var/page_cache/* var/generation/*
Upgrade magento files:
bin/magento setup:upgrade
Recompile files:
bin/magento setup:di:compile
Do reindex:
bin/magento indexer:reindex
Deploy static content:
bin/magento setup:static-content:deploy
I tried it few days back and it worked without issue.
Source: https://stackoverflow.com/questions/32668486/magento2-how-to-install-sample-data-after-magento-setup/38240597#38240597
add a comment |
Please follow following steps to install sample data for magento 2.
Add dependencies to the
composer.json
:
composer require magento/module-bundle-sample-data:100.1.0 magento/module-widget-sample-data:100.1.0 magento/module-theme-sample-data:100.1.0 magento/module-catalog-sample-data:100.1.0 magento/module-customer-sample-data:100.1.0 magento/module-cms-sample-data:100.1.0 magento/module-catalog-rule-sample-data:100.1.0 magento/module-sales-rule-sample-data:100.1.0 magento/module-review-sample-data:100.1.0 magento/module-tax-sample-data:100.1.0 magento/module-sales-sample-data:100.1.0 magento/module-grouped-product-sample-data:100.1.0 magento/module-downloadable-sample-data:100.1.0 magento/module-msrp-sample-data:100.1.0 magento/module-configurable-sample-data:100.1.0 magento/module-product-links-sample-data:100.1.0 magento/module-wishlist-sample-data:100.1.0 magento/module-swatches-sample-data:100.1.0 magento/sample-data-media:100.1.0 magento/module-offline-shipping-sample-data:100.1.0 --no-update
Run:
composer update
Deploy sample data:
bin/magento sampledata:deploy
Enable sample data modules:
bin/magento module:enable Magento_CustomerSampleData Magento_MsrpSampleData Magento_CatalogSampleData Magento_DownloadableSampleData Magento_OfflineShippingSampleData Magento_BundleSampleData Magento_ConfigurableSampleData Magento_ThemeSampleData Magento_ProductLinksSampleData Magento_ReviewSampleData Magento_CatalogRuleSampleData Magento_SwatchesSampleData Magento_GroupedProductSampleData Magento_TaxSampleData Magento_CmsSampleData Magento_SalesRuleSampleData Magento_SalesSampleData Magento_WidgetSampleData Magento_WishlistSampleData
Remove old files:
rm -rf var/cache/* var/page_cache/* var/generation/*
Upgrade magento files:
bin/magento setup:upgrade
Recompile files:
bin/magento setup:di:compile
Do reindex:
bin/magento indexer:reindex
Deploy static content:
bin/magento setup:static-content:deploy
I tried it few days back and it worked without issue.
Source: https://stackoverflow.com/questions/32668486/magento2-how-to-install-sample-data-after-magento-setup/38240597#38240597
add a comment |
Please follow following steps to install sample data for magento 2.
Add dependencies to the
composer.json
:
composer require magento/module-bundle-sample-data:100.1.0 magento/module-widget-sample-data:100.1.0 magento/module-theme-sample-data:100.1.0 magento/module-catalog-sample-data:100.1.0 magento/module-customer-sample-data:100.1.0 magento/module-cms-sample-data:100.1.0 magento/module-catalog-rule-sample-data:100.1.0 magento/module-sales-rule-sample-data:100.1.0 magento/module-review-sample-data:100.1.0 magento/module-tax-sample-data:100.1.0 magento/module-sales-sample-data:100.1.0 magento/module-grouped-product-sample-data:100.1.0 magento/module-downloadable-sample-data:100.1.0 magento/module-msrp-sample-data:100.1.0 magento/module-configurable-sample-data:100.1.0 magento/module-product-links-sample-data:100.1.0 magento/module-wishlist-sample-data:100.1.0 magento/module-swatches-sample-data:100.1.0 magento/sample-data-media:100.1.0 magento/module-offline-shipping-sample-data:100.1.0 --no-update
Run:
composer update
Deploy sample data:
bin/magento sampledata:deploy
Enable sample data modules:
bin/magento module:enable Magento_CustomerSampleData Magento_MsrpSampleData Magento_CatalogSampleData Magento_DownloadableSampleData Magento_OfflineShippingSampleData Magento_BundleSampleData Magento_ConfigurableSampleData Magento_ThemeSampleData Magento_ProductLinksSampleData Magento_ReviewSampleData Magento_CatalogRuleSampleData Magento_SwatchesSampleData Magento_GroupedProductSampleData Magento_TaxSampleData Magento_CmsSampleData Magento_SalesRuleSampleData Magento_SalesSampleData Magento_WidgetSampleData Magento_WishlistSampleData
Remove old files:
rm -rf var/cache/* var/page_cache/* var/generation/*
Upgrade magento files:
bin/magento setup:upgrade
Recompile files:
bin/magento setup:di:compile
Do reindex:
bin/magento indexer:reindex
Deploy static content:
bin/magento setup:static-content:deploy
I tried it few days back and it worked without issue.
Source: https://stackoverflow.com/questions/32668486/magento2-how-to-install-sample-data-after-magento-setup/38240597#38240597
Please follow following steps to install sample data for magento 2.
Add dependencies to the
composer.json
:
composer require magento/module-bundle-sample-data:100.1.0 magento/module-widget-sample-data:100.1.0 magento/module-theme-sample-data:100.1.0 magento/module-catalog-sample-data:100.1.0 magento/module-customer-sample-data:100.1.0 magento/module-cms-sample-data:100.1.0 magento/module-catalog-rule-sample-data:100.1.0 magento/module-sales-rule-sample-data:100.1.0 magento/module-review-sample-data:100.1.0 magento/module-tax-sample-data:100.1.0 magento/module-sales-sample-data:100.1.0 magento/module-grouped-product-sample-data:100.1.0 magento/module-downloadable-sample-data:100.1.0 magento/module-msrp-sample-data:100.1.0 magento/module-configurable-sample-data:100.1.0 magento/module-product-links-sample-data:100.1.0 magento/module-wishlist-sample-data:100.1.0 magento/module-swatches-sample-data:100.1.0 magento/sample-data-media:100.1.0 magento/module-offline-shipping-sample-data:100.1.0 --no-update
Run:
composer update
Deploy sample data:
bin/magento sampledata:deploy
Enable sample data modules:
bin/magento module:enable Magento_CustomerSampleData Magento_MsrpSampleData Magento_CatalogSampleData Magento_DownloadableSampleData Magento_OfflineShippingSampleData Magento_BundleSampleData Magento_ConfigurableSampleData Magento_ThemeSampleData Magento_ProductLinksSampleData Magento_ReviewSampleData Magento_CatalogRuleSampleData Magento_SwatchesSampleData Magento_GroupedProductSampleData Magento_TaxSampleData Magento_CmsSampleData Magento_SalesRuleSampleData Magento_SalesSampleData Magento_WidgetSampleData Magento_WishlistSampleData
Remove old files:
rm -rf var/cache/* var/page_cache/* var/generation/*
Upgrade magento files:
bin/magento setup:upgrade
Recompile files:
bin/magento setup:di:compile
Do reindex:
bin/magento indexer:reindex
Deploy static content:
bin/magento setup:static-content:deploy
I tried it few days back and it worked without issue.
Source: https://stackoverflow.com/questions/32668486/magento2-how-to-install-sample-data-after-magento-setup/38240597#38240597
answered Aug 16 '17 at 8:33
shaashwatoshaashwato
284
284
add a comment |
add a comment |
in step 9 , should use bin/magento setup:static-content:deploy -f; it works for me. thenks.
New contributor
add a comment |
in step 9 , should use bin/magento setup:static-content:deploy -f; it works for me. thenks.
New contributor
add a comment |
in step 9 , should use bin/magento setup:static-content:deploy -f; it works for me. thenks.
New contributor
in step 9 , should use bin/magento setup:static-content:deploy -f; it works for me. thenks.
New contributor
New contributor
answered 23 mins ago
Rubel HossainRubel Hossain
1011
1011
New contributor
New contributor
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%2f174588%2fmagento-2-error-importing-sample-data%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