バージョン選択

フォーラム

メニュー

オンライン状況

49 人のユーザが現在オンラインです。 (44 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 49
もっと...

サイト内検索

質問 > 管理機能 > 4.2.1 で プラグインがインストールできない。

管理機能

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
pengymagic
投稿日時: 2023/4/14 16:23
対応状況: −−−
新米
登録日: 2023/4/14
居住地:
投稿: 3
4.2.1 で プラグインがインストールできない。
▼テンプレート
[EC-CUBE] EC-CUBE4.2.1(新規インストール)
[レンタルサーバ] CORESERVERv2 CORE-X Linux
[PHP] 8.1.14 (https://penguin-colony.net/info.php
[データベース] MySQL(MariaDB 10.4)
[WEBサーバ] LiteSpeed V8.1 Cloudlinux 1.3
[ブラウザ] chrome
[導入プラグインの有無] 無し APIプラグインもインストールしていません。
[カスタマイズの有無] 無し
[現象] EC-CUBEのzipを解凍し、FileZillaでアップロード。その後、初期画面を入力し、管理画面から、「Auth0(ソーシャルログイン)プラグイン for EC-CUBE4.2」をインストールすると「システムエラーが発生しました。」と出る。

「コメント」
4.1.2の時は、このようなことがなかったので、問題が解決せず困っています。どうか、教えていただけないでしょうか。


【ログ】
**************** Auth0 ****************
<warning>A script named compile would override a Composer command and has been skipped</warning>
<warning>A script named auto-scripts would override a Composer command and has been skipped</warning>
<warning>A script named installer-scripts would override a Composer command and has been skipped</warning>
[59.2MiB/0.75s] ./composer.json has been updated
[61.7MiB/0.81s] Running composer update ec-cube/auth0 --with-dependencies
[64.3MiB/0.82s] Loading composer repositories with package information
[65.3MiB/1.48s] <warning>Dependency ec-cube/plugin-installer is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.</warning>
[65.4MiB/1.76s] Info from https://repo.packagist.org: #StandWithUkraine
[66.3MiB/1.94s] <warning>Dependency symfony/framework-bundle is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.</warning>
[66.3MiB/1.94s] <warning>Dependency symfony/dependency-injection is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.</warning>
[66.3MiB/1.94s] <warning>Dependency symfony/routing is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.</warning>
[66.3MiB/1.94s] <warning>Dependency symfony/http-foundation is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.</warning>
[66.3MiB/1.94s] <warning>Dependency symfony/phpunit-bridge is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.</warning>
[66.4MiB/1.94s] <warning>Dependency psr/cache is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.</warning>
[66.4MiB/1.94s] <warning>Dependency guzzlehttp/guzzle is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.</warning>
[66.4MiB/1.94s] <warning>Dependency psr/simple-cache is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.</warning>
[67.3MiB/2.04s] <warning>Dependency psr/http-message is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.</warning>
[68.0MiB/2.31s] <warning>Dependency symfony/event-dispatcher is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.</warning>
[68.0MiB/2.31s] <warning>Dependency psr/container is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.</warning>
[68.0MiB/2.31s] <warning>Dependency psr/log is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.</warning>
[67.6MiB/2.51s] Updating dependencies
[68.3MiB/2.53s] Nothing to modify in lock file
[68.2MiB/2.55s] Installing dependencies from lock file
[69.0MiB/2.55s] Package operations: 16 installs, 4 updates, 0 removals
[69.0MiB/2.55s] <warning>As there is no 'unzip' nor '7z' command installed zip files are being unpacked using the PHP zip extension.</warning>
[69.0MiB/2.55s] <warning>This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.</warning>
[69.0MiB/2.55s] <warning>Installing 'unzip' or '7z' (21.01+) may remediate them.</warning>

In PluginManager.php line 738:

php-http/discovery contains a Composer plugin which is blocked by your allo
w-plugins config. You may add it to the list if you consider it safe.
You can run "composer config --no-plugins allow-plugins.php-http/discovery
[true|false]" to enable it (true) or disable it explicitly and suppress thi
s exception (false)
See https://getcomposer.org/allow-plugins


require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]


{"success":false,"log":"\u003Cwarning\u003EA script named compile would override a Composer command and has been skipped\u003C\/warning\u003E\n\u003Cwarning\u003EA script named auto-scripts would override a Composer command and has been skipped\u003C\/warning\u003E\n\u003Cwarning\u003EA script named installer-scripts would override a Composer command and has been skipped\u003C\/warning\u003E\n[59.2MiB\/0.75s] .\/composer.json has been updated\n[61.7MiB\/0.81s] Running composer update ec-cube\/auth0 --with-dependencies\n[64.3MiB\/0.82s] Loading composer repositories with package information\n[65.3MiB\/1.48s] \u003Cwarning\u003EDependency ec-cube\/plugin-installer is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.\u003C\/warning\u003E\n[65.4MiB\/1.76s] Info from https:\/\/repo.packagist.org: #StandWithUkraine\n[66.3MiB\/1.94s] \u003Cwarning\u003EDependency symfony\/framework-bundle is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.\u003C\/warning\u003E\n[66.3MiB\/1.94s] \u003Cwarning\u003EDependency symfony\/dependency-injection is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.\u003C\/warning\u003E\n[66.3MiB\/1.94s] \u003Cwarning\u003EDependency symfony\/routing is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.\u003C\/warning\u003E\n[66.3MiB\/1.94s] \u003Cwarning\u003EDependency symfony\/http-foundation is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.\u003C\/warning\u003E\n[66.3MiB\/1.94s] \u003Cwarning\u003EDependency symfony\/phpunit-bridge is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.\u003C\/warning\u003E\n[66.4MiB\/1.94s] \u003Cwarning\u003EDependency psr\/cache is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.\u003C\/warning\u003E\n[66.4MiB\/1.94s] \u003Cwarning\u003EDependency guzzlehttp\/guzzle is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.\u003C\/warning\u003E\n[66.4MiB\/1.94s] \u003Cwarning\u003EDependency psr\/simple-cache is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.\u003C\/warning\u003E\n[67.3MiB\/2.04s] \u003Cwarning\u003EDependency psr\/http-message is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.\u003C\/warning\u003E\n[68.0MiB\/2.31s] \u003Cwarning\u003EDependency symfony\/event-dispatcher is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.\u003C\/warning\u003E\n[68.0MiB\/2.31s] \u003Cwarning\u003EDependency psr\/container is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.\u003C\/warning\u003E\n[68.0MiB\/2.31s] \u003Cwarning\u003EDependency psr\/log is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.\u003C\/warning\u003E\n[67.6MiB\/2.51s] Updating dependencies\n[68.3MiB\/2.53s] Nothing to modify in lock file\n[68.2MiB\/2.55s] Installing dependencies from lock file\n[69.0MiB\/2.55s] Package operations: 16 installs, 4 updates, 0 removals\n[69.0MiB\/2.55s] \u003Cwarning\u003EAs there is no \u0027unzip\u0027 nor \u00277z\u0027 command installed zip files are being unpacked using the PHP zip extension.\u003C\/warning\u003E\n[69.0MiB\/2.55s] \u003Cwarning\u003EThis may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.\u003C\/warning\u003E\n[69.0MiB\/2.55s] \u003Cwarning\u003EInstalling \u0027unzip\u0027 or \u00277z\u0027 (21.01+) may remediate them.\u003C\/warning\u003E\n\nIn PluginManager.php line 738:\n \n php-http\/discovery contains a Composer plugin which is blocked by your allo \n w-plugins config. You may add it to the list if you consider it safe. \n You can run \u0022composer config --no-plugins allow-plugins.php-http\/discovery \n [true|false]\u0022 to enable it (true) or disable it explicitly and suppress thi \n s exception (false) \n See https:\/\/getcomposer.org\/allow-plugins \n \n\nrequire [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [\u003Cpackages\u003E...]\n\n"}



【composer.json】

"config": {
"platform": {
"php": "8.1.14"
},
"preferred-install": {
"*": "dist"
},
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"composer/*": true,
"kylekatarnls/update-helper": true,
"ec-cube/plugin-installer": true,
"symfony/flex": true
}
},

mcontact
投稿日時: 2023/4/16 20:53
対応状況: −−−
登録日: 2022/1/22
居住地:
投稿: 1295
Re: 4.2.1 で プラグインがインストールできない。
EC-CUBEのログは確認できますか?
どのようなエラーが出ますでしょうか?
var/log/prod/site-yyyy-mm-dd.log に「システムエラーが発生しました」といった行がありましたらご提示ください。

またインストールログを見る限りですと、

> php-http/discovery contains a Composer plugin which is blocked by your allo
> w-plugins config. You may add it to the list if you consider it safe.
> You can run "composer config --no-plugins allow-plugins.php-http/discovery
> [true|false]" to enable it (true) or disable it explicitly and suppress thi
> s exception (false)
> See https://getcomposer.org/allow-plugins

と出ているので、Composer周りでエラーが出ている雰囲気かと思います。
Composer周りを何かいじっていたりしませんか?


----------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
EC-CUBEインテグレートパートナー【ゴールド】ランク
M&I Works
URL: https://miworks.biz/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

pengymagic
投稿日時: 2023/4/18 16:07
対応状況: −−−
新米
登録日: 2023/4/14
居住地:
投稿: 3
Re: 4.2.1 で プラグインがインストールできない。
ご回答ありがとうございます。logには「システムエラーが発生しました」という行はありませんでした。

Composer周りについては、なにもいじておらず、インストールしたてほやほやの管理画面で、どのプラグインもインストールできない状態です。
mcontact
投稿日時: 2023/4/18 17:26
対応状況: −−−
登録日: 2022/1/22
居住地:
投稿: 1295
Re: 4.2.1 で プラグインがインストールできない。
> Composer周りについては、なにもいじておらず、インストールしたてほやほやの管理画面で、どのプラグインもインストールできない状態です。

インストールしたてであるなら、


> [69.0MiB/2.55s] <warning>As there is no 'unzip' nor '7z' command installed zip files are being unpacked using the PHP zip extension.</warning>
> [69.0MiB/2.55s] <warning>This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.</warning>
> [69.0MiB/2.55s] <warning>Installing 'unzip' or '7z' (21.01+) may remediate them.</warning>

インストールログに記載されているとおり、unzipコマンドまたは7zコマンドがインストールされていない旨の警告が出力されています。
unzipまたは7zは使える様になっていますか?


----------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
EC-CUBEインテグレートパートナー【ゴールド】ランク
M&I Works
URL: https://miworks.biz/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

pengymagic
投稿日時: 2023/4/19 13:49
対応状況: −−−
新米
登録日: 2023/4/14
居住地:
投稿: 3
Re: 4.2.1 で プラグインがインストールできない。
ご回答ありがとうございます。

サーバーサポートに問い合わせまして

「unzipコマンド は 利用可能、7zコマンド は利用不可となります。」
「unzipコマンド すでにインストール済みでございます」

との回答を得ました。

7zコマンドが利用不可能の場合は、プラグインは使用できないのでしょうか?


どうか、よろしくお願いします。
mcontact
投稿日時: 2023/4/19 16:19
対応状況: −−−
登録日: 2022/1/22
居住地:
投稿: 1295
Re: 4.2.1 で プラグインがインストールできない。
御社のサーバ環境の設定等による問題かとは思いますが、詳しく調べないと解りませんのでEC-CUBEインテグレートパートナーなどにご相談する事をオススメ致します。


----------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
EC-CUBEインテグレートパートナー【ゴールド】ランク
M&I Works
URL: https://miworks.biz/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,873名です
総投稿数は110,000件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2313
5
umebius
2085
6
yuh
1819
7
h_tanaka
1646
8
red
1570
9
mcontact
1295
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.