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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.