Skip to content

Weird sample data installation issue #1610

Closed
@CoreyCole

Description

@CoreyCole

I'm getting a weird issue trying to install sample data on a fresh webstore. I've wiped the database and pulled a fresh directory. I'm able to install without sample data, but when I run
composer require magento/sample-data:1.0.0-beta
bin/magento setup:upgrade
bin/magento sampledata:install admin

I get the following output:

~/html/magento2$ bin/magento sampledata:install admin
Installing theme:
.
Installing customers:
sh: 1: /usr/sbin/sendmail: not found
.
Installing CMS pages:
....
Installing catalog attributes:
...........................
Installing categories:
.........................................
Installing simple products:
PHP Fatal error:  Call to undefined method Magento\Catalog\Model\Resource\Product\Interceptor::getWriteConnection() in /var/www/html/magento2/app/code/Magento/SampleData/Module/Catalog/Setup/Product/Gallery.php on line 144

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions