FOGProject / fogproject

An open source computer cloning & management system
https://fogproject.org
GNU General Public License v3.0
1.09k stars 221 forks source link

Since Debian Testing/Unstable (between Debian 10-11), Debian 11 (2021) and Ubuntu based on it do not accept the latest FOG stable (1.5.9) #542

Closed Neustradamus closed 1 year ago

Neustradamus commented 1 year ago

Dear @FOGProject team,

Currently latest FOG official release build (1.5.9) and master code do not work with Debian 11 (2021-08-14) and all Ubuntu versions based on Debian Testing/Unstable (between Debian 10 and 11)...

Important : Debian 12 will be released in some months (2023).

The problem exist since a very long time:

It is possible to have a new FOG stable release build to fix it?

For example a 1.5.10 version?

Thanks in advance.

Debian:

Ubuntu:

Linked to:

mastacontrola commented 1 year ago

This mostly seems to revolve around the php-gettext, which is now installed as a basic value of php-common from the repositories with Debian/Ubuntu.

Having to install php-php-gettext is useless from my experimentation.

The issue of 1.5.10 or any "stable" release is stable is a static term. So when we release a build of FOG, it's stable - yes, for the timing and technology (software, hardware, etc....) at that static point in time.

With software constantly changing and OS's constantly updating, stable is a term that is almost pointless to use regarding "forward" thinking.

That said, I think simply removing the requirement of installing the package named php-gettext will fix the issue as it is now installed as a common package on these Debian variant machines.

I'm sure there's more information than just the php-gettext issue, but this has been the "main" thing I've seen on the forums and is corrected in my testing by simply removing this from the packages line in /opt/fog/.fogsettings.

I don't know if @Sebastian-Roth or anybody else has added the php-php-gettext, but hopefully this will help others out in general.

Sebastian-Roth commented 1 year ago

@Neustradamus You are right, should really get out a new release. Keep repeating myself but this is only gonna happen when people actually have the time to do it. Get involved to make it go faster.

There will be a new release this spring but the more people help the sooner it'll be.

The problem exist since a very long time...

Right and it is fixed in the dev-branch version since several months too - reference.

Important : Debian 12 will be released in some months (2023).

Yes, I take this as the main topic here.

@mastacontrola said:

That said, I think simply removing the requirement of installing the package named php-gettext will fix the issue as it is now installed as a common package on these Debian variant machines.

Absolutely.

I don't know if @Sebastian-Roth or anybody else has added the php-php-gettext, but hopefully this will help others out in general.

Don't think so (1 and 2).

Sebastian-Roth commented 1 year ago

@Neustradamus Just tried to do a test install of FOG dev-branch on latest Debian testing. Seems like testing is still too buggy. I was able to manually fix a GRUB install setup issue manually but then on bootup I get the following messages:

/dev/sda1 has unsupported feature(s): FEATURE_C12
e2fsck: Get a newer version of e2fsck!

Have not found a solution to that and so testing dev-branch is not possible yet.

Neustradamus commented 1 year ago

@Sebastian-Roth: When I have tested Debian 11, I had same about GRUB but the problem is not linked to FOG. It is linked to "Legacy" or "UEFI" mode, if I recall.

And the first step is to have a compatible version with Debian 11 (2021).

abulhol commented 1 year ago

I just want to comment that we have been running the dev-branch on several servers with Ubuntu 22.04 for half a year, and we see no issues. So while that's good enough for us, we would also rather install a release version than a dev-branch which is changing over time.

Neustradamus commented 1 year ago

@Sebastian-Roth: Debian 12 "Bookworm" Alpha 2 out:

"FEATURE_C12" bug:

Sebastian-Roth commented 1 year ago

@Neustradamus I have some good news. There seems to be just one simple minor issue left for FOG to run on Debian 12:

$ lsb_release -rs
No LSB modules are available.
n/a

We expect to read the version information using lsb_release which fails to return the version. Adjusting the script to work around this issue I was able to install FOG dev-branch on Debian 12 no problem. A new FOG release is soon to come.

Edit: This behavior is intended and should be "fixed" as soon as Debian 12 is officially released: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008735

Simple workaround: echo "VERSION_ID=12" >> /etc/os-release

Sebastian-Roth commented 1 year ago

I have been using FOG dev-branch on Debian 12 for testing in the last days and it's working all fine. Closing this issue as fixed as we'll release 1.5.10 pretty soon.

Neustradamus commented 1 year ago

@Sebastian-Roth: Thanks a lot!

A lot of new users will arrive with the new OS support :)