バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > その他 > データ移行プラグイン(4.2系)のインストールの仕方を教えてください

その他

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
NIRT4GScag
投稿日時: 2022/10/20 16:42
対応状況: 解決済
新米
登録日: 2022/10/20
居住地:
投稿: 8
データ移行プラグイン(4.2系)のインストールの仕方を教えてください
お世話になります。
下記のような状況で、データ移行プラグイン(4.2系)がインストールできません。

プレーンなeccubeにプラグインを入れたいだけですのでなにかしょうもない間違い、見落としをしているだけだとは思うのですが、ご指摘、ご教示いただければ幸いです。

よろしくお願いします。

[EC-CUBE]
4.2.0 https://www.ec-cube.net/download/ から落としたzipファイルを使用して新規インストール

[レンタルサーバ]
colorfulBox
https://www.colorfulbox.jp/price/ のBOX5

[OS]
Linux(CloudLinux)
参考 https://www.colorfulbox.jp/spec/

[PHP]
8.0

[データベース]
MariaDB 10.3.36

[WEBサーバ]
LiteSpeed 5

[ブラウザ]
Chrome 106.0.5249.119(Official Build) (64 ビット)

[導入プラグインの有無]
データ移行プラグイン(4.2系)
https://www.ec-cube.net/products/detail.php?product_id=2480

[カスタマイズの有無]
なし

[現象]
・eccube オーナーズストア より データ移行プラグイン(4.2系)を購入、対象サイトに紐づけ
・公式サイトからzipファイルをダウンロード
・zipのままサーバのドキュメントルートにアップロード
・ドキュメントルート内で解凍、出てきたeccubeフォルダから内容物をドキュメントルートに移動
・サイトにアクセスし、店舗名やメールアドレス等を入力
・デフォルトのプラグインの有効化はしない
・ログイン画面に移動、ログイン
・認証キーの入力
・プラグイン一覧からプラグイン(4.2系)をインストール
・「インストール確認」「システムエラーが発生しました。」
となり下記の様な感じのエラーが出ます。
以上です。

どのようにするとインストールできますでしょうか。
よろしくお願いします。


ログを確認
**************** 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>
[20.1MiB/0.92s] Using version ^4.2 for ec-cube/datamigration42
[20.1MiB/0.93s] ./composer.json has been updated
[22.3MiB/0.98s] Running composer update ec-cube/datamigration42 --with-dependencies
[22.6MiB/0.99s] Loading composer repositories with package information
[23.4MiB/1.78s] <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>
[24.0MiB/2.21s] Updating dependencies
[26.4MiB/2.22s] Your requirements could not be resolved to an installable set of packages.
[26.4MiB/2.22s]
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:
- /opt/cpanel/ea-php80/root/etc/php.ini
- /opt/cpanel/ea-php80/root/etc/php.d/10-opcache.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-bcmath.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-bz2.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-ctype.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-curl.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-dba.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-dom.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-enchant.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-exif.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-fileinfo.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-ftp.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-gd.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-gettext.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-iconv.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-imap.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-intl.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-ldap.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-mbstring.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-mysqlnd.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-odbc.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-pdo.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-pgsql.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-phar.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-posix.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-pspell.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-shmop.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-simplexml.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-soap.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-sockets.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-sqlite3.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-sysvmsg.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-sysvsem.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-sysvshm.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-tokenizer.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-xml.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-xmlwriter.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-xsl.ini
- /opt/cpanel/ea-php80/root/etc/php.d/20-zip.ini
- /opt/cpanel/ea-php80/root/etc/php.d/30-mysqli.ini
- /opt/cpanel/ea-php80/root/etc/php.d/30-pdo_mysql.ini
- /opt/cpanel/ea-php80/root/etc/php.d/30-pdo_odbc.ini
- /opt/cpanel/ea-php80/root/etc/php.d/30-pdo_pgsql.ini
- /opt/cpanel/ea-php80/root/etc/php.d/30-pdo_sqlite.ini
- /opt/cpanel/ea-php80/root/etc/php.d/30-xmlreader.ini
- /opt/cpanel/ea-php80/root/etc/php.d/50-redis.ini
- /opt/cpanel/ea-php80/root/etc/php.d/i360.ini
- /opt/cpanel/ea-php80/root/etc/php.d/zzzzzzz-pecl.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.
[26.4MiB/2.22s] <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.7MiB/2.22s] 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.
[24.7MiB/2.22s]
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
[24.7MiB/2.22s] Memory usage: 24.7MiB (peak: 26.5MiB), time: 2.22s

{"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[20.1MiB\/0.92s] Using version ^4.2 for ec-cube\/datamigration42\n[20.1MiB\/0.93s] .\/composer.json has been updated\n[22.3MiB\/0.98s] Running composer update ec-cube\/datamigration42 --with-dependencies\n[22.6MiB\/0.99s] Loading composer repositories with package information\n[23.4MiB\/1.78s] \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[24.0MiB\/2.21s] Updating dependencies\n[26.4MiB\/2.22s] Your requirements could not be resolved to an installable set of packages.\n[26.4MiB\/2.22s] \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 - \/opt\/cpanel\/ea-php80\/root\/etc\/php.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/10-opcache.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-bcmath.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-bz2.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-ctype.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-curl.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-dba.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-dom.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-enchant.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-exif.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-fileinfo.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-ftp.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-gd.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-gettext.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-iconv.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-imap.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-intl.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-ldap.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-mbstring.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-mysqlnd.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-odbc.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-pdo.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-pgsql.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-phar.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-posix.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-pspell.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-shmop.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-simplexml.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-soap.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-sockets.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-sqlite3.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-sysvmsg.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-sysvsem.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-sysvshm.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-tokenizer.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-xml.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-xmlwriter.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-xsl.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/20-zip.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/30-mysqli.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/30-pdo_mysql.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/30-pdo_odbc.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/30-pdo_pgsql.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/30-pdo_sqlite.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/30-xmlreader.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/50-redis.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/i360.ini\n - \/opt\/cpanel\/ea-php80\/root\/etc\/php.d\/zzzzzzz-pecl.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[26.4MiB\/2.22s] \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.7MiB\/2.22s] 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[24.7MiB\/2.22s] \nInstallation failed, reverting .\/composer.json and .\/composer.lock to their original content.\n[24.7MiB\/2.22s] Memory usage: 24.7MiB (peak: 26.5MiB), time: 2.22s\n"}
mcontact
投稿日時: 2022/10/20 19:49
対応状況: −−−
登録日: 2022/1/22
居住地:
投稿: 1290
Re: データ移行プラグイン(4.2系)のインストールの仕方を教えてください
引用:

NIRT4GScagさんは書きました:
[WEBサーバ]
LiteSpeed 5


WebサーバがLiteSpeed の様ですが、EC-CUBE4.2は下記のサーバ環境ですが、Apacheを使っていないための影響ではないでしょうか?

https://doc4.ec-cube.net/quickstart/requirement
NIRT4GScag
投稿日時: 2022/10/21 9:04
対応状況: −−−
新米
登録日: 2022/10/20
居住地:
投稿: 8
Re: データ移行プラグイン(4.2系)のインストールの仕方を教えてください
mcontactさん

ご確認ありがとうございます。
apacheの環境で試して、またご報告いたします。



引用:

mcontactさんは書きました:
引用:

NIRT4GScagさんは書きました:
[WEBサーバ]
LiteSpeed 5


WebサーバがLiteSpeed の様ですが、EC-CUBE4.2は下記のサーバ環境ですが、Apacheを使っていないための影響ではないでしょうか?

https://doc4.ec-cube.net/quickstart/requirement
nanasess
投稿日時: 2022/10/21 9:17
対応状況: −−−
登録日: 2006/9/9
居住地:
投稿: 2313
Re: データ移行プラグイン(4.2系)のインストールの仕方を教えてください
sodium extension がインストールされていない環境のようです。
通常は、PHPに標準で入っています。
サーバー管理者の方へお問い合わせください。
NIRT4GScag
投稿日時: 2022/10/21 12:06
対応状況: −−−
新米
登録日: 2022/10/20
居住地:
投稿: 8
Re: データ移行プラグイン(4.2系)のインストールの仕方を教えてください
mcontactさん

インストーラの備え付けのdockerの設定を使ってapache環境で試してみまして、データ移行プラグイン(4.2系)がインストールできました。
ありがとうございます。
NIRT4GScag
投稿日時: 2022/10/21 12:07
対応状況: −−−
新米
登録日: 2022/10/20
居住地:
投稿: 8
Re: データ移行プラグイン(4.2系)のインストールの仕方を教えてください
nanasessさん

ご確認ありがとうございます。

ご指摘の通り、apacheかどうか、というか sodium extension があるとかないとかそういう感じな気もします。

現在詰まっている colorfulBox は開発用で想定していて、本番は別のvpsでの稼働を予定しているので、そちらはapache 且つ sodium extension が動く状態で使おうと思います。

laravelとかで問題になったことがなかったのでまったく盲点でした。
管理者に相談してみます。

ありがとうございました。
NIRT4GScag
投稿日時: 2022/11/1 9:59
対応状況: −−−
新米
登録日: 2022/10/20
居住地:
投稿: 8
Re: データ移行プラグイン(4.2系)のインストールの仕方を教えてください
その後どうなったかだけ記載しておきます。

・colorfulBox…sodium導入予定なし
・xserver(普通のレンタルのほう)…sodium導入予定なし

とのことで両サーバでは データ移行プラグイン(4.2系) は使えなさそうです。
colorfulBoxと似たようなところはあらかたsodiumなかったので同じような感じになるのではないでしょうか。特に問い合わせなどはしてないですが。

引き続きデータ移行プラグイン(4.2系) が使えるところを探すか、手作業でちまちま移す(とんでもない量あるけど)か、など考えます。

lcobucci/jwt や sodium が他のプラグインで必要とされないことを祈ります。
red
投稿日時: 2022/11/1 10:44
対応状況: −−−
登録日: 2010/2/15
居住地: 東京都
投稿: 1570
Re: データ移行プラグイン(4.2系)のインストールの仕方を教えてください
sodiumを必要としているのはデータ移行プラグインではないと思います。


----------------
EC-CUBEのカスタマイズ、トラブル解決承ります
お気軽にお問い合わせ下さい
https://www.ec-cube.net/integrate/partner/partner.php?partner_id=690

NIRT4GScag
投稿日時: 2022/11/1 13:27
対応状況: −−−
新米
登録日: 2022/10/20
居住地:
投稿: 8
Re: データ移行プラグイン(4.2系)のインストールの仕方を教えてください
red 様

ありがとうございます。
nanasess
投稿日時: 2022/11/2 10:49
対応状況: −−−
登録日: 2006/9/9
居住地:
投稿: 2313
Re: データ移行プラグイン(4.2系)のインストールの仕方を教えてください
API プラグインが依存している lcobucci/jwt が ext-sodium を要求している模様です。
APIプラグインを使用しないのであれば、削除することでデータ移行プラグインも使用できると思います
(1) 2 »
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

総メンバー数は88,817名です
総投稿数は109,982件です

投稿数ランキング

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
1290
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.