Error rendering macro 'blog-posts'

Xaver Dubler November 11, 2012

When trying to upgrade to the latest version of confluence, something went wrong and we had to restore from backup.

We are now back on the old version (4.2), but are seeing the following error message on pages where we used the blog-post macro:

Error rendering macro 'blog-posts' : com.atlassian.renderer.v2.macro.MacroException

This is probably due to the fact that we had some issues when trying to restore from backup.

The file level based backup was from right before the failed upgrade.

However, the DB backup was a few days old. So all the links pointing to content that was created between the DB backup and the upgrade, pointed to non-existing content.

My guess is, that this is what makes the the blog macro fail.

Is there a way to clean-up either the database or something in the file system that the macro works again?

thanks

Xaver

2 answers

1 accepted

0 votes
Answer accepted
Xaver Dubler November 13, 2012

Rebuilding the Search Index fixed the problem

0 votes
JohnA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 11, 2012

Hi Xaver,

The most likely cause of this issue is that your plugin caches have been corrupted, so I would like to ask you to try performing the steps outlined below:

1. Shutdown Confluence
2. Delete the following directories
<confluence-home>/bundled-plugins folder
<confluence-home>/plugin-cache folder
<confluence-home>/plugins-osgi-cache folder
<confluence-home>/plugins-temp folder
3. Restart Confluence

The directories and their contents are only caches, so they are repopulated at startup, but clearing the caches is the first thing to try for most plugin issues.

All the best,
John

Xaver Dubler November 12, 2012

Hi John

thanks for the tip. We tried this, and it didn't work.

Here's the excerpt from the log, when someone is trying to access a page with the blog macro:

2012-11-12 22:56:19,064 ERROR [http-8092-3] [xhtml.view.macro.ViewMacroMarshaller] marshal Exception executing macro: blog-posts, with message: com.atlassian.renderer.v2.macro.MacroException

-- url: /display/UPCE2E/Home | page: 3342414 | userName: abcde | referer: https://wiki.abc.de/display/UPCE2E/Development+Team | action: viewpage

2012-11-12 22:59:21,111 ERROR [http-8092-1] [xhtml.view.macro.ViewMacroMarshaller] marshal Exception executing macro: blog-posts, with message: com.atlassian.renderer.v2.macro.MacroException

-- url: /display/UPCE2E/Newsletter | page: 6389861 | userName: abcde| referer: https://wiki.abc.de/display/UPCE2E/Home | action: viewpage

Any ideas?

Xaver

Suggest an answer

Log in or Sign up to answer