• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

1.5.9 & 1.5.10 installer hangs on downloading kernel, init and binaries step

Scheduled Pinned Locked Moved Solved
FOG Problems
2
3
496
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.
  • M
    mrowand
    last edited by Apr 9, 2024, 6:15 PM

    @ FOG Project

    I am new to the forums but not to using FOG.

    Basically I had to re-install our master FOG server from scratch as the OS volume failed. The original master was on CentOS 7.7 I am now using Rocky Linux 8.9

    I luckiliy have a backup of most images and the database.

    Anyway, I first tried installing 1.5.10 first using git to download the install files and then ran the shell script. I chose the “master branch” as I usually don’t do the dev stuff as this will be a production server ( I do have a dev branch on a VM for testing

    I have a proxy set up here which I did set up the server to go through the proxy. I later tried a line without any proxy and it made no difference.

    The script first had an issue with the REMI repo so it would not download certain packages but the installer somehow did not fail and it go to the end.

    I re-ran the script after moving the remi specific repos and all packages installed however the installer would hang on downloading the binaries (kernel, init and services files)

    I tried what I found in the forums to use curl to download these manually and I would get a 3KB file for the zip and 3kb file for checksum which were both empty zip files that were corrupt.

    the curl commands I tried:

    curl -kOL http://fogproject.org/binaries1.5.10.zip
    curl -kOL http://fogproject.org/binaries1.5.10.zip.sha256

    Then I opened firefox and manually entered the URL and I got a webpage that had a nginx error in fedora on it.

    So I then deleted the 1.5.10 foilder and downloaded the 1.5.9 tarball and ran the install script into the same problem with the binaries downloading.

    I tried the curl commands this time and these worked.

    curl -kOL http://fogproject.org/binaries1.5.9.zip
    curl -kOL http://fogproject.org/binaries1.5.9.zip.sha256

    and I was able to run the checksum and manually put the url to download the files manually using firefox both from the linux server and a windows server so the url doesn’t work.

    The files download seemed to hang for a very long tim (like two hours) and nothing would happen.

    So on the line with the proxy I ran the installer with the -X option added and running the export http:_proxy commands and it would finally error on the binaries failing to download. The installer finished and I was able to download the binaries manually otherwise.

    Do I put these files in “/var/www/html/fog/service/ipxe” manually? or is there some other location needed for the server to work.

    The error I ran into is new to 1.5.10 as I have used fog with a proxy connected or not for 10 years and never ran into the binaries fail;ing to download before

    it seems the binaries.zip file for 1.5.10 is corrupt

    Regards,

    Matt

    T 1 Reply Last reply Apr 9, 2024, 6:26 PM Reply Quote 0
    • M
      mrowand @Tom Elliott
      last edited by Jun 3, 2024, 3:26 AM

      @Tom-Elliott

      Thanks Tom.

      I since went with 1.5.9 and was able to re-install the server with that, I did have to run the installer a few times to load all the missing packages.

      I ended up putting the kernel, init files there manually. Then with the installer running and adding the --ignore fail switch installed the files that way.

      Then I updated to the latest kernel in the FOG GUI so I have the latest kernel running as I need this for current HP Z2 G9 mini and small form factor computers.

      This is running so I considered this solved.

      Matt

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott @mrowand
        last edited by Apr 9, 2024, 6:26 PM

        @mrowand I do not see a binaries1.5.10.zip file at all on the fogproject site…

        Unfortunately i’m unable to see why they’re not there, but the lib/common/functions.sh file has a function called downloadfiles that performs the individual downloads using the github links appropriately.

        If you’re daring enough, editing (or using a secondary version of this file) the file and removing all the error redirects should help you see the problem.

        That or the error log of the install might help see thigns as well.

        Sometimes files take a while to download, but I suspect it’s the http proxy preventing things?

        I don’t know your exact information of course, but it seems the most likely suspect.

        https://github.com/FOGProject/fogproject/issues/104

        Maybe this can help out a little?

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        M 1 Reply Last reply Jun 3, 2024, 3:26 AM Reply Quote 0
        • M
          mrowand @Tom Elliott
          last edited by Jun 3, 2024, 3:26 AM

          @Tom-Elliott

          Thanks Tom.

          I since went with 1.5.9 and was able to re-install the server with that, I did have to run the installer a few times to load all the missing packages.

          I ended up putting the kernel, init files there manually. Then with the installer running and adding the --ignore fail switch installed the files that way.

          Then I updated to the latest kernel in the FOG GUI so I have the latest kernel running as I need this for current HP Z2 G9 mini and small form factor computers.

          This is running so I considered this solved.

          Matt

          1 Reply Last reply Reply Quote 0
          • [[undefined-on, T Tom Elliott, Jun 3, 2024, 9:57 AM]]
          • 1 / 1
          • First post
            Last post

          263

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project