New answers tagged

1

I'm not sure if this is related or not; but recently composer updated his version and it's not compatible with magento latest version. Basicaly, in my docker I had to change curl -sS https://getcomposer.org/installer | php -- --filename=composer --install-dir=/usr/local/bin \ into curl -sS 'https://getcomposer.org/installer' | php -- --version=1.10.16 --...


1

I figured out that the frontend also throws an error. I had to flush the redis cache to make it work, even though redis is not even setup for that project but for another one. redis-cli flushall


0

Did you check if composer is installed and configured correctly. What happens when you run composer --version? If its installed, check to see if its enabled globally. Go over the steps from https://getcomposer.org/doc/00-intro.md and try again. One more thing, did you install Magento via composer or dowloaded it as a zip ?


-1

Just call the terminal commands. php bin/magento setup:upgrade php bin/magento content:deploy php bin/magento indexer:reindex php bin/magento c:f chmod -R 777 var chmod -R 777 pub chmod -R 777 generated


0

I could resolve this issue by restarting the server & and provide full permission to files and folder chmod -R 777 . in the local environment! :)


1

No, It is not possible currently to log in as an admin using CLI in Magento 2 but you can create a new user like: php bin/magento admin:user:create --admin-user=mageuser --admin-password=HiMagento123 --admin-email=user@example.com --admin-firstname=John --admin-lastname=Doe Or you can check the below command for more details: php bin/magento admin:user:...


Top 50 recent answers are included