ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Is it possible to install GitLab on Fedora 26?

    IT Discussion
    2
    3
    3.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ObsolesceO
      Obsolesce
      last edited by

      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 support@packagecloud.io 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?

      1 Reply Last reply Reply Quote 0
      • ObsolesceO
        Obsolesce
        last edited by

        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:

        0_1503343281075_Untitled.jpg

        1 Reply Last reply Reply Quote 1
        • Net RunnerN
          Net Runner
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post