私はこのエリアコードが設定されていないエラーを回避しようとしていて、ここで他のコードを参照していますが、追跡に問題があります。
2.0.7を2.1.0にアップグレードしようとしていて、実行するポイントに到達したとき:
php bin / magento setup:upgrade -vvv
私はこれをエラーとして受け取ります。
[Magento \ Framework \ Exception \ SessionException]エリアコードが設定されていません:セッションを開始する前にエリアコードを設定する必要があります。
例外トレース:()/opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Session/SessionManager.php:176 Magento \ Framework \ Session \ SessionManager-> start()at / opt / bitnami / apps / magento / htdocs / var / generation / Magento / Framework / Session / Generic / Interceptor.php:50 Magento \ Framework \ Session \ Generic \ Interceptor-> start()at / opt / bitnami / apps / magento / htdocs / vendor / magento /framework/Session/SessionManager.php:130 Magento \ Framework \ Session \ SessionManager-> __ construct()at /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Framework/Session/Generic/Interceptor.php: 14 Magento \ Framework \ Session \ Generic \ Interceptor-> __ construct()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory->/opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:89 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create()のcreateObject()/ 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-> resolveArgument()/ opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> _ resolveArguments()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager- > get()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument()at / 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->/opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71のcreate()/ opt / bitnami / apps / magento /のMagento \ Framework \ ObjectManager \ ObjectManager-> get() htdocs / vendor / magento / framework / ObjectManager / Factory / AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument()/ opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager /Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> _ resolveArguments()at / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory- > /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> _ resolveArguments()の> resolveArgument() /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->/opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126のget()/ opt / bitnami /のMagento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument() 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()at / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get()at /opt/bitnami/apps/magento/htdocs/app/code/J2t/Rewardpoints/Observer/ProcessSaveModel.php:21 J2t \ Rewardpoints \ Observer \ ProcessSaveModel-> execute()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:73 Magento \ Framework \ Event \ Invoker \ InvokerDefault- > _callObserverMethod()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:61 Magento \ Framework \ Event \ Invoker \ InvokerDefault-> dispatch()at / 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()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php:818 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> processAfterSaves()at / 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->/opt/bitnami/apps/magento/htdocs/setup/src/Magento/Setup/Model/Installer.php:779のMagento \ Setup \ Model \ Installer-> installSchema()の/ opt / bitnami / apps /にあるhandleDBSchemaData() 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()at /opt/bitnami/apps/magento/htdocs/vendor/symfony/console/Symfony/Component/Console/Application.php:195 symfony \ Component \ Console \ Application->doRun()/ opt / bitnami / apps / magento / /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Console/Cli.php:96 Magento \ Framework \ Console \ Cli-> doRun() htdocs / vendor / symfony / console / Symfony / Component / Console / Application.php:126 Symfony \ Component \ Console \ Application-> run()at / 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()at / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / Session / SessionManager.php:174 Magento \ Framework \ Session \ SessionManager-> start()at / opt / bitnami / apps / magento / htdocs / var / generation / Magento / Framework / Session /Generic/Interceptor.php:50 Magento \ Framework \ Session \ Generic \ Interceptor-> start()at /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->/opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> createObject()/ __opt / bitnami /の__construct() apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php:89 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create()at / 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-> resolveArgument()/opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> _ resolveArguments()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get()at / opt / bitnami / apps / magento /の/opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument() htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer->/opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create()/の_resolveArguments() 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-> resolveArgument()/ opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> _ resolveArguments()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager- > get()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument()at / 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->/opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71のcreate()/ opt / bitnami / apps / magento /のMagento \ Framework \ ObjectManager \ ObjectManager-> get() htdocs / vendor / magento / framework / ObjectManager / Factory / AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument()/ opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager /Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> _ resolveArguments()at / opt / bitnami / apps / magento / htdocs / vendor / magento / framework / ObjectManager / Factory / Dynamic / Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create()at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get()at /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()at / 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->/ opt / bitnami / apps / magento /の/opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Model/AbstractModel.php:800 Magento \ Framework \ Model \ AbstractModel-> afterSave()のdispatch() htdocs / vendor / magento / framework / Model / ResourceModel / Db / AbstractDb.php:818 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> processAfterSaves()at / opt / bitnami / apps / magento / htdocs / vendor / magento /framework/Model/ResourceModel/Db/AbstractDb.php:408 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> save()at / 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 \繰り返し->/opt/bitnami/apps/magento/htdocs/setup/src/Magento/Setup/Model/Installer.php:871にあるinstall()/ opt / bitnami / apps /にあるMagento \ Setup \ Model \ Installer-> handleDBSchemaData() 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()at / 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/ opt / bitnami / apps / magento / htdocs / bin / magento:23のrun()/ opt / bitnami / apps / magento / htdocs / bin / magento:23のrun()
setup:upgrade [--keep-generated] [--magento-init-params = "..."]
だから誰かがどこを見れば手伝ってくれるなら、これは素晴らしいでしょう
前もって感謝します