Missing buttons or the entire top bar with "$soyTemplateRendererHelper.getRenderedTemplateHtml" error message
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
問題
The top Confluence header bar is missing or some of the buttons can't be seen. Instead, appears an error message:
$soyTemplateRendererHelper.getRenderedTemplateHtml("com.atlassian.auiplugin:aui-experimental-soy-templates", "aui.page.header.soy", $templateParameters)
If you look closely, there's an error message with black font in the blue top bar.
診断
You may have undergone the following prior to this issue:
- Confluence のアップグレード
- Server system update
- Updating plugins which can trigger this bug: CONFSERVER-22390 - Plugin's velocity module is disabled by Confluence
原因
Some system plugins or modules related to the navbar are disabled.
Resolution 1 - REST API
To resolve this without downtime, follow the REST API workaround described on the bug: CONFSERVER-22390 - Plugin's velocity module is disabled by Confluence
Resolution 2 - Database (requires downtime)
Check if there's any system plugin that's disabled:
Check the state of your plugins in the database side:
select bandanavalue from bandana where bandanakey = 'plugin.manager.state.Map'
Check if one or all of the following lines exists:
<entry> <string>com.atlassian.confluence.extra.officeconnector:velocity.helper</string> <boolean>false</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-lookandfeel:siteLogoHelperContext</string> <boolean>false</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.soy:soyTemplateRendererHelperContext</string> <boolean>false</boolean> </entry>
This indicates that the entries above are disabled. The three entries refer to plugin modules. You may see all or just some of them disabled.
Use the guide from the documentation below to return the plugin back to enabled: