Unable to start local confluence instance

Abhishek Eskey July 25, 2023

Hi All,

 

I am working on the tutorial: Write a simple Confluence blueprint plugin (atlassian.com)

I have created a plugin and the prune skeleton using the command :atlas-create-confluence-plugin.

I am using the command atlas-run to start local confluence instance. by going to the url: http://localhost:1990/confluence

However, I get HTTP Status 404- Not found.

 

Could someone please help me solve this problem.

Thanks,

Abhishek Eskey

4 answers

0 votes
sathishkumar_selvaraj
Contributor
January 7, 2025

Hi @Abhishek Eskey . I'm also facing the same issue have you got any solution for it?

0 votes
moritz seebold
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!
December 6, 2024

Hi,
I know its been over a Year, but i have the same Issue und cant find a way to solve it. Did you manage to find a solution?

Thanks,

Moritz Seebold

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 25, 2023

Network connectivity is not the issue, I'm afraid the previous answers you have had look like they were written by an AI that does not really understand what it is talking about, and obviously has not read your response to its first answer.

A 404 error does indeed mean "the page you have asked for is not there", but you are probably looking in the wrong place.

Your Confluence startup process tells us that Confluence is running under http://localhost:1990/confluence

That is probably true, but "localhost" means "this machine", not on the network.  So the first thing to look at is where you're trying to access it.  Is the browser you are using on the same machine as the Confluence service running on?  If it is not, then that's why you get a 404.

If it is, then the next place to look is in the logs.  You should find logs under the "target" directory of where you created the plugin code - look for atlassian-confluence.log first and catalina.out second, those are where startup errors usually get logged.

Sanjen Bariki
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 25, 2023

Hi @Nic Brough -Adaptavist- ,

 

Sorry for the misunderstanding or misconception on it.

I was trying to give the best method. 

As per the issue, I thought there might be some network issue But Here is nothing to afraid.

 

Regards,

Sanjen 

Abhishek Eskey July 25, 2023

Hi @Nic Brough -Adaptavist- 

 

Thank you for your clarification.

I am trying to run confluence on the same machine's browser.

I also tried to access the logs you mentioned in the target folder, but I couldn't find them.

Could you please help me out?

 

Regards,

Abhishek Eskey

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 26, 2023

Sorry, I keep forgetting most of my dev systems are altered in order to create those logs.

You need to be reading the output from "atlas-run" as it compiles and builds your app, then fires up a Confluence.

Some important points:

  • That log will end with "Tomcat started" in most cases, but that's the container not Confluence.  You're already looking at the right place under /confluence
  • It can take a long time to get started
  • Before log diving, can you check what you get from just HTTP://localhost - does it give you a white page 404, a  Tomcat 404, or can't connect to site?
  • Make sure you set your terminal to allow a lot of lines to be rolled back - the data you're going to see can be very very long
  • Read back through that log until you find "tomcat starting"
  • If Tomcat is starting, but Confluence not, you'll need to read further back!
0 votes
Sanjen Bariki
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 25, 2023

Hi @Abhishek Eskey ,

 

Welcome to Atlassian community!

HTTP Status 404- Not found.  :- It means server not started.

Could you please stop the server and start again from the service...?

If you did not install the confluence server via service, Please start it from the folder Confluence Installation\bin start-confluence.bat.

If possible, Could you please share the log file..?

log file location:- C:\Confluence\Confluence Home\logs ( atlassian-confluence.log )

 

Note :- Please check the network connectivity.

 

 

Regards,

Sanjen Bariki

Abhishek Eskey July 25, 2023

Hi @Sanjen Bariki ,

Thank you for your response.

I am getting the below lines in the terminal when I try to run the local Confluence instance:

Screenshot 2023-07-25 180028.png

 

Could you please stop the server and start again from the service...? --> Could you please elaborate on this? I did not understand this step.

Did I miss anything?

I was just followed the steps mentioned in this link Write a simple Confluence blueprint plugin (atlassian.com) and got stuck at the 2nd step while running the local instance.

 

Thanks,

Abhishek Eskey

Sanjen Bariki
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 25, 2023

..

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events