Issues with inventory and uploading image
-
@sjensen I would note your current version of the kernel. Even if the upgraded kernel fails to boot, you should be on 4.12.x in the 4.x.x series to get the next stepping level of drivers.
But in general you can go directly to the latest release 5.6.18. If something goes sideways with the upgrade we can download all of the kernels from here: https://fogproject.org/kernels/ If needed I will provide manual instructions to update from the web site.
-
@george1421 said in Issues with inventory and uploading image:
From the web gui i go to where you said to go to update the Kernel and get the following error.
-
@sjensen Ok you have the version before the developers switched the service account name from
fog
tofogproject
Have you by chance updated the linux user
fog
password since fog was installed. There were instructions on the internet telling people to create the linux userfog
and then use that account to install FOG. Doing so created a mess when the FOG admin changed/updated this password. Understand I’m talking about the linux userfog
not the default web ui administrator fog (another reason why the developers changed the service account name tofogproject
fromfog
it was just too confusing to explain which account we were talking about. )If its not a password change issue then the
fog
user doesn’t have rights to update/var/www/html/fog/service/ipxe
directory on the FOG server. -
@sjensen As a quick workaround you can manually download the files:
sudo -i cd /var/www/html/fog/service/ipxe mkdir kernel_backup mv bzImage* kernel_backup/ wget -O bzImage https://fogproject.org/kernels/Kernel.TomElliott.5.6.18.64 wget -O bzImage32 https://fogproject.org/kernels/Kernel.TomElliott.5.6.18.32 chown www-data:www-data bzImage*
-
@george1421 I literally have not done anything everything is the same state as it was when i set this up. Is there a way to give fog user access to be able to change or send me instructions on how to just update the fog server? I also tried what Sebastian suggested and get and error wget invlaid option – ‘0’
-
@sjensen said in Issues with inventory and uploading image:
– ‘0’
That is a capital -O (as in Oscar or Output file) not a zero. The wget method will get you updated quickly
-
@george1421 after i do this are the kernels updated or did i just download them?
-
@sjensen After those commands the kernels are downloaded and put in place (updated).
-
@george1421 I was able to run the update to install the latest version of Fog but the installer did not finish. here is what the error message says. Any help is appreciated.
-
@sjensen Please run
dpkg -l | grep php
and post output here. -
-
@sjensen that’s probably lower case L for list not the number one.
-
-
@sjensen I just saw you mentioning this FOG server version to be 1.5.0-RC10 running on Ubuntu 14.04. This is a really old setup and I don’t recommend you rush into an upgrade!
In this case you better try downloading the iPXE binaries manually from GitHub and put those into the
/tftpboot
directory on your FOG server. -
I did the upgrade already, the last post to george1421 is a log he wanted me to pull.
-
Just to be clear my recommendations was to spin up a new FOG server and not to upgrade. The host OS is soon to be unsupported and FOG 1.5.0 can’t really be supported because its so old.
-
@sjensen From the install error it appears the installer is trying to pull in php 7.1 which I suspect is not available for ubuntu 14.04.
-
I took a snapshot before upgrading to the latest version, i’m going to revert to that snapshot. After I revert I will follow the instructions that Sebastian posted about manually updating the kernel. I do not have the time to spin up a new server and migrate images over. I just need to get this server working again I have a bunch of pc’s sitting on my desk to image.
-
@sjensen Good job taking a snapshot, well done.
Just follow Sebastian’s instructions for manually downloading the kernels.
sudo -i cd /var/www/html/fog/service/ipxe mkdir kernel_backup mv bzImage* kernel_backup/ wget -O bzImage https://fogproject.org/kernels/Kernel.TomElliott.5.6.18.64 wget -O bzImage32 https://fogproject.org/kernels/Kernel.TomElliott.5.6.18.32 chown www-data:www-data bzImage*
Then to confirm you have the right files
cd /var/www/html/fog/service/ipxe file bzImage file bzImage32
The file command should output something that contains the kernel version 5.6.18.
-
Here is what it says after going through the instructions you send.