Install FOG on Ubuntu Server 21.10 issues
-
The first issue I ran into was php7.0 not being available for 21.10, and the FOG install script kept failing there, so I had to manually add the repository
add-apt-repository ppa:ondrej/php
Then it fails at the Install Package: php-gettext step. The php-php-gettext package seems to rely on php8.0, which the FOG install.sh script doesn’t want, it wants 7.0.
Is FOG 1.5.9 not compatible with 21.10?
-
@brakcounty said in Install FOG on Ubuntu Server 21.10 issues:
s FOG 1.5.9 not compatible with 21.10?
Correct FOG 1.5.9 has only been tested to 20.04. You bleeding edge guys keep doing yourself in. Also the non-LTS versions have a very (very) short shelf life. 20.04 was the last stable LTS release. That is why its supported by FOG. I would think twice about 21.10 as a FOG platform.
Photo copyright Canonical Ltd https://ubuntu.com/about/release-cycle -
@george1421 Oh well that explains it!
Cool thanks!
-
@brakcounty said in Install FOG on Ubuntu Server 21.10 issues:
The first issue I ran into was php7.0 not being available for 21.10, and the FOG install script kept failing there, so I had to manually add the repository
Just to add to what George already said about Ubuntu versions I might suggest you simply use the
dev-branch
version of FOG if you want to install on Ubuntu 21.10! -
21.10 doesn’t work with the latest dev-branch either. I ran the upgrade to 21.10 as soon as it came out and couldn’t access the web interface 503 error. So I tied reinstalling FOG - Something something PHP. When the latest dev branch of FOG came out (1.5.9.113) I tried the same thing. I didn’t grab any logs (I was being lazy) I just restored the snapshot I took right before I did the upgrade.
-
@Fog_Newb Thanks for letting us know. I can see that we added a version check for 21.x version in the installer scripts and I am sure I tested 21.04. So I thought 21.10 might work as well. I can do a quick test install and fix things.
-
@sebastian-roth Awesome. I can’t wait!
-
@brakcounty Just pushed a fix so FOG
dev-branch
can be installed on Ubuntu 21.10.@Fog_Newb BUT there are still some major issues in the PHP code that need fixing so please don’t go for it just now!! I will work on fixing those when I have more time.
As well I am not sure if upgrading from 21.04 will work out of the box yet. From what @Fog_Newb wrote it seems like it does though I am not sure.
-
@sebastian-roth Sounds good. My NEW secondary FOG server is up and running on 20.04.
-
@sebastian-roth @brakcounty
FOG, the dev-branch has been working fine on 21.04
The other day I updated FOG to 1.5.9.114 on 21.04. Everything was fine .Then just for the heck of it tried updating Ubuntu to 21.10. FOG did not work so I tried installing 1.5.9.114 again.
During the install everything was fine as far as PHP but there was an error updating MYSQL and it was unable to back up the previous FOG install.
-
Every time I turn around, a new linux distro is released. I’ll work on getting the daily install tests updated to use some newer OSs.
-
@wayne-workman said in Install FOG on Ubuntu Server 21.10 issues:
Every time I turn around, a new linux distro is released.
I have a concern about supporting these non-LTS releases since they have a 6 month support cycle by the vendor. It seems like we are constantly chasing our tails here with the rapid release cycle plus supporting 5 or 6 different distros. Not to mention maintaining support for old LTS releases towards the end of their life. You are already validating 20 discrete OS’ now.
-
@george1421 said in Install FOG on Ubuntu Server 21.10 issues:
I have a concern about supporting these non-LTS releases since they have a 6 month support cycle by the vendor. It seems like we are constantly chasing our tails here with the rapid release cycle plus supporting 5 or 6 different distros. Not to mention maintaining support for old LTS releases towards the end of their life. You are already validating 20 discrete OS’ now.
You make a very good point here. I was long hoping to get this solved by re-working the installer scripts to use as little as possible (or even better no) package version information. As far as I can remember most of the problems we see with newer OS versions is that we need to update PHP version numbers. Sure there are some seldom cases where package names or contents changed to cause trouble but I reckon it’s mostly the version issues.
Up until yesterday I though we probably never get to re-work the installer scripts intensely enough to get rid of that but here might be sun rising: https://github.com/FOGProject/fogproject/issues/450
-
Just cross linking github issues here:
https://github.com/FOGProject/fogproject/issues/454
https://github.com/FOGProject/fogproject/issues/453