Hey there,
I installed Magento 2.3.3 using GIT.
The setup:cron:run results in this error:
[2019-12-12 16:47:01] setup-cron.ERROR: Could not locate magento/magento2-base/composer.json file. [] []
How can this be fixed?
Hello @MadisonCooper
Just set up one cron
* * * * * /usr/bin/php /var/www/magento2/bin/magento cron:run | grep -v "Ran jobs by schedule" >> /var/www/magento2/var/log/magento.cron.log
The other two are for those who installed Magento from the downloadable package.
Let me know then
That "magento/magento2-base/composer.json" file should be located within vendor/, but not sure why is asking for that if you used the GIT version.
I recommend installing it again but using composer instead. As long as you install the same version, you won't have any issue and you'll be able to use the same database.
After that, follow these instructions to set up crons accordingly:
https://devdocs.magento.com/guides/v2.3/config-guide/cli/config-cli-subcommands-cron.html
Make sure to set the 3 cronjobs, even if your update/ directory doesn't exist.