質問 > フロント機能 > 教えてください! プラグイン インストールエラー(4.3) |
フロント機能
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
m.masami |
投稿日時: 2025/3/31 9:20
対応状況: 解決済
|
常連 ![]() ![]() 登録日: 2020/4/14 居住地: 投稿: 44 |
教えてください! プラグイン インストールエラー(4.3) ▼テンプレート
[EC-CUBE] EC-CUBE4.3.0 [レンタルサーバ] XSERVER [OS] win11 [PHP] 8.2.22 [データベース] MySQL [導入プラグインの有無] 無し [カスタマイズの有無] 無し [現象] プラグインを購入(無料)し、一覧からインストールしたらエラーが出ました。 プラグイン:「お問い合わせ管理 for EC-CUBE4.2/4.3」「Editor.js ブログ統合(4.2/4.3系)」 エラーログをコピーしchatGPTに聞いてみたら、 ・PHPのext-sodium拡張が有効になっていない ・Composerのバージョン管理の問題 と出ました。 上記の対応はまだ試して無しです。 4.2では構築したことはあるのですが、今回4.3が初めてでインストールエラーも初めてです。 構築前の段階なので、再インストールした方がいいのか、何かいい方法があれば教えてください。よろしくお願いいたします。 |
mcontact |
投稿日時: 2025/3/31 9:24
対応状況: −−−
|
神 ![]() ![]() 登録日: 2022/1/22 居住地: 投稿: 1709 |
Re: 教えてください! プラグイン インストールエラー(4.3) 下記のURLに、PHP-sodium 拡張ライブラリがインストールされていない場合の手順が記載されていますので参考にしてみてください。
https://doc4.ec-cube.net/quickstart/trouble-shooting-for-plugin-install
|
m.masami |
投稿日時: 2025/3/31 9:46
対応状況: −−−
|
常連 ![]() ![]() 登録日: 2020/4/14 居住地: 投稿: 44 |
Re: 教えてください! プラグイン インストールエラー(4.3) ありがとうございます!
XSERVERのような共有ホスティング環境では、sodium拡張を手動でインストールするのは難しいことがあります。との事でしたので、XSERVERに問い合わせしてみます。 |
m.masami |
投稿日時: 2025/3/31 9:51
対応状況: −−−
|
常連 ![]() ![]() 登録日: 2020/4/14 居住地: 投稿: 44 |
Re: 教えてください! プラグイン インストールエラー(4.3) 回避方法での質問です。
「WebAPIプラグインをアンインストールする」 とありますが、現在インストールマークになっているので、インストールされてない状況かと思いますが、他のプラグインをインストールしようとするとエラーが出るのは何故でしょうか? |
mcontact |
投稿日時: 2025/3/31 11:20
対応状況: −−−
|
神 ![]() ![]() 登録日: 2022/1/22 居住地: 投稿: 1709 |
Re: 教えてください! プラグイン インストールエラー(4.3) プラグインインストール時に、インストールログがオーナーズストアに表示されると思います。
ログの内容を記載してみてください。
|
mcontact |
投稿日時: 2025/3/31 14:45
対応状況: −−−
|
神 ![]() ![]() 登録日: 2022/1/22 居住地: 投稿: 1709 |
Re: 教えてください! プラグイン インストールエラー(4.3)
基本EC-CUBE4.1以降では、EC-CUBEの初期インストール時に「Web APIプラグイン」を含めた10個程度の基本プラグインはインストールされているはずです。 ただしレンタルサーバ提供会社によっては、簡単インストールなどの名称でインストール方法をカスタマイズしている可能性はあります。
|
m.masami |
投稿日時: 2025/4/1 0:26
対応状況: −−−
|
常連 ![]() ![]() 登録日: 2020/4/14 居住地: 投稿: 44 |
Re: 教えてください! プラグイン インストールエラー(4.3) ご連絡ありがとうございます。
下記がエラーログになります。 ********************* システムエラーが発生しました。 ログを確認 **************** EditorJsBlog42 **************** <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> [17.4MiB/4.44s] ./composer.json has been updated [18.8MiB/4.48s] Running composer update ec-cube/editorjsblog42 --with-dependencies [21.9MiB/4.49s] Loading composer repositories with package information [22.9MiB/8.57s] <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> [23.2MiB/8.58s] Updating dependencies [25.1MiB/8.59s] Your requirements could not be resolved to an installable set of packages. [25.1MiB/8.59s] Problem 1 - lcobucci/jwt 5.3.0 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension. - league/oauth2-server-bundle v0.5.0 requires league/oauth2-server ^8.3 -> satisfiable by league/oauth2-server[8.5.4]. - ec-cube/api42 4.3.1 requires league/oauth2-server-bundle ^0.5 -> satisfiable by league/oauth2-server-bundle[v0.5.0]. - league/oauth2-server 8.5.4 requires lcobucci/jwt ^4.3 || ^5.0 -> satisfiable by lcobucci/jwt[5.3.0]. - ec-cube/api42 is locked to version 4.3.1 and an update of this package was not requested. To enable extensions, verify that they are enabled in your .ini files: - /etc/php-fpm/php82-php.ini - /opt/php-8.2.22/etc/php.d/apcu.ini - /opt/php-8.2.22/etc/php.d/bcmath.ini - /opt/php-8.2.22/etc/php.d/dba.ini - /opt/php-8.2.22/etc/php.d/dom.ini - /opt/php-8.2.22/etc/php.d/gd.ini - /opt/php-8.2.22/etc/php.d/imagick.ini - /opt/php-8.2.22/etc/php.d/imap.ini - /opt/php-8.2.22/etc/php.d/intl.ini - /opt/php-8.2.22/etc/php.d/ldap.ini - /opt/php-8.2.22/etc/php.d/mbstring.ini - /opt/php-8.2.22/etc/php.d/mcrypt.ini - /opt/php-8.2.22/etc/php.d/mysqli.ini - /opt/php-8.2.22/etc/php.d/pdo.ini - /opt/php-8.2.22/etc/php.d/pdo_mysql.ini - /opt/php-8.2.22/etc/php.d/pdo_pgsql.ini - /opt/php-8.2.22/etc/php.d/pdo_sqlite.ini - /opt/php-8.2.22/etc/php.d/pgsql.ini - /opt/php-8.2.22/etc/php.d/soap.ini - /opt/php-8.2.22/etc/php.d/xmlreader.ini - /opt/php-8.2.22/etc/php.d/xmlwriter.ini - /opt/php-8.2.22/etc/php.d/xsl.ini You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-sodium` to temporarily ignore these required extensions. [25.1MiB/8.59s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning> [24.1MiB/8.59s] You can also try re-running composer require with an explicit version constraint, e.g. "composer require ec-cube/EditorJsBlog42:*" to figure out if any version is installable, or "composer require ec-cube/EditorJsBlog42:^2.1" if you know which you need. [24.1MiB/8.59s] Installation failed, reverting ./composer.json and ./composer.lock to their original content. [24.1MiB/8.59s] Memory usage: 24.06MiB (peak: 25.24MiB), time: 8.59s {"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[17.4MiB\/4.44s] .\/composer.json has been updated\n[18.8MiB\/4.48s] Running composer update ec-cube\/editorjsblog42 --with-dependencies\n[21.9MiB\/4.49s] Loading composer repositories with package information\n[22.9MiB\/8.57s] \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[23.2MiB\/8.58s] Updating dependencies\n[25.1MiB\/8.59s] Your requirements could not be resolved to an installable set of packages.\n[25.1MiB\/8.59s] \n Problem 1\n - lcobucci\/jwt 5.3.0 requires ext-sodium * -\u003E it is missing from your system. Install or enable PHP\u0027s sodium extension.\n - league\/oauth2-server-bundle v0.5.0 requires league\/oauth2-server ^8.3 -\u003E satisfiable by league\/oauth2-server[8.5.4].\n - ec-cube\/api42 4.3.1 requires league\/oauth2-server-bundle ^0.5 -\u003E satisfiable by league\/oauth2-server-bundle[v0.5.0].\n - league\/oauth2-server 8.5.4 requires lcobucci\/jwt ^4.3 || ^5.0 -\u003E satisfiable by lcobucci\/jwt[5.3.0].\n - ec-cube\/api42 is locked to version 4.3.1 and an update of this package was not requested.\n\nTo enable extensions, verify that they are enabled in your .ini files:\n - \/etc\/php-fpm\/php82-php.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/apcu.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/bcmath.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/dba.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/dom.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/gd.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/imagick.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/imap.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/intl.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/ldap.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/mbstring.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/mcrypt.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/mysqli.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/pdo.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/pdo_mysql.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/pdo_pgsql.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/pdo_sqlite.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/pgsql.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/soap.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/xmlreader.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/xmlwriter.ini\n - \/opt\/php-8.2.22\/etc\/php.d\/xsl.ini\nYou can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.\nAlternatively, you can run Composer with `--ignore-platform-req=ext-sodium` to temporarily ignore these required extensions.\n[25.1MiB\/8.59s] \u003Cwarning\u003ERunning update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.\u003C\/warning\u003E\n[24.1MiB\/8.59s] You can also try re-running composer require with an explicit version constraint, e.g. \u0022composer require ec-cube\/EditorJsBlog42:*\u0022 to figure out if any version is installable, or \u0022composer require ec-cube\/EditorJsBlog42:^2.1\u0022 if you know which you need.\n[24.1MiB\/8.59s] \nInstallation failed, reverting .\/composer.json and .\/composer.lock to their original content.\n[24.1MiB\/8.59s] Memory usage: 24.06MiB (peak: 25.24MiB), time: 8.59s\n"} |
m.masami |
投稿日時: 2025/4/1 0:40
対応状況: −−−
|
常連 ![]() ![]() 登録日: 2020/4/14 居住地: 投稿: 44 |
Re: 教えてください! プラグイン インストールエラー(4.3) 追記となります。
XSERVERに「sodium拡張機能」について確認しました。 ↓↓↓ 誠に恐れ入りますが、「sodium拡張機能」につきましては 当社環境のPHPではご利用いただくことがかないません。 ↑↑↑ っと回答が来ました。 念のため、別のドメインで、XSERVERの簡単インストール「ECCUBE4.3」をインストールし、オーナーズストアから「Editor.js ブログ統合(4.2/4.3系)」を購入(無料)しインストールしましたが、同じエラーとなりインストールが出来ませんでした。 XSERVERの簡単インストールでは、「EC-CUBE Web API プラグイン(4.2/4.3系)」は、プラグイン一覧には表示されていますが、インストールはされていない状況になります。 「お問い合わせ管理 for EC-CUBE4.2/4.3」と「Editor.js ブログ統合(4.2/4.3系)」の二つしか試してませんが、他のプラグインも今後インストール出来ないとなると、ECCUBE4.2へダウングレードした方が良いでしょうか? 別のECCUBEで(サーバーはXSERVERです)ECCUBE4.2.2では、「Coupon Plugin for EC-CUBE42」や「会員ランクプラグイン」など様々なプラグインがインストール出来ていたのですが、今回のECCUBE4.3で初めてインストールが出来ない状況なので、かなり困っております。何とかご教示いただけますと幸いです。 |
tattsu |
投稿日時: 2025/4/1 8:48
対応状況: −−−
|
仙人 ![]() ![]() 登録日: 2023/12/23 居住地: 投稿: 417 |
Re: 教えてください! プラグイン インストールエラー(4.3) サーバーの簡単インストールの不具合だと思います。
ファイルマネージャやFTPで、インストールしたディレクトリにあるcomposer.jsonを開いて、 次の1行を削除するとエラーにならなくなるのではないかと思います。
|
m.masami |
投稿日時: 2025/4/1 14:35
対応状況: −−−
|
常連 ![]() ![]() 登録日: 2020/4/14 居住地: 投稿: 44 |
Re: 教えてください! プラグイン インストールエラー(4.3) ご連絡ありがとうございます!
試してみます! |
(1) 2 » |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |