Forums

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

How do I install BitBucket Server without XServer

Aperture-Development August 9, 2018

Hello,

 

I am trying to install BitBucket on my Linux server, which has no GUI or X. But I am not able to install it as even tho the installer can work from console only, it still requires a GUI. How do I bypass that so I can Install BitBucket without needing to install a GUI on my server ( which would be idiotic since it is a server and not a client ) ?

 

Thank you for reading this

2 answers

1 accepted

0 votes
Answer accepted
Aperture-Development August 9, 2018

After we run the Installer bin with the argument "-c" we were able to continue by killing the process "/usr/bin/xprop -root"

pas.argenio
Contributor
February 7, 2021

I didn't try that approach. Certainly some explanation would be helpful tho.

Some background about the error message when you don't have an X server.

First up: Sun Microsystems developed Java, hence "sun" appears in the class names in the error message.
In my case, I was installing on a rack server that had only been brought up to the command-line level (termed "multi-user mode" under Redhat 8.2 which uses SystemD and its "targets"). For those older Unix users, dumping /etc/inittab can be instructive.
You can change the system target and reboot, but in my case I simply ran startx and the RedHat GUI started (I think it is an upgrade of Gnome). Anyway, once that happened, I could run the Atlassian Bitbucket installer without error, but it did plaster dialogs on the GUI, which I guess was the point of starting the Desktop anyway. It's funny in the current world of pandemic remote work, the limitations of software products can become painfully evident. Normally, I would do everything from home from a PuTTY session -- no GUI at all. Not possible here, and since Atlassian is phasing out the Server product, I guess it never will be.

0 votes
Craig Castle-Mead
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.
August 9, 2018

Hi,

Which installer are you using, and what part is saying it requires a GUI? 

CCM

Aperture-Development August 9, 2018

Linux x64 installer. It tries to connect to a XServer which is not installed.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events