Eu tenho tentado contornar este código de área não definiu um erro e tenho referências aos outros aqui, mas tenho um problema para rastrear isso.
Eu tenho tentado atualizar 2.0.7 para 2.1.0 e quando chego ao ponto em que eu corro:
Instalação do php bin / magento: upgrade -vvv
Eu entendo isso como o erro.
[Magento \ Framework \ Exception \ SessionException] Código de área não definido: o código de área deve ser definido antes de iniciar uma sessão.
Rastreamento de exceção: () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Session/SessionManager.php:176 Magento \ Framework \ Session \ Session \ SessionManager-> start () em / opt / bitnami / apps / magento / htdocs / var / generation / Magento / Framework / Session / Generic / Interceptor.php: 50 Magento \ Framework \ Session \ Generic \ Interceptor-> start () em / opt / bitnami / apps / magento / htdocs / vendor / magento /framework/Session/SessionManager.php:130 Magento \ Framework \ Session \ SessionManager -> __ construct () em /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Framework/Session/Generic/Interceptor.php: 14 Magento \ Framework \ Session \ Generic \ Interceptor -> __ construct () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93 Magento \ Framework \ ObjectManager \ Factory \ ResumoFábrica->createObject () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:89 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () em / opt / bitnami / apps / magento / htdocs / vendor / magento /framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument () em / opt / bitnami / apps / magento / htdocs / fornecedor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolveArguments () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager- > get () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument () em / opt / bitnami /apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolveArguments () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer->Crie () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / AbstractFactory.php: 126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager /Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolveArguments () em / opt / bitnami / apps / magento / htdocs / fornecedor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory- > resolveArgument () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolveArguments () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager->get () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolveArguments () em / opt / bitnami / apps / magento / htdocs /vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () em /opt/bitnami/apps/magento/htdocs/app/code/J2t/Rewardpoints/Observer/ProcessSaveModel.php:21 J2t \ Rewardpoints \ Observer \ ProcessSaveModel-> execute () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:73 Magento \ Framework \ Event \ Invoker \ InvokerDefault- > _callObserverMethod () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:61 Magento \ Framework \ Event \ Invoker \ InvokerDefault-> dispatch () em / opt / bitnami /apps/magento/htdocs/vendor/magento/framework/Event/Manager.php:66 Magento \ Framework \ Event \ Manager-> dispatch () em / opt / bitnami / apps / magento / htdocs / var / generation / Magento / Framework / Event / Manager / Proxy.php: 95 Magento \ Framework \ Event \ Manager \ Proxy-> dispatch () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Model/AbstractModel.php:800 Magento \ Framework \ Model \ AbstractModel->Depois de salvar () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php:818 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> processAfterSaves () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / Model / ResourceModel / Db / AbstractDb.php: 408 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> save () em / opt / bitnami / apps /magento/htdocs/vendor/magento/framework/Model/AbstractModel.php:631 Magento \ Framework \ Model \ Abstract \ Model-> save () em / opt / bitnami / apps / magento / htdocs / vendor / magento / module-indexer / Setup / Recurring.php: 108 Magento \ Indexer \ Setup \ Recurring-> install () em /opt/bitnami/apps/magento/htdocs/setup/src/Magento/Setup/Model/Installer.php:871 Magento \ Setup \ Modelo \ Instalador->handleDBSchemaData () em /opt/bitnami/apps/magento/htdocs/setup/src/Magento/Setup/Model/Installer.php:779 Magento \ Setup \ Model \ Installer-> installSchema () em / opt / bitnami / apps / magento / htdocs / setup / src / Magento / Setup / Console / Command / UpgradeCommand.php: 89 Magento \ Setup \ Console \ Command \ UpgradeCommand-> execute () em / opt / bitnami / apps / magento / htdocs / vendor / symfony /console/Symfony/Component/Console/Command/Command.php:257 Symfony \ Component \ Console \ Command \ Command-> execute () em / opt / bitnami / apps / magento / htdocs / fornecedor / symfony / console / Symfony / Component / Console / Application.php: 874 Symfony \ Component \ Console \ Application-> doRunCommand () em /opt/bitnami/apps/magento/htdocs/vendor/symfony/console/Symfony/Component/Console/Application.php:195 Symfony \ Componente \ Console \ Aplicativo->doRun () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Console/Cli.php:96 Magento \ Framework \ Console \ Cli-> doRun () em / opt / bitnami / apps / magento / htdocs / fornecedor / symfony / console / Symfony / componente / console / aplicativo.php: 126 Symfony \ Component \ Console \ aplicativo-> execute () em / opt / bitnami / apps / magento / htdocs / bin / magento: 23
[Magento \ Framework \ Exception \ LocalizedException] O código de área não está definido
Rastreamento de exceção: () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/State.php:139 Magento \ Framework \ App \ State-> getAreaCode () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / Session / SessionManager.php: 174 Magento \ Framework \ Session \ SessionManager-> start () em / opt / bitnami / apps / magento / htdocs / var / generation / Magento / Framework / Session /Generic/Interceptor.php:50 Magento \ Framework \ Session \ Generic \ Interceptor-> start () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Session/SessionManager.php:130 Magento \ Framework \ Session \ SessionManager -> __ construct () em /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Framework/Session/Generic/Interceptor.php:14 Magento \ Framework \ Session \ Generic \ Interceptor->__construct () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> createObject () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 89 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () em / opt / bitnami / apps / magento / htdocs /vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () em / opt / bitnami / apps / magento / htdocs / fornecedor / magento / framework / ObjectManager / Factory / AbstractFactory. php: 126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolveArguments () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer->_resolveArguments () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () em / opt / bitnami / apps / magento / htdocs / vendor / magento /framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument () em / opt / bitnami / apps / magento / htdocs / fornecedor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolveArguments () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager- > get () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument () em / opt / bitnami /apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolveArguments () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer->Crie () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / AbstractFactory.php: 126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager /Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolveArguments () em / opt / bitnami / apps / magento / htdocs / fornecedor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () em /opt/bitnami/apps/magento/htdocs/app/code/J2t/Rewardpoints/Observer/ProcessSaveModel.php:21 J2t \ Rewardpoints \ Observer \ ProcessSaveModel-> execute () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:73 Magento \ Framework \ Event \ Invoker \ InvokerDefault -> _ callObserverMethod () em / opt / bitnami / apps /magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:61 Magento \ Framework \ Event \ Invoker \ InvokerDefault-> dispatch () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / Event / Manager.php: 66 Magento \ Framework \ Event \ Manager-> dispatch () em /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Framework/Event/Manager/Proxy.php:95 Magento \ Framework \ Evento \ Gerente \ Proxy->dispatch () em /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Model/AbstractModel.php:800 Magento \ Framework \ Model \ AbstractModel-> afterSave () em / opt / bitnami / apps / magento / htdocs / fornecedor / magento / framework / Modelo / ResourceModel / Db / AbstractDb.php: 818 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> processAfterSaves () em / opt / bitnami / apps / magento / htdocs / vendor / magento /framework/Model/ResourceModel/Db/AbstractDb.php:408 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> save () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / Model / AbstractModel.php: 631 Magento \ Framework \ Model \ AbstractModel-> save () em /opt/bitnami/apps/magento/htdocs/vendor/magento/module-indexer/Setup/Recurring.php:108 Magento \ Indexer \ Setup \ Recorrente->install () em /opt/bitnami/apps/magento/htdocs/setup/src/Magento/Setup/Model/Installer.php:871 Magento \ Setup \ Model \ Installer-> handleDBSchemaData () em / opt / bitnami / apps / magento / htdocs / setup / src / Magento / Setup / Model / Installer.php: 779 Magento \ Setup \ Model \ Installer-> installSchema () em / opt / bitnami / apps / magento / htdocs / setup / src / Magento / Setup /Console/Command/UpgradeCommand.php:89 Magento \ Setup \ Console \ Command \ UpgradeCommand-> execute () em / opt / bitnami / apps / magento / htdocs / fornecedor / symfony / console / Symfony / Component / Console / Command / Command.php: 257 Symfony \ Component \ Console \ Command \ Command-> run () em /opt/bitnami/apps/magento/htdocs/vendor/symfony/console/Symfony/Component/Console/Application.php:874 Symfony \ Componente \ Console \ Aplicativo->doRunCommand () em /opt/bitnami/apps/magento/htdocs/vendor/symfony/console/Symfony/Component/Console/Application.php:195 Symfony \ Component \ Console \ Application-> doRun () em / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / Console / Cli.php: 96 Magento \ Framework \ Console \ Cli-> doRun () em / opt / bitnami / apps / magento / htdocs / fornecedor / symfony / console / symfony /Component/Console/Application.php:126 Symfony \ Component \ Console \ Application-> run () em / opt / bitnami / apps / magento / htdocs / bin / magento: 23execute () em / opt / bitnami / apps / magento / htdocs / bin / magento: 23execute () em / opt / bitnami / apps / magento / htdocs / bin / magento: 23
setup: upgrade [- gerado por manutenção] [--magento-init-params = "..."]
Portanto, se alguém puder ajudar com onde procurar, isso seria ótimo
desde já, obrigado