메뉴 건너뛰기

플러그인 설치시 COMPOSER_HOME 에러 발생

XE버전 3.0.5버전
우분투 18.04
php 7.3

 

~/.profile에 COMPOSER_HOME 환경변수 추가하고 source ~/.profile 명령도 실행한 후에 다시 php서버 구동시켜도 안됩니다.
환경변수를 설정하는 페이지가 있다고 나와있는데 settings/setting 에 들어가도 설정항목이 안보입니다.
 

<warning>
Information of the plugin that should be installed:</warning>
  xero_commerce - xpressengine-plugin/xero_commerce:1.2.0

<warning>Clears the cache before the operation run.</warning>
Cache cleared successfully. XE cache has also been cleared.


<warning>Composer update command is running.. It may take up to a few minutes.</warning>
 composer update --with-dependencies xpressengine-plugin/xero_commerce
<warning> Checking file permission: </warning>
 /workspace/xe3/storage/app/composer.plugins.json - passed
 /workspace/xe3/storage/app/operations.json - passed
 /workspace/xe3/composer.lock - passed
 /workspace/xe3/plugins/ - passed
 /workspace/xe3/vendor/ - passed
 /workspace/xe3/vendor/composer/installed.json - passed

<warning> Checking COMPOSER_HOME environment variable: </warning>
[2019-10-15 10:25:10] production.ERROR: COMPOSER_HOME environment variable must be set for composer to run correctly. set the variable to http://xe3-jxnzv.run.goorm.io/settings/setting {"exception":"[object] (Exception(code: 0): COMPOSER_HOME environment variable must be set for composer to run correctly. set the variable to http://xe3-jxnzv.run.goorm.io/settings/setting at /workspace/xe3/app/Console/Commands/ComposerRunTrait.php:111)
[stacktrace]
#0 /workspace/xe3/app/Console/Commands/ComposerRunTrait.php(78): App\\Console\\Commands\\ShouldOperation->checkComposerHome()
#1 /workspace/xe3/app/Console/Commands/PluginCommand.php(148): App\\Console\\Commands\\ShouldOperation->prepareComposer()
#2 /workspace/xe3/app/Console/Commands/PluginInstall.php(83): App\\Console\\Commands\\PluginCommand->composerUpdate(Array)
#3 [internal function]: App\\Console\\Commands\\PluginInstall->App\\Console\\Commands\\{closure}(Object(Xpressengine\\Foundation\\Operator))
#4 /workspace/xe3/app/Console/Commands/ShouldOperation.php(112): call_user_func(Object(Closure), Object(Xpressengine\\Foundation\\Operator))
#5 /workspace/xe3/app/Console/Commands/ShouldOperation.php(165): App\\Console\\Commands\\ShouldOperation->start('plugin', Object(Closure), Object(Closure))
#6 /workspace/xe3/app/Console/Commands/PluginInstall.php(90): App\\Console\\Commands\\ShouldOperation->startPlugin(Object(Closure), Object(Closure))
#7 [internal function]: App\\Console\\Commands\\PluginInstall->handle()
#8 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)
#9 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#10 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Xpressengine\\Foundation\\Application), Array, Object(Closure))
#11 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\\Container\\BoundMethod::call(Object(Xpressengine\\Foundation\\Application), Array, Array, NULL)
#12 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\\Container\\Container->call(Array)
#13 /workspace/xe3/vendor/symfony/console/Command/Command.php(255): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#14 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#15 /workspace/xe3/app/Console/Commands/ShouldOperation.php(82): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(App\\Console\\MultipleOutput))
#16 /workspace/xe3/app/Console/Commands/PluginCommand.php(75): App\\Console\\Commands\\ShouldOperation->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(App\\Console\\MultipleOutput))
#17 /workspace/xe3/vendor/symfony/console/Application.php(963): App\\Console\\Commands\\PluginCommand->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#18 /workspace/xe3/vendor/symfony/console/Application.php(254): Symfony\\Component\\Console\\Application->doRunCommand(Object(App\\Console\\Commands\\PluginInstall), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#19 /workspace/xe3/vendor/symfony/console/Application.php(147): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#20 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#21 /workspace/xe3/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#22 /workspace/xe3/app/Console/Kernel.php(126): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#23 /workspace/xe3/artisan(45): App\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#24 {main}
"} 

포럼의 다른 글