Selfhosted GitLab

Hello GitLab community!

We tried installing GitLab on Ubuntu 20.10 but it says its not supported, we then checked packages

and there it says 20.10 is supported. but the gitlab package doesnt seem to exist.

we followed this tutorial Download and install GitLab | GitLab

and it spit out the following error

Detected operating system as Ubuntu/groovy.
Checking for curl...
Detected curl...
Checking for gpg...
Detected gpg...
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/gitlab_gitlab-ee.list...curl: (22) The reques                                                                                                                                                             ted URL returned error: 404 Not Found


Unable to download repo config from: https://packages.gitlab.com/install/reposit                                                                                                                                                             ories/gitlab/gitlab-ee/config_file.list?os=Ubuntu&dist=groovy&source=script

This usually happens if your operating system is not supported by
packagecloud.io, or this script's OS detection failed.

You can override the OS detection by setting os= and dist= prior to running this                                                                                                                                                              script.
You can find a list of supported OSes and distributions on our website: https://                                                                                                                                                             packages.gitlab.com/docs#os_distro_version

For example, to force Ubuntu Trusty: os=ubuntu dist=trusty ./script.sh

If you are running a supported OS, please email support@packagecloud.io and repo                                                                                                                                                             rt this.

Any idea on what we could do?

As per the gitlab install docs, only 16.04, 18.04 and 20.04 is supported. Therefore you can only install gitlab-ce or gitlab-ee using an LTS version.

Otherwise, you can try building from source if you want to put it on Ubuntu 20.10. In all honesty, if you are making a server installation, you should be using a stable LTS release and not 20.10.

Hi @BlueSkyHusky
the docs you are referring to are for Packagecloud and has nothing to do with GitLab.
GitLab supported OS are here Requirements | GitLab

For server you probably want (although you might not have realised is yet) something stable, if you want it to be ubuntu, their LTS version which is 20.04 (Focal) is the way to go.

If you really want to proceed on 20.10, you can read the script and do what it would do (you should anyway, ‘curl | sh’ provides you with absolutely no guarantee what is done to your machine) if you were on 20.04, there’s a chance that package will work on 20.10, if it works (if it doesn’t you get to keep all the parts) that’s a lot simpler than installing from source. But you might run into issues in the future, especially with upgrading - and people generally won’t care.