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

This widget could not be displayed.

Rebuilding the Search Index fixed the problem

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

290 views 5 0
Join discussion

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