プラグイン > バグ報告・利用に関する質問 > プラグインのインストール |
バグ報告・利用に関する質問
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
hiro_1118 |
投稿日時: 2025/1/17 17:52
対応状況: −−−
|
新米 ![]() ![]() 登録日: 2025/1/17 居住地: 投稿: 2 |
プラグインのインストール ▼テンプレート
[EC-CUBE] 4.3 [PHP] 8.22 [現象] はじめまして EC-CUBE2系から4系にバージョンアップをしているのですが EC-CUBE4.3のインストールは完了し、移行プラグインをインストールしようとすると下記のようなエラーログが表示されインストール出来ませんでした。 また別のプラグインをインストールしようとしても同様のエラーが発生します。 PHPの設定なのかな?・・・とは思っているのですがご助言よろしくお願いします。 **************** DataMigration42 **************** <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> [6.2MiB/3.92s] ./composer.json has been updated [7.6MiB/3.96s] Running composer update ec-cube/datamigration42 --with-dependencies [10.4MiB/3.97s] Loading composer repositories with package information [11.2MiB/8.03s] <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> [11.6MiB/8.44s] Updating dependencies [13.3MiB/8.46s] Your requirements could not be resolved to an installable set of packages. [13.3MiB/8.46s] 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. [13.3MiB/8.46s] <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> [12.0MiB/8.46s] You can also try re-running composer require with an explicit version constraint, e.g. "composer require ec-cube/DataMigration42:*" to figure out if any version is installable, or "composer require ec-cube/DataMigration42:^2.1" if you know which you need. [12.0MiB/8.46s] Installation failed, reverting ./composer.json and ./composer.lock to their original content. [12.0MiB/8.46s] Memory usage: 12MiB (peak: 13.68MiB), time: 8.46s {"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[6.2MiB\/3.92s] .\/composer.json has been updated\n[7.6MiB\/3.96s] Running composer update ec-cube\/datamigration42 --with-dependencies\n[10.4MiB\/3.97s] Loading composer repositories with package information\n[11.2MiB\/8.03s] \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[11.6MiB\/8.44s] Updating dependencies\n[13.3MiB\/8.46s] Your requirements could not be resolved to an installable set of packages.\n[13.3MiB\/8.46s] \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[13.3MiB\/8.46s] \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[12.0MiB\/8.46s] You can also try re-running composer require with an explicit version constraint, e.g. \u0022composer require ec-cube\/DataMigration42:*\u0022 to figure out if any version is installable, or \u0022composer require ec-cube\/DataMigration42:^2.1\u0022 if you know which you need.\n[12.0MiB\/8.46s] \nInstallation failed, reverting .\/composer.json and .\/composer.lock to their original content.\n[12.0MiB\/8.46s] Memory usage: 12MiB (peak: 13.68MiB), time: 8.46s\n"} |
h_tanaka |
投稿日時: 2025/1/17 18:01
対応状況: −−−
|
神 ![]() ![]() 登録日: 2016/7/22 居住地: 愛媛県 投稿: 1911 |
Re: プラグインのインストール Problem 1
- lcobucci/jwt 5.3.0 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension. と表示されているので、PHPにsodiumがインストールされていないためと思います。
|
tattsu |
投稿日時: 2025/1/17 18:06
対応状況: −−−
|
仙人 ![]() ![]() 登録日: 2023/12/23 居住地: 投稿: 387 |
Re: プラグインのインストール sodium拡張が入っていないためなので、APIプラグインをアンインストールすればエラー解消されませんか?
|
mcontact |
投稿日時: 2025/1/17 18:38
対応状況: −−−
|
神 ![]() ![]() 登録日: 2022/1/22 居住地: 投稿: 1593 |
Re: プラグインのインストール sodium拡張がサーバにインストールされていない為のエラーです。
下記に詳しい内容が公式ドキュメントに記載されています。 https://doc4.ec-cube.net/quickstart/trouble-shooting-for-plugin-install
|
hiro_1118 |
投稿日時: 2025/1/18 15:30
対応状況: 解決済
|
新米 ![]() ![]() 登録日: 2025/1/17 居住地: 投稿: 2 |
Re: プラグインのインストール エックスサーバーの簡単インストールを使ってインストールしていたのですが
一度アンインストールして、インストーラーをアップロードして再度チャレンジしてみると、インストールする事ができました ![]() ありがとうございました |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |