Backend + Frontend gone after Upgrade from 2.0.7 - 2.1.0 (Magento2)
Pergunta
Can't access backend nor frontend after upgrade... That's what i can see:
Magento supports PHP 5.6, 7.0.2, and 7.0.6 or later. Please read Magento System Requirements.
Got it already running with PHP 7.0.6
Tried:
php bin/magento setup:upgrade
Which gives me:
[Magento\Framework\Exception\LocalizedException]
Area code is already set
Solução
On magento community they have mentioned that, Do not install or upgrade to a Release Candidate on a production system. Upgrade to a Release Candidate on a development system only.
Also it is advisable to go for fresh installation rather then upgradation for older one for magento ce 2.1 because they have made so many changes and which are not all compatible with older one. You can also refer link @ http://devdocs.magento.com/guides/v2.1/release-notes/ReleaseNotes2.1.0CE.html
Outras dicas
You don't mention what version of PHP you are using, however note that support for PHP 5.5 has been dropped in Magento 2.1 and the supported versions of PHP 7 have been changed to only support PHP 7.0.6 up to 7.1
See: http://devdocs.magento.com/guides/v2.1/install-gde/system-requirements.html