Archiving Tab is Missing on Admin Console

Good day I hope someone can help me.

We have an issue with our openfire 4.5.1 the archive tab in admin console is missing.

Plugin installed

Bookmarks
Broadcast
Client Control
Monitoring Services

The Monitoring plugin is what should make that tab appear. Please look at the log files, to see if something of interest gets logged when you install or reload that plugin. That could give a clue to the cause of the issue.

2022.01.23 12:07:29 ERROR [pool-5336-thread-1]: org.jivesoftware.openfire.archive.ArchiveIndexer[CONVERSATION] - An exception occurred while initializing the Lucene index that is expected to exist in: /opt/openfire/monitoring/search
        at org.jivesoftware.openfire.index.LuceneIndexer.loadPropertiesFile(LuceneIndexer.java:414) ~[monitoring-2.1.0.jar!/:?]
        at org.jivesoftware.openfire.index.LuceneIndexer.start(LuceneIndexer.java:69) [monitoring-2.1.0.jar!/:?]
        at org.jivesoftware.openfire.plugin.MonitoringPlugin.initializePlugin(MonitoringPlugin.java:236) [monitoring-2.1.0.jar!/:?]
2022.01.23 12:07:29 ERROR [pool-5336-thread-1]: org.jivesoftware.openfire.container.PluginManager - An exception occurred while loading plugin 'monitoring':
        at org.jivesoftware.openfire.plugin.MonitoringPlugin.initializePlugin(MonitoringPlugin.java:236) ~[monitoring-2.1.0.jar!/:?]
        at org.jivesoftware.openfire.index.LuceneIndexer.getLastModified(LuceneIndexer.java:144) ~[monitoring-2.1.0.jar!/:?]
        at org.jivesoftware.openfire.index.LuceneIndexer.start(LuceneIndexer.java:125) ~[monitoring-2.1.0.jar!/:?]

This is the logs while im trying to reinstall the plugin.

Does the directory /opt/openfire/monitoring/search exist, and does the owner of the Openfire process have permission to read and write in that directory?