简体   繁体   中英

Atlassian Confluence $soyTemplateRendererHelper.getRenderedTemplateHtml

I have an Atlassian Confluence, at the top of the page where the navigation bar should be I have the following string of text, which appears to be an error:

$soyTemplateRendererHelper.getRenderedTemplateHtml("com.atlassian.auiplugin:aui-experimental-soy-templates", "aui.page.header.soy", $templateParameters) 

After some investigation I have noticed that the plugin is not activated:

Confluence Soy Template Renderer for Velocity(soyTemplateRendererHelperContext)

I assume this is the problem, however due to it being a core module, I cannot do anything within the Confluence Admin GUI, could anypoint point me in the right direction of how I can activate this plugin?

I have searched high and low for documentation on this but cannot find anything.

We got this message when our disk was full. If the other method isn't working check if you have space left.

WARNING : The other answer by Jacob Clark suggesting a Bandana table update is dangerous as written and it should not be used.

To fix:

  • Navigate to Toolgear->Add-ons.
  • View the page source and fish the security token out of the HTML <head> . It should look like this: meta id="atlassian-token" content="b50c842e84b3963f828b7da729ecb1cd80e91505" name="atlassian-token"
  • Copy and paste the "content" part of the token into the atl_token query parameter into the URL below, then access the URL from your browser: http://YOURJIRASYSTEM/admin/enableplugin.action?moduleKey=com.atlassian.confluence.plugins.soy:soyTemplateRendererHelperContext&atl_token=b50c842e84b3963f828b7da729ecb1cd80e91505

Once you click on this, you'll be dumped into an old plugin administration page that is not correctly formatted...but the module will be enabled.

To verify that all is fixed, go back to Toolgear->Add-ons , select System from the dropdown, click on the Confluence Soy Template Support to expand it, and click on the + icon to verify that all of the modules are enabled.

我通过在confluencedb数据库上执行以下PostgreSQL查询以启用Confluence Soy Template Renderer,解决了此问题。

update BANDANA set BANDANAVALUE='<map><entry><string>com.atlassian.confluence.plugins.doctheme:velocityHelper</strong><boolean>true</boolean></entry><entry><string>com.atlassian.confluence.plugins.soy::soyTemplateRendererHelperContext</string><boolean>true</boolean></entry></map>'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM