Skip to content

Downloadable products not created #187

Open
@indykoning

Description

@indykoning

After running:

  • php bin/magento sampledata:deploy
  • php bin/magento setup:upgrade
  • php bin/magento setup:di:compile

I notice the Magento installation has no downloadable products.
It does have bundle, configurable, simple, but no downloadable.

I do see that the Categories for the Downloadable sample data have been created.

After attempting to force an install or an error by directly calling the function using magerun i noticed the following:

magerun2 dev:console

$di->get(\Magento\Framework\App\State::class)->setAreaCode('global');
$di->get(\Magento\DownloadableSampleData\Setup\Installer::class)->install();

i see the following warnings and errors:

 WARNING  file_get_contents(pub/media/downloadable/files/samples/l/u/luma_background_-_model_against_fence_4_sec_.mp4): Failed to open stream: No such file or directory in vendor/magento/module-downloadable-sample-data/Model/Product/Converter.php on line 161.

 Magento\Framework\Exception\InputException  Provided content must be valid base64 encoded data

Image

Insinuating sample-data-media has not moved the files correctly or at the right moment.

Copying this file myself, i can run the install function and i have downloadable products.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions