Installing gitlab-ce on Ubuntu 22.04LTS Server and apache2 takes all access down

I have a PC running ubuntu server 22.04LTS, Apache2 2.4 and gitlab-ce latest stable version since 01-09-2023 (where is your version file?) subsequent searches tells me that it’s 15.7.2-ce.0)

I have other applications accessible via apache2 (sql-ledger) as I had it on my older PC server. I was able to install both sql-ledger & gitlab on it and they did play nice together. (I was using the built in web server nginx on the previous setup).

When I use the same configuration on this new server I can see the “unable to bind 0.0.0.0 , already in use” error occurring in the gitlab logs. So I decided to turn off nginx and just use apache2 as the web server. I copied the configuration file for gitlab: gitlab-apache24.conf and change it to suit my needs.

It has not gone well!

First, my network has no domain name, it is just a subnet with some known IP addresses/hostnames. For instance the PC is europa. So when the configure file wants a FQDN:

<VirtualHost *:80>
  ServerName europa
  ServerSignature Off

  ProxyPreserveHost On
...
</VirtualHost>

As you can see I just put in europa.

Same thing for ProxyPassReverse

The three changes I did for “gitlab.rb” are:

external_url 'http://europa/gitlab'
nginx['enable'] = false

 git_data_dirs({
   "default" => {
     "path" => "/data0/opt/gitlab/git-data/"
    }
 })

So, I then do the systemctl restart apache2 and gitlab-ctl reconfigure and now …
sql-ledger know longer works and gitlab is not accessible.

Web page displayed;

Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.

So what have I missed here in my setup? Any helpful advice will be appreciated.

Happy New Year and Cheers!!

So I’ll close this line of enquiry down. I had no advice and I am unable to get this working. There are a few websites out there that have tackled this installation and after trying many of them to the letter, my installation never worked.

No one can demonstrate to me how to install Gitlab-ce 15.7.2-ce.0 on Ubuntu 22.04LTS Server running Apache 2.4 in any format whatsoever. (with or without nginx). I have this working just fine on an older Ubuntu 18.04LTS installation but that machine is getting old and I want to swap it out for this new server. I’ve managed to install all of the same services except for Gitlab. It would appear that your complexity as outreached your community knowledge base.

Cheers!!