Error rendering macro 'blog-posts'

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
Accepted answer

Rebuilding the Search Index fixed the problem

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

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,154 views 5 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you