Solved Is it possible to install GitLab on Fedora 26?
-
Having a hard time doing so. I'm assuming it's because Fedora 26 isn't supported yet. Is there a way to bypass this and install it anyways? I tried doing what it says in the error, and installing the rpm manually. It doesn't work.
After running the command:
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | bash
I just get an error:
Detected operating system as fedora/26. Checking for curl... Detected curl... Downloading repository file: https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/config_file.repo?os=fedora&dist=26&source=script curl: (22) The requested URL returned error: 404 Not Found Unable to download repo config from: https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/config_file.repo?os=fedora&dist=26&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 CentOS 6: os=el dist=6 ./script.sh If you are running a supported OS, please email [email protected] and report this.
My next step is to try this: https://packages.gitlab.com/gitlab/gitlab-ce/install#manual
But I'm not hopeful. Has anyone had any luck, or should I just do it on CentOS 7 and be done with it?
-
I figured out the main issue I was having...
I didn't put the "/download" after the URL: https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-9.4.5-ce.0.el7.x86_64.rpm/download
Once I fixed that and renamed the file, I was able to install it without issue, and access it:
-
The solution might be downloading that file and manually move it into place with:
wget 'https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/config_file.repo?os=fedora&dist=26&name=centauri&source=script'
sudo mv config_file.repo /etc/yum.repos.d/gitlab.repo
sudo restorecon /etc/yum.repos.d/gitlab.repo
sudo dnf makecache
sudo dnf install gitlab