How to manually reset UPM or manually upgrade UPM?
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
目的
Sometimes you're unable to access the Add-Ons in the Confluence Administration page because the Universal Plugin Manager (UPM) is somehow corrupted.
Or, the default upgrade process for UPM doesn't work.
ソリューション
- Try to clear the Plugin Cache first to see if it works.
- Update all incompatible plugins to the compatible version and disable those that are totally incompatible.
- If you're unable to update or if it still fails, try the steps below
Only perform the steps below as a last resort after ensuring that
- The Server Base URL is correct and it's the same with the URL that you're accessing Confluence with
- The proxy (if there is) and firewall have been configured correctly. Check your server.xml and if you have proxy or SSL, ensure the settings are there.
To manually reset the UPM :
We would need to delete some entry from the database.
Please backup your Confluence Home Directory, Installation Directory and your database before proceeding. This is very important because we're performing some database manipulation which might break Confluence if it's done incorrectly
If possible, try this out on a cloned test instance first.
- Go to Confluence Administration >> Manage Add-Ons and take note of your UPM version.
- Confluence をシャットダウンします。
Run this SQL query on your Confluence database
delete from plugindata where PLUGINKEY='com.atlassian.upm.atlassian-universal-plugin-manager-plugin'
- Go to
<Confluence Installation Directory>/confluence/WEB-INF/atlassian-bundled-plugins
and search for allatlassian-universal-plugin-manager-plugin
and delete the JAR file. By default, it's only 1 JAR file. - Then, clear the plugin cache again by deleting the following folders.
- <confluence-home>/bundled-plugins
- <confluence-home>/plugins-cache
- <confluence-home>/plugins-osgi-cache
- <confluence-home>/plugins-temp
- <confluence-home>/bundled-plugins_language (This may, or may not exist)
- Download the same UPM version in step 1 and ensure that it is compatible with your Confluence version.
- Go to
<Confluence Installation Directory>/confluence/WEB-INF/atlassian-bundled-plugins
and copy this JAR file into the folder. - Start up Confluence
To manually upgrade the UPM :
Try to update the UPM via file upload if the default method is not working. Ensure that the UPM version downloaded is compatible with your Confluence version
If it's not working, ensure that The Server Base URL is configured correctly.
Only if it's still not working, we would need to delete some entry from the database.
Please backup your Confluence Home Directory, Installation Directory and your database before proceeding. This is very important because we're performing some database manipulation which might break Confluence if it's done incorrectly
If possible, try this out on a cloned test instance first.
- Confluence をシャットダウンします。
Run this SQL query on your Confluence database
delete from plugindata where PLUGINKEY='com.atlassian.upm.atlassian-universal-plugin-manager-plugin'
- Go to
<Confluence Installation Directory>/confluence/WEB-INF/atlassian-bundled-plugins
and search for allatlassian-universal-plugin-manager-plugin
and delete the JAR file. By default, it's only 1 JAR file. - Then, clear the plugin cache again by deleting the following folders.
- <confluence-home>/bundled-plugins
- <confluence-home>/plugins-cache
- <confluence-home>/plugins-osgi-cache
- <confluence-home>/plugins-temp
- <confluence-home>/bundled-plugins_language (This may, or may not exist)
- Download the UPM version that you wish to upgrade to and ensure that it is compatible with your Confluence version.
- Place the newly downloaded UPM JAR into <Confluence Installation Directory>/confluence/WEB-INF/atlassian-bundled-plugins where the previous JAR file was deleted
- Start up Confluence