Я пытался обойти этот Код города, не устанавливая ошибку и есть ссылки на другие здесь, но есть проблема отслеживания этого.
я пытался обновить 2.0.7 до 2.1.0 и когда я дошел до точки, где я бегу:
Настройка php bin / magento: обновить -vvv
Я получаю это как ошибку.
[Magento \ Framework \ Exception \ SessionException] Код города не задан: Код города должен быть установлен перед началом сеанса.
Трассировка исключений: () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Session/SessionManager.php:176 Magento \ Framework \ Session \ SessionManager-> start () в / opt / bitnami / apps / magento / htdocs / var / generation / Magento / Framework / Session / Generic / Interceptor.php: 50 Magento \ Framework \ Session \ Generic \ Interceptor-> start () в / opt / bitnami / apps / magento / htdocs / vendor / magento /framework/Session/SessionManager.php:130 Magento \ Framework \ Session \ SessionManager -> __ construct () в /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Framework/Session/Generic/Interceptor.php: 14 Magento \ Framework \ Session \ Generic \ Interceptor -> __ construct () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory->createObject () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:89 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () в / opt / bitnami / apps / magento / htdocs / vendor / magento /framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Dynamic / Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager- > get () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () в / opt / bitnami /apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer->create () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / AbstractFactory.php: 126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager /Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory- > resolArgument () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager->get () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () в / opt / bitnami / apps / magento / htdocs /vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () в /opt/bitnami/apps/magento/htdocs/app/code/J2t/Rewardpoints/Observer/ProcessSaveModel.php:21 J2t \ Rewardpoints \ Observer \ ProcessSaveModel-> execute () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:73 Magento \ Framework \ Event \ Invoker \ InvokerDefault- > _callObserverMethod () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:61 Magento \ Framework \ Event \ Invoker \ InvokerDefault-> dispatch () в / opt / bitnam /apps/magento/htdocs/vendor/magento/framework/Event/Manager.php:66 Magento \ Framework \ Event \ Manager-> dispatch () в / opt / bitnami / apps / magento / htdocs / var / generation / Magento / Framework / Event / Manager / Proxy.php: 95 Magento \ Framework \ Event \ Manager \ Proxy-> dispatch () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Model/AbstractModel.php:800 Magento \ Framework \ Model \ AbstractModel->afterSave () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php:818 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> processAfterSaves () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / Model / ResourceModel / Db / AbstractDb.php: 408 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> save () в / opt / bitnami / apps /magento/htdocs/vendor/magento/framework/Model/AbstractModel.php:631 Magento \ Framework \ Model \ AbstractModel-> save () в / opt / bitnami / apps / magento / htdocs / vendor / magento / module-indexer / Setup / Recurring.php: 108 Magento \ Indexer \ Setup \ Recurring-> install () в /opt/bitnami/apps/magento/htdocs/setup/src/Magento/Setup/Model/Installer.php:871 Magento \ Setup \ Модель \ Installer->handleDBSchemaData () в /opt/bitnami/apps/magento/htdocs/setup/src/Magento/Setup/Model/Installer.php:779 Magento \ Setup \ Model \ Installer-> installSchema () в / opt / bitnami / apps / magento / htdocs / setup / src / Magento / Setup / Console / Command / UpgradeCommand.php: 89 Magento \ Setup \ Console \ Command \ UpgradeCommand-> execute () в / opt / bitnami / apps / magento / htdocs / vendor / symfony /console/Symfony/Component/Console/Command/Command.php:257 Symfony \ Component \ Console \ Command \ Command-> run () в / opt / bitnami / apps / magento / htdocs / vendor / symfony / console / Symfony / Component / Console / Application.php: 874 Symfony \ Component \ Console \ Application-> doRunCommand () в /opt/bitnami/apps/magento/htdocs/vendor/symfony/console/Symfony/Component/Console/Application.php:195 Symfony \ Component \ Console \ Application->doRun () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Console/Cli.php:96 Magento \ Framework \ Console \ Cli-> doRun () в / opt / bitnami / apps / magento / htdocs / vendor / symfony / console / Symfony / Component / Console / Application.php: 126 Symfony \ Component \ Console \ Application-> run () в / opt / bitnami / apps / magento / htdocs / bin / magento: 23
[Magento \ Framework \ Exception \ LocalizedException] Код города не установлен
Трассировка исключений: () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/State.php:139 Magento \ Framework \ App \ State-> getAreaCode () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / Session / SessionManager.php: 174 Magento \ Framework \ Session \ SessionManager-> start () в / opt / bitnami / apps / magento / htdocs / var / generation / Magento / Framework / Session /Generic/Interceptor.php:50 Magento \ Framework \ Session \ Generic \ Interceptor-> start () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Session/SessionManager.php:130 Magento \ Framework \ Session \ SessionManager -> __ construct () в /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Framework/Session/Generic/Interceptor.php:14 Magento \ Framework \ Session \ Generic \ Interceptor->__construct () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> createObject () в / opt / bitnami apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 89 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () в / opt / bitnami / apps / magento / htdocs /vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / AbstractFactory. php: 126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer->_resolveArguments () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () в / opt / bitnami / apps / magento / htdocs / vendor / magento /framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Dynamic / Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager- > get () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () в / opt / bitnami /apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer->create () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / AbstractFactory.php: 126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager /Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () в /opt/bitnami/apps/magento/htdocs/app/code/J2t/Rewardpoints/Observer/ProcessSaveModel.php:21 J2t \ Rewardpoints \ Observer \ ProcessSaveModel-> execute () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:73 Magento \ Framework \ Event \ Invoker \ InvokerDefault -> _ callObserverMethod () в / opt / bitnami / apps /magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:61 Magento \ Framework \ Event \ Invoker \ InvokerDefault-> dispatch () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / Event / Manager.php: 66 Magento \ Framework \ Event \ Manager-> dispatch () по адресу /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Framework/Event/Manager/Proxy.php:95 Magento \ Framework \ Event \ Manager \ Proxy->dispatch () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Model/AbstractModel.php:800 Magento \ Framework \ Model \ AbstractModel-> afterSave () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / Model / ResourceModel / Db / AbstractDb.php: 818 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> processAfterSaves () в / opt / bitnami / apps / magento / htdocs / vendor / magento /framework/Model/ResourceModel/Db/AbstractDb.php:408 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> save () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / Model / AbstractModel.php: 631 Magento \ Framework \ Model \ AbstractModel-> save () в /opt/bitnami/apps/magento/htdocs/vendor/magento/module-indexer/Setup/Recurring.php:108 Magento \ Indexer \ Setup \ Recurring->install () в /opt/bitnami/apps/magento/htdocs/setup/src/Magento/Setup/Model/Installer.php:871 Magento \ Setup \ Model \ Installer-> handleDBSchemaData () в / opt / bitnami / apps / magento / htdocs / setup / src / Magento / Setup / Model / Installer.php: 779 Magento \ Setup \ Model \ Installer-> installSchema () в / opt / bitnami / apps / magento / htdocs / setup / src / Magento / Setup /Console/Command/UpgradeCommand.php:89 Magento \ Setup \ Console \ Command \ UpgradeCommand-> execute () в / opt / bitnami / apps / magento / htdocs / vendor / symfony / console / Symfony / Component / Console / Command / Command.php: 257 Symfony \ Component \ Console \ Command \ Command-> run () в /opt/bitnami/apps/magento/htdocs/vendor/symfony/console/Symfony/Component/Console/Application.php:874 Symfony \ Компонент \ Console \ Application->doRunCommand () в /opt/bitnami/apps/magento/htdocs/vendor/symfony/console/Symfony/Component/Console/Application.php:195 Symfony \ Component \ Console \ Application-> doRun () в / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / Console / Cli.php: 96 Magento \ Framework \ Console \ Cli-> doRun () в / opt / bitnami / apps / magento / htdocs / vendor / symfony / console / Symfony /Component/Console/Application.php:126 Symfony \ Component \ Console \ Application-> run () в / opt / bitnami / apps / magento / htdocs / bin / magento: 23run () в / opt / bitnami / apps / magento / htdocs / bin / magento: 23run () в / opt / bitnami / apps / magento / htdocs / bin / magento: 23
setup: upgrade [--keep-генерируется] [--magento-init-params = "..."]
Так что, если кто-то может помочь с тем, где искать, это было бы здорово
заранее спасибо