Servicedesk is malfunctioning with license bought after expired trial

Recently our sevicedesk trial license expired and consequently servicedesk functionality was disabled.
So we bought the starter license to continue exploring and using servicedesk.

However after appliying the license service desk seems to be re-enabled but doesn't function properly (e.g. while there is a servicedesk section when viewing projects, servicedesk templates are missing from the create project wizard).

During JIRA startup enabling of the following 13 plugins times out:

`Plugins that have yet to be enabled: (13): [com.atlassian.servicedesk.servicedesk-reports-plugin, com.atlassian.servicedesk.public-rest-api, com.atlassian.servicedesk.servicedesk-knowledge-base-plugin, com.atlassian.servicedesk.servicedesk-notifications-plugin, com.atlassian.servicedesk.plugins.automation.servicedesk-automation-then-webhook-plugin, com.atlassian.servicedesk, com.atlassian.servicedesk.plugins.automation.servicedesk-automation-modules-plugin, com.atlassian.servicedesk.approvals-plugin, com.atlassian.servicedesk.project-ui, com.atlassian.servicedesk.servicedesk-canned-responses-plugin, com.atlassian.servicedesk.plugins.servicedesk-search-plugin, com.atlassian.servicedesk.frontend-webpack-plugin, com.atlassian.servicedesk.servicedesk-variable-substitution-plugin], 281 seconds remaining`

Those plugins are also displayed as being disabled in the plugin management screen. However there is no "Enable" button.
This suggests that not all servicedesk modules have been re-enabled when applying the new  license.

We've already tried back and forth to resolve this situation, including un- and re-installing servicedesk, before or after appliying the new license - always ending up with the same situation.

Searching the web and atlassian support ressources did not yield a solution so far either. So we've somewhat run out of options and any help is appreciated.

JIRA version 7.5.0, Servicedesk version 3.8.0, running the blacklabelops/jira:7.5.0 docker image.

 

2 answers

1 accepted

I've been in touch with atlassian support and came to a solution in the meantime:

The key was to remove the {JIRA_HOME/plugins/.osgi-plugins} directory and restart JIRA (i.e. the container).

Afterwards everything was running fine.

 

UPDATE: This is the full answer from atlassian support to resolve the problem:

  1. Stop JIRA.
  2. Delete the content of $JIRA_INSTALL/work directory
  3. Delete the content of $JIRA_HOME/plugins/.bundled-plugins directory
  4. Delete the content of JIRA_HOME/plugins/.osgi-plugins directory
  5. Run the following query
    SELECT * FROM pluginstate WHERE pluginenabled = 'false';
  6. If there is any result, run the following:
    UPDATE pluginstate SET pluginenabled = 'true' WHERE pluginenabled = 'false';
  7. Set plugin wait time to 300 in your startup parameter. You will need to add below codes in your setenv file
    -Datlassian.plugins.enable.wait=300

    You can view Setting properties and options on startup for the steps applicable for your operating system. If wait time 300 still did not managed to start up JIRA try 600

  8. Start JIRA, wait for few minutes and now try to access your JIRA instance.

 

In my case Step 4. was crucial, but you might want to try all those steps in case the problem persists.

Roland,

Thank you for verifying!

I've accepted your answer.

Take care and kind regards,

Shannon

I have the exact same issue on a test clone, but the proposed solution doesn't work in my case. After the 280s "Plugins that have yet to be enabled: (13)" messages there are a lot of errors logged like these:

2017-11-21 09:38:34,036 Spring DM Context Creation Timer ERROR [c.a.p.osgi.factory.OsgiPlugin] Plugin 'com.atlassian.servicedesk.project-ui' never resolved service '&serviceDeskAppLinkService' with filter '(&(objectClass=com.atlassian.servicedesk.internal.api.feature.applink.ServiceDeskAppLinkService)(objectClass=com.atlassian.servicedesk.internal.api.feature.applink.ServiceDeskAppLinkService))'
2017-11-21 09:38:34,044 Spring DM Context Creation Timer ERROR [c.a.p.osgi.factory.OsgiPlugin] Plugin 'com.atlassian.servicedesk.project-ui' never resolved service '&userFactory' with filter '(&(objectClass=com.atlassian.servicedesk.api.user.UserFactory)(objectClass=com.atlassian.servicedesk.api.user.UserFactory))'
2017-11-21 09:38:34,044 Spring DM Context Creation Timer ERROR [c.a.p.osgi.factory.OsgiPlugin] Plugin 'com.atlassian.servicedesk.project-ui' never resolved service '&portalUrlsProvider' with filter '(&(objectClass=com.atlassian.servicedesk.internal.api.project.PortalUrlsProvider)(objectClass=com.atlassian.servicedesk.internal.api.project.PortalUrlsProvider))'

In addition to the .osgi-pluglins directory that Roland mentioned, you may also want to try removing 

JIRA_HOME/plugins/.bundled-plugins

Otherwise this could be a resource problem, so you'll want to have a look at JIRA applications System Plugin Timeout While Waiting for Add-ons to Enable for more suggestions.

Kind regards,

Shannon

Okay thank you, I will try that.

Please see my updated answer for a list of steps you can take to resolve the problem.

0 vote

Hi Roland,

Are you able to have a look at the Jira Server Logs and at the full startup notes to see what else might be occurring? The message you're showing will continue to do a countdown from 281 seconds, and you should at some point see a few helpful error messages.

Please feel free to send us the errors that you see at that time so we can see why Service Desk might not be starting properly.

Kind Regards,
Shannon

Thanks for your reply Shannon, please see below for the actual solution.

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

37 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot