LiferayポータルCEの更新¶
LiferayポータルCEの修正は、新しいポータルCE GAリリースとして提供されます。 たとえば、CE 7.2 GA2はCE 7.2 GA1に存在するバグを修正します。 Liferay Portal CE用のパッチツールはありません。 次に、Portal CEインストールを新しいGAリリースに更新する手順を示します。
元に戻す場合に備えて、DXPシステム バックアップします。
アプリケーションサーバーをシャットダウンします。
新しい場所またはソース管理ブランチに新しいPortal CE GAリリースをインストールします。
アプリ、プラグイン、モジュール、作成したファイルやカスタマイズしたファイル(例えば、
portal-ext.properties
、web.xml
、OSGi.config
ファイルなど)を新しい場所/ブランチに移行します。DXPキャッシュをクリーンアップします。
[Liferay Home]/osgi/state
フォルダーを削除します。rm -rf [Liferay Home]/osgi/state
[Liferay Home]/work
フォルダーを空にします。rm -rf work/*
アプリケーションサーバーのキャッシュを削除します。 キャッシュの場所については、アプリケーションベンダーのドキュメントを参照してください。
警告
Do not delete these two files:
patching-backup-deps.zip
andpatching-backup.zip
. The Patching Tool creates them in the DXP application'sWEB-INF
folder. The Patching Tool examines them to determine previous Fix Pack files to revert before installing a new Fix Pack.注釈
If a module's changes are only internal, the changes are invisible to the OSGi framework, the module stays installed, and the module's state persists. Clearing the OSGi bundle state information before the next DXP startup ensures that such modules reinstall with the appropriate state.
アプリケーションサーバーを再起動します。
upgrade:check
Gogo Shellコマンド を実行して、データがアップグレードされていないすべてのモジュールをリストします。これらのモジュールのデータをアップグレードするには、 Gogo Shellコマンド を使用します。
Portal CEインストールを新しいGAリリースに更新しました\!