Hello!
We upgrade Confluence to version 6.9.1 and after upgrade see pictures with text "Unknown macro 'code'" instead of code fragments in a many old pages. I try to find solution in documentation and knowledge base, but still not found it.
Please, help me to find and solve this problem.
Mike
Look at the storage format (top-right "..." menu -> view storage format. That will tell you what the ID of macro there is at that page position.
Thanks, David!
I see that every macro has it's own ID
<ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="6b4bf71c-dbb5-4803-83bb-35be37a9ff61">
or
<ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="7400f6d0-ab47-41e6-bd59-81d3cc558014">
And I don't know how it can help me?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was more checking it's the built-in "code" macro.
List all your plugins at https://BASE_URL/plugins/servlet/upm/manage/all and find the "code macro plugin". If you open it up does it say all modules enabled?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mine says "25 of 25 modules enabled" but I still get the same error.
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.
We had the same problem after upgrading to Confluence 6.15.4 - I don't see why it should have been disabled by the upgrade process.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.