It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

TOC macro: Error - no metadata configured

Confluence 4.1.9, Download, Ubuntu 11.04 w/Apache, PostgreSQL and OpenJDK. Upgraded today from 3.5.19.

Ok, this one has me puzzled. The TOC macro refuses point blank to work.

Existing pages which use it generate the following error:

Unknown macro: {toc}

When attempting to edit the page and attempting to add it in (Insert > Table of contents), the following message appears:

No Macro Metadata

There is no metadata configured for this macro which means no configuration screen can be presented here.

If this is a user macro then you can add metadata to the template using the User Macro Administration console.

Further, when attempting to look for this macro (Insert macro > Other macros > Select macro), the toc macro does not appear anywhere in the results, nor is it returned using obvious search keywords (toc, table, contents).

Any idea what has gone wrong here and how I rectify the issue?

1 answer

1 accepted

0 votes
Answer accepted

For some reason, the Table of Contents Plugin was not enabled after the upgrade installation, nor was it disabled before performing the upgrade.

To check this plugin is working correctly, do the following;

  1. Load the Administration dashboard (Browse > Confluence Admin)
  2. Load Manage my plugins (Configuration > Plugins > Manage my plugins)
  3. Under System plugins, click Show system plugins
  4. Search for Table of Contents Plugin, and click on the plugin name to expand the dialogue box.
  5. Ensure that the plugin is enabled (if enabled, the Disable button should be shown on the right of the box).
    1. If the button is showing Enable, press it to enable the plugin.
    2. Also check that next to Manage plugin modules, it shows that 6 of 6 modules enabled
  6. Also ensure that you are running the most current version of the plugin. You can automatically update the plugin to the latest version by pressing the Update button on the right hand side of the screen.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

4,120 views 4 6
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you