Error by installing with Docker (failling on Demodata Generator)
Closed this issue · 5 comments
frital commented
PHP Version
7.4.22
Shopware Version
6.4.3.0 (trunk)
Expected behaviour
Successful installation.
Actual behaviour
Failing when executing "./psh.phar install" inside the created container (created with ".psh.phar docker:start" and entered with "./psh.phar docker:ssh").
Message:
(36/52) Starting
> APP_ENV=prod bin/console framework:demodata
Demodata Generator
==================
13:40:13 CRITICAL [console] Error thrown while running command "framework:demodata". Message: "Class 'bheller\ImagesGenerator\ImagesGeneratorProvider' not found" ["exception" => Error { …},"command" => "framework:demodata","message" => "Class 'bheller\ImagesGenerator\ImagesGeneratorProvider' not found"]
In DemodataService.php line 95:
Attempted to load class "ImagesGeneratorProvider" from namespace "bheller\I
magesGenerator".
Did you forget a "use" statement for "Maltyxx\ImagesGenerator\ImagesGenerat
orProvider"?
framework:demodata [-p|--products PRODUCTS] [-c|--categories CATEGORIES] [-o|--orders ORDERS] [-m|--manufacturers MANUFACTURERS] [-cs|--customers CUSTOMERS] [--media MEDIA] [--properties PROPERTIES] [--users USERS] [-ps|--product-streams PRODUCT-STREAMS] [-mt|--mail-template MAIL-TEMPLATE] [-mhf|--mail-header-footer MAIL-HEADER-FOOTER] [-y|--with-media [WITH-MEDIA]] [-r|--reviews [REVIEWS]] [--attribute-sets ATTRIBUTE-SETS] [--product-attributes PRODUCT-ATTRIBUTES] [--manufacturer-attributes MANUFACTURER-ATTRIBUTES] [--order-attributes ORDER-ATTRIBUTES] [--customer-attributes CUSTOMER-ATTRIBUTES] [--media-attributes MEDIA-ATTRIBUTES]
Execution aborted, a subcommand failed!
How to reproduce
git clone https://github.com/shopware/development.git
cd development
./psh.phar docker:start
./psh.phar docker:ssh
then inside the container:
./psh.phar install
shyim commented
Use the 6.4.3.0 instead of trunk
BlueWolf-Produktion commented
@shyim
how to use the 6.4.3.0 or 6.4.3.1 ?
fighting with this for 3 days now
shyim commented
git checkout v6.4.3.1 and run then install
psychorex commented
xUJYx commented
@frital @BlueWolf-Produktion @psychorex
See solution in this comment