Issues with inventory and uploading image
-
@sjensen Realize you can update the fos linux kernel using FOG Configuration -> Kernel update without needing to update FOG as a whole. Since you are on an old version of Ubuntu which is soon to go unsupported and an old version of FOG, I recommend that you spin up a new FOG server and migrate all of your images over (said without knowing how many computers with the FOG client installed in your environment.)
-
@george1421 Can i update to the latest version of the kernel or do i have to update to a specific version first?
-
@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.