Unable to enable Team Calendars
Asked by Hayden Johnston:

We have Confluence 4.3 running in CentOS 5.4 with java "jre1.6.0_33". We have issues with "Team Calendars" plugin.

Plugin "Team calendar" for our confluence 4.3 is disabled. We are unable to enable the plugin. Our license was expired. We updated the new license 2 days ago.

When tried to enable it we got the following error

"This plugin failed to enable. Your license may be invalid. Please refer to the logs for more information.

But our license is valid till Sep 11, 2013

The plugin details are given below.

From Dashboard \> Administration \> Plugin Manager We can see the following error when selected the plugin Team Calendar:

"Calendar Resource

RESTful calendaring services

Error: Support for this module is not currently installed."

From confluence log we got we can see

"2012-09-12 06:45:30,352 ERROR main plugin.osgi.factory.OsgiPlugin enableInternal Detected an error (BundleException) enabling the plugin 'com.atlassian.confluence.extra.team-calendars' : Unresolved constraint in bundle com.atlassian.confluence.extra.team-calendars 119 : Unable to resolve 119.0: missing requirement 119.0 package; (\&(package=com.atlassian.confluence.upgrade.security)(version\>=3.5.0)). This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see [http://confluence.atlassian.com/x/1xy6D"](http://confluence.atlassian.com/x/1xy6D%E2%80%9D)

2012-09-13 03:39:02,505 ERROR http-8080-13 atlassian.confluence.servlet.ConfluenceServletDispatcher serviceAction There is no Action mapped for namespace /admin/calendar and action name viewlicense

Team Calendars

Vendor: Atlassian Pty Ltd

Plugin Version: 1.7.1

From Dashboard \> Administration \> Plugins

"Plugin key: com.atlassian.confluence.extra.team-calendars

Available plugin version: 2.4.4

Plugin system version:TWO

License: Commercial

License details: 10-user starter license, expires Sep 11, 2013

License status: Valid

License key: AAABJw0ODA...

Manage plugin modules - 0 of 28 modules enabled."

<br />


Answers:
author: hsuhailah
body: From the error it looks like Confluence is complaining about compatibility issue and it appears that you have quite an old version of Team Calendars Plugin installed in the latest Confluence 4.3. Here is what I'd suggest you to do:

1. Stop Confluence
2. Clear the content inside the following folders:
   * \<tt\>\<confluence-home\>/bundled-plugins\</tt\>
   * \<tt\>\<confluence-home\>/plugin-cache\</tt\>
   * \<tt\>\<confluence-home\>/plugins-osgi-cache\</tt\>
   * \<tt\>\<confluence-home\>/plugins-temp\</tt\>
   * \<tt\>\<confluence-home\>/bundled-plugins_language\</tt\>  
     Do not worry as the above will not remove the installed plugins. It will just remove the plugin cache and the cache will be re-created upon server startup.
3. Restart Confluence
4. Go to <https://marketplace.atlassian.com/plugins/com.atlassian.confluence.extra.team-calendars> and download the latest Team Calendars Plugin 2.4.4 (it is compatible with your Confluence version).
5. Install the .jar file into Confluence from Confluence Admin \> Plugins \> Upload Plugin
6. Go to <https://my.atlassian.com/login> to get Team Calendars license and apply it onto the its license field


author: Harry Chan
body: Hi, what version of Team Calendars do you have? It looks like it's too old. It says plugin version 1.7.1. Please get the latest version supported by Confluence 4.3, which is 2.4.4.

You can download it manually from <https://marketplace.atlassian.com/plugins/com.atlassian.confluence.extra.team-calendars> and upload it to replace the old one[.](http://www.queryfoundry.com)


Tags: team-calendars-for-confluence