Hi , Just installed atlassian git/stash 3.8.1 on red hat linux, and appears to be starting up but unable to open web page

A fatal error has occurred

The following problems occurred which prevents Atlassian Stash from starting correctly:

  • Required plugin com.atlassian.templaterenderer.api has failed to start
  • Required plugin com.atlassian.stash.stash-jira-integration has failed to start
  • Required plugin com.atlassian.crowd.embedded.admin has failed to start
  • Required plugin com.atlassian.plugins.atlassian-nav-links-plugin has failed to start
  • Required plugin com.atlassian.templaterenderer.atlassian-template-renderer-velocity1.6-plugin has failed to start
  • Required plugin com.atlassian.oauth.consumer.sal has failed to start
  • Required plugin com.atlassian.applinks.applinks-plugin has failed to start
  • Required plugin com.atlassian.oauth.consumer has failed to start
  • Required plugin com.atlassian.upm.atlassian-universal-plugin-manager-plugin has failed to start
  • Required plugin com.atlassian.stash.stash-stp-integration has failed to start
  • Required plugin com.atlassian.oauth.serviceprovider.sal has failed to start
  • Required plugin com.atlassian.oauth.serviceprovider has failed to start
  • Required plugin com.atlassian.stash.stash-velocity-helper has failed to start

Log file says:

2015-07-13 14:34:28,845 ERROR [spring-startup]  c.a.plugin.osgi.factory.OsgiPlugin Plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-plugin' never resolved service '&templateRenderer' with filter '(objectClass=com.atlassian.templaterenderer.TemplateRenderer)'

2015-07-13 14:34:28,850 ERROR [spring-startup]  c.a.plugin.osgi.factory.OsgiPlugin Plugin 'com.atlassian.webhooks.atlassian-webhooks-plugin' never resolved service '&templateRenderer' with filter '(&(objectClass=com.atlassian.templaterenderer.TemplateRenderer)(objectClass=com.atlassian.templaterenderer.TemplateRenderer))'

2015-07-13 14:34:28,854 ERROR [spring-startup]  c.a.plugin.osgi.factory.OsgiPlugin Plugin 'com.atlassian.stash.stash-dev-summary-plugin' never resolved service '&applicationLinkService' with filter '(objectClass=com.atlassian.applinks.api.ApplicationLinkService)'

2015-07-13 14:34:28,854 ERROR [spring-startup]  c.a.plugin.osgi.factory.OsgiPlugin Plugin 'com.atlassian.stash.stash-dev-summary-plugin' never resolved service '&jiraKeyScanner' with filter '(objectClass=com.atlassian.integration.jira.JiraKeyScanner)'

2015-07-13 14:34:28,854 ERROR [spring-startup]  c.a.plugin.osgi.factory.OsgiPlugin Plugin 'com.atlassian.stash.stash-dev-summary-plugin' never resolved service '&linkedApplicationCapabilities' with filter '(objectClass=com.atlassian.plugins.capabilities.api.LinkedApplicationCapabilities)'

2015-07-13 14:34:28,854 ERROR [spring-startup]  c.a.plugin.osgi.factory.OsgiPlugin Plugin 'com.atlassian.stash.stash-dev-summary-plugin' never resolved service '&remoteEventProducerRegistrar' with filter '(objectClass=com.atlassian.event.remote.RemoteEventProducerRegistrar)'

2015-07-13 14:34:28,863 ERROR [spring-startup]  c.a.plugin.manager.PluginEnabler Unable to start the following plugins due to timeout while waiting for plugin to enable: com.atlassian.plugins.atlassian-remote-event-common-plugin,com.atlassian.plugins.atlassian-remote-event-producer-plugin,com.atlassian.plugins.atlassian-remote-event-consumer-plugin,com.atlassian.stash.stash-jira-integration,com.atlassian.stash.stash-velocity-helper,com.atlassian.stash.stash-branch-utils,com.atlassian.upm.atlassian-universal-plugin-manager-plugin,com.atlassian.webhooks.atlassian-webhooks-plugin,com.atlassian.stash.stash-dev-summary-plugin,com.atlassian.stash.stash-stp-integration

2015-07-13 14:36:47,209 WARN  [spring-startup]  c.a.s.i.p.StaticPluginPathScanner Cannot scan directory /static/feature/tasks/icons/ in web static as it does not exist

2015-07-13 14:36:47,372 INFO  [spring-startup]  c.a.s.internal.scm.PluginScmService Stash is using /usr/bin/git version 2.3.3

2015-07-13 14:36:47,447 INFO  [spring-startup]  c.a.s.i.hazelcast.HazelcastLifecycle Updating Hazelcast instance capabilities

------

I have followed the link https://confluence.atlassian.com/display/STASHKB/Stash+failed+to+Start+due+to+Required+plugin+failed+to+start (Stash failed to Start due to Required plugin failed to start) which is the nearest error I can find the one I am seeing but this doesn't fix the error.

 Appreciate your help!

Thanks

Jim

3 answers

1 accepted

Support advised we amended a timeout in the setenv.sh file

 </usr/atlassian/stash/3.8.1/bin/setenv.sh> Appending the JVM_SUPPORT_RECOMMENDED_ARGS="" Like this …

JVM_SUPPORT_RECOMMENDED_ARGS="-Datlassian.plugins.enable.wait=600"

 Which we duly did and this fixed the problem. However this didn't explain why stash was taking so long to startup. Turns out that MacAfee was making the startup so slow - so we stopped MacAffe

#/etc/rc3.d/S92nails stop

Then started stash

#/etc/rc3.d/S50atlstash start (started in seconds)

Started MacAfee

#/etc/rc3.d/S92nails start

Many thanks to Andrew in Support!

Hi Jim,

That definitely does not look right. Could you raise an issue for our support team to investigate at https://support.atlassian.com (including the logs, as you have above)? 

cheers,

Tim

Ok - thanks Tim  - will do.

is this issue resolved, i am facing this issue when startup bitbucket image in aws instance

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

28,631 views 26 12
Join discussion

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