Can't update FOG server
I have a server that seems to be stuck on an old version. When attempting to update to the dev-branch it tells me the server is already updated.
Then going to the server it looks like this. I have other working servers that have the updated UI so I know something is off.
I have tried switching back and forth between master and dev and both seem not to work. Here is the error log for 126.96.36.199.
Any advice would be appreciated.
What tools are you using to manage your linux infrastructure.
I know Ubuntu is the bane of FOG devs but we use it in our environment because i can push updates regularly to all our hosts with Landscape.
So I’m guessing this was do to a lack of proper updates then.
It might be but there are also some situations where our installer scripts just can’t make up for all the situations and package combinations out there.
Is there any sort of recommendation on what needs to be updated and how often?
This is not a FOG question but more a general thing. I’d update at least every month, maybe every week and on short notice if you hear about a security issue being fixed in your Linux distro’s packets.
@Sebastian-Roth That did it! It made it all the way through the installer with no problems.
So I’m guessing this was do to a lack of proper updates then. Is there any sort of recommendation on what needs to be updated and how often?
Thanks so much!
@merrittw Please run
yum remove php-pecl-jsonc php-pecl-zip php-pecl-mcrypt php-mcrypt ; yum updateas root. After that try re-running the installer. If it still fails post the new log file here as it will be a different error then.
My mistake. Here is the whole thing.
@merrittw First I may ask you to post the full install error log. The part you posted is just teh beginning.
If I remember correctly php-bcmath was removed in version 7.x.
I don’t think so - see here.
CentOS 7 (Core) Linux 3.10.0-327.e17.x86_64.
What host OS and version is running on the fog server?
Just based on the error messages you have an older version of php installed (maybe 5.6) And the fog installer is trying to update to 7.x. If I remember correctly php-bcmath was removed in version 7.x.
IF your FOG Server host OS is older or soon to be unsupported you may be better off to spin up a new FOG server on a new host os version. There are a few steps involved here so don’t just jump right into this.