プラグイン > その他 > データ移行プラグイン for EC-CUBE4.3 がインストールできません |
その他
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
dadance |
投稿日時: 2025/3/4 16:36
対応状況: −−−
|
新米 ![]() ![]() 登録日: 2025/3/4 居住地: 投稿: 10 |
データ移行プラグイン for EC-CUBE4.3 がインストールできません ▼テンプレート
[EC-CUBE] 4.2.0 新規インストール [レンタルサーバ] sakuraインターネット [PHP] 8.1.29 [データベース] MySQL 8.0.40 [WEBサーバ] Apache [ブラウザ] chrome [導入プラグインの有無] メルマガプラグイン のみ [カスタマイズの有無] なし ほぼEC-CUBEインストールしたままの状態 データも入れていません [現象] EC-CUBE2.12から4.2.0へ移行したいのですが、データ移行プラグイン for EC-CUBE4.3を購入しインストールしようとしましたが、エラーが出てインストールできません。composerのインストールも済ませており、composer about コマンドでバージョン2.8.6と表示されますが、ちゃんと走ってないのでしょうか? 下記のエラーが出るのですが原因がよくわかりません。ご教授願える方がいらっしゃいましたら宜しくお願いいたします。 **************** DataMigration43 **************** <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.3MiB/4.49s] Using version ^4.3 for ec-cube/datamigration43 [6.4MiB/4.49s] ./composer.json has been updated [7.8MiB/4.60s] Running composer update ec-cube/datamigration43 --with-dependencies [10.8MiB/4.63s] Loading composer repositories with package information [11.8MiB/8.83s] <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> [12.2MiB/8.98s] Updating dependencies [14.1MiB/9.02s] Your requirements could not be resolved to an installable set of packages. [14.1MiB/9.02s] Problem 1 - lcobucci/jwt 4.2.1 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension. - league/oauth2-server-bundle v0.3.0 requires league/oauth2-server ^8.3 -> satisfiable by league/oauth2-server[8.3.5]. - ec-cube/api42 4.2.3 requires league/oauth2-server-bundle ^0.3 -> satisfiable by league/oauth2-server-bundle[v0.3.0]. - league/oauth2-server 8.3.5 requires lcobucci/jwt ^3.4.6 || ^4.0.4 -> satisfiable by lcobucci/jwt[4.2.1]. - ec-cube/api42 is locked to version 4.2.3 and an update of this package was not requested. To enable extensions, verify that they are enabled in your .ini files: - /usr/local/php/8.1/etc/php.ini - /usr/local/php/8.1/etc/conf.d/apcu.ini - /usr/local/php/8.1/etc/conf.d/imagick.ini - /usr/local/php/8.1/etc/conf.d/mcrypt.ini - /usr/local/php/8.1/etc/conf.d/opcache.ini - /home/***/.php.config/php.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. [14.1MiB/9.02s] <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.4MiB/9.02s] You can also try re-running composer require with an explicit version constraint, e.g. "composer require ec-cube/DataMigration43:*" to figure out if any version is installable, or "composer require ec-cube/DataMigration43:^2.1" if you know which you need. [12.4MiB/9.02s] Installation failed, reverting ./composer.json and ./composer.lock to their original content. [12.4MiB/9.02s] Memory usage: 12.38MiB (peak: 14.47MiB), time: 9.02s {"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.3MiB\/4.49s] Using version ^4.3 for ec-cube\/datamigration43\n[6.4MiB\/4.49s] .\/composer.json has been updated\n[7.8MiB\/4.60s] Running composer update ec-cube\/datamigration43 --with-dependencies\n[10.8MiB\/4.63s] Loading composer repositories with package information\n[11.8MiB\/8.83s] \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[12.2MiB\/8.98s] Updating dependencies\n[14.1MiB\/9.02s] Your requirements could not be resolved to an installable set of packages.\n[14.1MiB\/9.02s] \n Problem 1\n - lcobucci\/jwt 4.2.1 requires ext-sodium * -\u003E it is missing from your system. Install or enable PHP\u0027s sodium extension.\n - league\/oauth2-server-bundle v0.3.0 requires league\/oauth2-server ^8.3 -\u003E satisfiable by league\/oauth2-server[8.3.5].\n - ec-cube\/api42 4.2.3 requires league\/oauth2-server-bundle ^0.3 -\u003E satisfiable by league\/oauth2-server-bundle[v0.3.0].\n - league\/oauth2-server 8.3.5 requires lcobucci\/jwt ^3.4.6 || ^4.0.4 -\u003E satisfiable by lcobucci\/jwt[4.2.1].\n - ec-cube\/api42 is locked to version 4.2.3 and an update of this package was not requested.\n\nTo enable extensions, verify that they are enabled in your .ini files:\n - \/usr\/local\/php\/8.1\/etc\/php.ini\n - \/usr\/local\/php\/8.1\/etc\/conf.d\/apcu.ini\n - \/usr\/local\/php\/8.1\/etc\/conf.d\/imagick.ini\n - \/usr\/local\/php\/8.1\/etc\/conf.d\/mcrypt.ini\n - \/usr\/local\/php\/8.1\/etc\/conf.d\/opcache.ini\n - \/home\/***\/.php.config\/php.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[14.1MiB\/9.02s] \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.4MiB\/9.02s] You can also try re-running composer require with an explicit version constraint, e.g. \u0022composer require ec-cube\/DataMigration43:*\u0022 to figure out if any version is installable, or \u0022composer require ec-cube\/DataMigration43:^2.1\u0022 if you know which you need.\n[12.4MiB\/9.02s] \nInstallation failed, reverting .\/composer.json and .\/composer.lock to their original content.\n[12.4MiB\/9.02s] Memory usage: 12.38MiB (peak: 14.47MiB), time: 9.02s\n"} |
mcontact |
投稿日時: 2025/3/4 17:54
対応状況: −−−
|
神 ![]() ![]() 登録日: 2022/1/22 居住地: 投稿: 1684 |
Re: データ移行プラグイン for EC-CUBE4.3 がインストールできません
とエラーメッセージされています。 公式ドキュメントにsodium拡張ライブラリのエラー時の対応が記載されています。 https://doc4.ec-cube.net/quickstart/trouble-shooting-for-plugin-install
|
dadance |
投稿日時: 2025/3/4 20:34
対応状況: −−−
|
新米 ![]() ![]() 登録日: 2025/3/4 居住地: 投稿: 10 |
Re: データ移行プラグイン for EC-CUBE4.3 がインストールできません 早速の回答ありがとうございます。
プラグイン一覧のwebapiプラグインをアンイストール ↓ やはり同じエラー ↓ webapiプラグイン再インストール(これはアンインストールせず) ↓ データ移行プラグインのインストール成功 という流れで無事インストールできました。 ありがとうございました。 |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |