Oracle Linux 8 packages not available
Summary
Customer reports that when trying to add the RPM package when using Oracle Linux 8 they get a message stating their OS is unsupported.
Seems like maybe Package Cloud doesn't support 8 yet?
https://packagecloud.io/docs#anchor-ol
Steps to reproduce
Use Oracle Linux 8 as your operating system, and attempt to install GitLab following the CentOS 8 instructions as stated in our supported Linux systems section.
Adding the repository and installing using this script will fail saying your OS is unsupported:
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
I tested this by putting Oracle Linux 8 in a VM.
What is the current bug behavior?
We state that we support Oracle Linux following the CentOS instructions but you can't actually add the repository if you use Oracle Linux 8.
What is the expected correct behavior?
Oracle Linux 8 users can follow the CentOS instructions to add the repository and install a GitLab instance.
Relevant logs
They are seeing the "unknown OS error" from the RPM script you can see here: https://packages.gitlab.com/gitlab/gitlab-ee/install#bash-rpm
Script Output
Unable to download repo config from: https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/config_file.repo?os=ol&dist=8&source=scriptThis 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 CentOS 6: os=el dist=6 ./script.sh
If you are running a supported OS, please email support@packagecloud.io and report this.
Details of package version
Provide the package version installation details
For RHEL based systems (CentOS, RHEL, OL, Scientific, OpenSUSE, SLES), paste the output of:
rpm -qa | grep 'gitlab'
This doesn't return anything because you can't currently add the package on OL 8. :)
Environment details
- Operating System: Oracle Linux 8.3
- Installation Target, remove incorrect values:
- VM: My test was a VM in VirtualBox
- Installation Type, remove incorrect values:
- New Installation
- Is there any other software running on the machine: Nope, just whatever comes with the Oracle Linux image from their website, it's a brand new install.
- Is this a single or multiple node installation?
- single
- Resources
- My test VM did not have enough CPU or GPU to actually run GitLab, I was only testing if I could grab the package to replicate the customer's issue, so I didn't care if it'd actually run.
Configuration details
Provide the relevant sections of `/etc/gitlab/gitlab.rb`
N/A, can't install GitLab to get to the config.Possible Workaround
It looks like you can fake being CentOS 8 and tell the script to use that package. I'm not sure if that'd be a supported solution or not but it does seem to at least get you going:
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo os=el dist=8 bash