Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

atlas-run and get success run but in localhost address I got error page

Rıdvan_Uyan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2020

Hello Everyone,

 

I'm newbie in Atlassian SDK. And I try to figure out plugins.

 

So https://developer.atlassian.com/server/framework/atlassian-sdk/create-a-helloworld-plugin-project/ in that tutorial I have done all instructions.

 

But in the 

http://localhost:2990/jira address I'm encountering an error it says, 

 

System plugins failed to start: We haven't been able to start all the required system plugins

We couldn't start the following plugins:

 

  • Jira Projects Plugin (com.atlassian.jira.jira-projects-plugin)
  • Atlassian OAuth Consumer Plugin (com.atlassian.oauth.consumer)
  • Atlassian Navigation Links Plugin (com.atlassian.plugins.atlassian-nav-links-plugin)
  • Atlassian Jira - Plugins - OAuth Service Provider SPI (com.atlassian.jira.oauth.serviceprovider)
  • Atlassian Jira - Plugins - Project Config Plugin (com.atlassian.jira.jira-project-config-plugin)
  • Applinks - Plugin - Core (com.atlassian.applinks.applinks-plugin)
  • Atlassian OAuth Service Provider Plugin (com.atlassian.oauth.serviceprovider)
  • Embedded Gadgets Plugin (com.atlassian.gadgets.embedded)
  • Gadget Directory Plugin (com.atlassian.gadgets.directory)
  • Atlassian Plugins - JavaScript libraries (com.atlassian.plugin.jslibs)
  • Atlassian Jira - Plugins - Gadgets Plugin (com.atlassian.jira.gadgets)
  • Atlassian Jira - Plugins - Global Issue Navigator (com.atlassian.jira.jira-issue-nav-plugin)
  • Atlassian JIRA - Plugins - File viewer plugin (com.atlassian.jira.jira-fileviewer-plugin)
  • Atlassian Pretty URLs Plugin (com.atlassian.prettyurls.atlassian-pretty-urls-plugin)
  • Atlassian JIRA - Plugins - Quick Edit Plugin (com.atlassian.jira.jira-quick-edit-plugin)
  • Atlassian OAuth Admin Plugin (com.atlassian.oauth.admin)
  • Atlassian REST - Module Types (com.atlassian.plugins.rest.atlassian-rest-module)
  • Atlassian Jira - Plugins - REST Plugin (com.atlassian.jira.rest)
  • Opensocial Plugin (com.atlassian.gadgets.opensocial)
  • atlassian-servlet-plugin (com.atlassian.web.atlassian-servlet-plugin)
  • Atlassian Jira - Plugins - Look And Feel Logo Upload Plugin (com.atlassian.jira.lookandfeel)
  • Gadget Spec Publisher Plugin (com.atlassian.gadgets.publisher)
  • Atlassian Jira - Plugins - OAuth Consumer SPI (com.atlassian.jira.oauth.consumer)
  • Atlassian Jira - Plugins - SAL Plugin (com.atlassian.sal.jira)
  • Gadget Dashboard Plugin (com.atlassian.gadgets.dashboard)

 

 

So I've checked my JAVA HOME SDK and etc you can see below atlas-version

 

Some fixes say change Jira-install/setenv.sh

-Datlassian.plugins.enable.wait=300

But I can not find Jira-install because I've download Atlassian SDK with the brew.

 

How can I fix this error? Can you explain it to dummiest way? 

 

atlas-version

ATLAS Version:    8.0.16

ATLAS Home:       /usr/local/Cellar/atlassian-plugin-sdk/8.0.16/libexec

ATLAS Scripts:    /usr/local/Cellar/atlassian-plugin-sdk/8.0.16/libexec/bin

ATLAS Maven Home: /usr/local/Cellar/atlassian-plugin-sdk/8.0.16/libexec/apache-maven-3.5.4

AMPS Version:     8.0.2

--------

Executing: /usr/local/Cellar/atlassian-plugin-sdk/8.0.16/libexec/apache-maven-3.5.4/bin/mvn --version -gs /usr/local/Cellar/atlassian-plugin-sdk/8.0.16/libexec/apache-maven-3.5.4/conf/settings.xml

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T21:33:14+03:00)

Maven home: /usr/local/Cellar/atlassian-plugin-sdk/8.0.16/libexec/apache-maven-3.5.4

Java version: 1.8.0_242, vendor: Amazon.com Inc., runtime: /Users/ridvan/.sdkman/candidates/java/8.0.242-amzn/jre

Default locale: tr_TR, platform encoding: UTF-8

OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"

1 answer

1 accepted

0 votes
Answer accepted
Rıdvan_Uyan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 6, 2020

solve this problem , 

 

Firstly if you have that issue you have to know 'that is the generic issue ! '

and please use atlas-debug and read the logs. 

 

Second, I have faced that issue because I use SDKMAN sdk manager. That manages sdk's in your machines in macOS. 

 

I remove sdk man and I changed my SDK to  ORACLE  ! 

That is most important thing for this library ! You can check the detail in SDK section here  

I use Oracle ->> java version "1.8.0_241"

 

Also, the second important thing is LOCALE !!! 

If your machine locale doesn't EN or English you can probably face that issue. You can check it with 

➜  ~ echo $JAVA_TOOL_OPTIONS 

if it doesn't set you can set it in 

➜  ~ vi ~/.bash_profile

and edit file as

export JAVA_TOOL_OPTIONS="-Duser.language=EN -Duser.country=EN"

 

After all that my running config versions are, 

 

ATLAS Version:    8.0.16

ATLAS Home:       /Applications/Atlassian/atlassian-plugin-sdk-8.0.16

ATLAS Scripts:    /Applications/Atlassian/atlassian-plugin-sdk-8.0.16/bin

ATLAS Maven Home: /Applications/Atlassian/atlassian-plugin-sdk-8.0.16/apache-maven-3.5.4

AMPS Version:     8.0.2

--------

Executing: /Applications/Atlassian/atlassian-plugin-sdk-8.0.16/apache-maven-3.5.4/bin/mvn --version -gs /Applications/Atlassian/atlassian-plugin-sdk-8.0.16/apache-maven-3.5.4/conf/settings.xml

Picked up JAVA_TOOL_OPTIONS: -Duser.language=EN -Duser.country=EN

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T21:33:14+03:00)

Maven home: /Applications/Atlassian/atlassian-plugin-sdk-8.0.16/apache-maven-3.5.4

Java version: 1.8.0_241, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_241.jdk/Contents/Home/jre

Default locale: en_EN, platform encoding: UTF-8

OS name: "mac os x", version: "10.15.4", arch: "x86_64", family: "mac"

I hope that helps someone. Thanks. !

 

Rıdvan

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events