Closed matheusfrancisco closed 4 years ago
it hasnt installed all of the required pre installation modules or it crashed out on a download somewhere. I had this REALLY annoying n98 error as well. Uninstall everything and re-install everything. I think by my 3rd or 4th reinstall it had finally downloaded and cached everything and it worked fine.
it hasnt installed all of the required pre installation modules or it crashed out on a download somewhere. I had this REALLY annoying n98 error as well. Uninstall everything and re-install everything. I think by my 3rd or 4th reinstall it had finally downloaded and cached everything and it worked fine.
hey thank you for your answer, but this not worked for me :'(
I trying run this command but don't worked
$ php -f ./bin/magento sampledata:deploy
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
<warning>Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.</warning>
Generating autoload files
I solved run this comands:
$ ./shell
inside html/
$ rm -rf *
then I run:
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition . ;
php -f ./bin/magento setup:install --base-url=http://localhost/ \
--db-host=db \
--db-name=magento \
--db-user=magento \
--db-password=magento \
--admin-firstname=Magento \
--admin-lastname=Commerce \
--admin-email=user@example.com \
--admin-user=admin \
--admin-password=admin123 \
--language=en_US \
--currency=USD \
--timezone=America/Chicago \
--use-rewrites=1 \
--backend-frontname=admin \
--use-sample-data ;
php -f ./bin/magento indexer:set-mode schedule \
&& cp ~/.composer/auth.json var/composer_home/auth.json \
&& php -f ./bin/magento sampledata:deploy \
&& php -f ./bin/magento setup:upgrade \
&& php -f ./bin/magento indexer:reindex \
&& php -f ./bin/magento cache:flush \
&& php -f ./bin/magento deploy:mode:set production \
&& composer dump-autoload -o ;
mv package.json.sample package.json ; mv Gruntfile.js.sample Gruntfile.js \
&& npm i
php bin/magento setup:udpgrade
php bin/magento setup:static-content:deploy
But i think only this command solve this problem : To install sample data please using the command line: php bin/magento sampledata:deploy
After completing downloading the sample data packages, run the below commands line:
Update the database and schema php bin/magento setup:upgrade
Deploy the static content in the folder called pub/static/*
php bin/magento setup:static-content:deploy (Applying for Magento 2.1.x)
php bin/magento setup:static-content:deploy -f (Applying for Magento 2.2.x)
My application does not load sample data. The only mistake appeared