How Do You Troubleshoot the GitLab Installation Error “dpkg: error processing package gitlab-ee…post-installation script returned error exit status 1”?

Problem scenario
You are trying to install GitLab, but you get this error:

"dpkg: error processing package gitlab-ee (--configure):
subprocess installed post-installation script returned error exit status 1"

What do you do?

Possible solution #1
Is Jenkins running on the server? Is a service running on port 8080? Can you stop any process running on port 8080 and try again?

Possible solution #2
Reboot the server. Try again.

Possible solution #3
Do you have enough memory? Using the top or free -mh show you how much free memory you have. You may want to see this posting to create swap space if have ample hard disk space but cannot increase the amount of RAM . It can work on servers in the cloud (such as RackSpace, AWS, or Google Cloud Platform). If you are using AWS, you can easily upgrade the server's flavor. See this posting if you are using an EC-2 instance. If you resize the instance in GCP (click here if you need assistance with this), the external IP address will change. You may need to configure /etc/gitlab/gitlab.rb to have a new external_url.

Leave a comment

Your email address will not be published. Required fields are marked *