Magento 2 – cron job not running – reindex issue. Your current PHP memory limit is 400M. Magento 2 requires it to be set to 756M or more.
The php version was updated to 7.1.x, but I was still getting an error preventing me from starting the upgrade, As the server supported multiple PHP versions, I needed to change my SSH commands to run the script.
Updating Magento 2 locally with Composer. Magento 2 deployment is a bit more advanced than Magento 1.x. so you’ll need to have already set up your site locally using Vagrant, Wampserver or similar.
Removing index.php from your Magento 2 website is easy. You don’t need to manually alter your .htaccess file, but to enable Web Server Rewrites within Magento.
Useful Magento 2 Commands via SSH / CMD. Here are a few Magento 2 commands that I’ve found useful when setting up a Magento 2 install and running migration tools.
The error ‘Could not determine temp directory, please specify a cache_dir manually’ was a common issue in Magento 1 installs. The solution for Magento 2 is slightly easier but does require access to your php.ini file.
Often when setting up Magento 2 you’ll hit a memory size limit, and the error ‘Allowed memory size exhausted’ where your local machine or hosting can’t provide sufficient memory for a script to run.
To set the GB localised language, currency and time settings, you’ll need to use –language=en_GB –currency=GBP –timezone=Europe/London