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?
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
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,
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
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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!
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