Skip to content

Downloadable products not created #187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
indykoning opened this issue May 16, 2025 · 0 comments
Open

Downloadable products not created #187

indykoning opened this issue May 16, 2025 · 0 comments

Comments

@indykoning
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant