- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020
01:36 PM
06-02-2020
01:36 PM
Sample data does not show up after install
Trying to install sample data on a new Magento install (Bitnami Magento on CentOS 8)
[root@magento-centos8-1 htdocs]# sudo bin/magento-cli sampledata:deploy <warning>Warning from repo.magento.com: You haven't provided your Magento authentication keys. For instructions, visit https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html</warning> Authentication required (repo.magento.com): Username: ...
Output
[root@magento-centos8-1 htdocs]# sudo bin/magento-cli sampledata:deploy ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 20 installs, 0 updates, 0 removals - Installing magento/module-catalog-sample-data (100.3.4): Downloading (100%) - Installing magento/module-bundle-sample-data (100.3.4): Downloading (100%) - Installing magento/module-theme-sample-data (100.3.4): Downloading (100%) - Installing magento/module-cms-sample-data (100.3.4): Downloading (100%) - Installing magento/module-customer-sample-data (100.3.4): Downloading (100%) - Installing magento/module-downloadable-sample-data (100.3.4): Downloading (100%) - Installing magento/module-grouped-product-sample-data (100.3.4): Downloading (100%) - Installing magento/module-msrp-sample-data (100.3.4): Downloading (100%) - Installing magento/module-offline-shipping-sample-data (100.3.4): Downloading (100%) - Installing magento/module-product-links-sample-data (100.3.4): Downloading (100%) - Installing magento/module-review-sample-data (100.3.4): Downloading (100%) - Installing magento/module-catalog-rule-sample-data (100.3.4): Downloading (100%) - Installing magento/module-sales-rule-sample-data (100.3.4): Downloading (100%) - Installing magento/module-configurable-sample-data (100.3.4): Downloading (100%) - Installing magento/module-sales-sample-data (100.3.4): Downloading (100%) - Installing magento/module-swatches-sample-data (100.3.4): Downloading (100%) - Installing magento/module-tax-sample-data (100.3.4): Downloading (100%) - Installing magento/module-widget-sample-data (100.3.4): Downloading (100%) - Installing magento/module-wishlist-sample-data (100.3.4): Downloading (100%) - Installing magento/sample-data-media (100.3.4): Downloading (100%) <warning>Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.</warning> <warning>Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.</warning> Writing lock file Generating autoload files 34 packages you are using are looking for funding. Use the `composer fund` command to find out more! PHP CodeSniffer Config installed_paths set to ../../magento/magento-coding-standard,../../phpcompatibility/php-compatibility,../../codeception [root@magento-centos8-1 htdocs]#
Also restarted all services. But looking at the website.. the sample data does not load. What am i missing?
Labels:
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020
06:56 PM
06-02-2020
06:56 PM
Re: Sample data does not show up after install
Hello @surenkonathala
Please run
php bin/magento setup:upgrade php bin/magento cache:flush
It will show data on frontend.
Manish Mittal
https://www.manishmittal.com/
https://www.manishmittal.com/
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2020
11:45 AM
06-03-2020
11:45 AM
Re: Sample data does not show up after install
Thanks @Manish Mittal , close but a small change (no need for php).
The actual command can be:
sudo /bin/magento-cli sampledata:deploy sudo /bin/magento-cli setup:upgrade sudo /bin/magento-cli cache:flush
or
sudo /bin/magento-cli sampledata:deploy sudo /bin/magento-cli setup:upgrade sudo /bin/magento-cli setup:di:compile sudo /bin/magento-cli setup:static-content:deploy -f
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2020
07:17 PM
06-03-2020
07:17 PM
Re: Sample data does not show up after install
That depends if php path is readable or not. If not we have to add php path there. Anyway is your problem fixed?
Manish Mittal
https://www.manishmittal.com/
https://www.manishmittal.com/