1.5.9 & 1.5.10 installer hangs on downloading kernel, init and binaries step
-
@ 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.sha256Then 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.sha256and 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
-
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
-
@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?
-
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
-