Categories

  • 13k Topics
    115k Posts
    A

    @Tom-Elliott Perfect, thanks again!

  • Get the latest news on what's happening.
    208 Topics
    849 Posts
    Tom ElliottT

    FOG 1.6.1 is released. It is on the stable and master branches, and the tag is 1.6.1.

    Upgrade from your FOG source checkout:

    sudo bin/updatefog.sh --channel stable

    Or run git pull on stable, then bin/installfog.sh. The schema moves from 446 to 473, so the web UI asks for the schema update after the upgrade. Installs from master use FOS 1.6.1.

    Highlights

    IPv6: IPv6 listeners, opt-in DHCPv6, boot to the IPv6 address, and multicast over IPv6. FOS 1.6.1 adds IPv6 and udpcast over IPv6. Software management through the fog-agent, per host and per group, with Flatpak, Snap, and winget. Storage nodes: deploys balance across a group, and a full node overflows at PXE boot. AD rejoin and OU placement for deployed images. Roles can limit the networks their members use the web UI and API from. The Imaging Report records deploys and multicast joins to unregistered hosts. “Deploy image now” after Full Registration deploys with no reboot. MySQL 8.0.13+ installs and upgrades.

    Security: 1.6.1 is the first stable release with the fix for GHSA-q38j-qx5x-w25v (a Legacy Restricted user could read the AD join password and product keys). If you moved to the Patches channel to get that fix early, you can switch back with --channel stable.

    Offline installs: the installer now downloads udpcast from FOGProject/udpcast and checks its sha256. Put udpcast-v20250223-fog.1.tar.gz and its .sha256 in packages/ before you run the installer.

    Thank you to ASPePeX on GitHub for the OIDC trailing-slash fix (fog-plugins #49), and to everyone who tested and reported issues.

    Full release notes: https://github.com/FOGProject/fogproject/releases/tag/1.6.1

  • View tutorials or talk about FOG in general.
    2k Topics
    19k Posts
    Tom ElliottT

    @DBailey635 Good questions.

    Release: waiting for stable is sensible. The stable channel gets a release on the 11th of each month, and this feature is in the next one, on December 11.

    Check-ins: both OSes share one host and one hostname. The host list shows the most recent check-in from either OS. The host’s edit page lists each OS on its own line, with its agent version, last check-in, and certificate expiry. So you can see when Windows and Linux each last checked in.

    Separate hostnames for the domain join: not today. FOG applies the host’s one name to every OS, and the domain join follows the Windows install. A per-OS suffix (host01-win / host01-lnx) is a reasonable feature request. It needs a second computer account per machine, so it is not a small change.

    Deploy window: the default is 24 hours after FOG completes a deploy to the host. You can change it in FOG Configuration > FOG Settings > General Settings > FOG_AGENT_ENROLL_DEPLOY_WINDOW (in hours). A longer window does work, but for that whole time any machine that presents that host’s identity enrolls with no approval. For an OS that first boots months later, two better routes:

    Approve it when it shows up. The second OS waits in pending agents until you approve it, and it keeps retrying, so a student’s first boot just queues it. Put an agent enrollment token in the Linux image’s agent install (--token). Give the token enough uses and an expiry past the point where the course switches OS. The agent then enrolls on its first boot, whenever that is, without an approval click.

    No need to walk the room after imaging.

  • Report bugs, request features, or get the latest progress.
    2k Topics
    21k Posts
    S

    @Tom-Elliott
    Subject: PHP Compatibility — Minimum Version, Latest Tested Version, and PHP 8.6 Feedback

    Hi Tom,

    Thank you for implementing the PHP pre-installation checks in PR #2154 and addressing the issue discussed in forum topic #18333.

    I have one additional suggestion regarding PHP compatibility, especially with newly released PHP versions.

    Our experience with PHP 8.6

    We are currently running FOG with PHP 8.6, and so far the main FOG functions appear to be working correctly.

    We have not encountered any obvious compatibility problems during normal use.

    However, I would not consider this a complete compatibility test, since we have not systematically verified every FOG feature, plugin, and background operation.

    Minimum supported vs. latest tested PHP version

    I noticed that FOG currently requires PHP 7.4 or newer.

    The new installer checks the minimum version and ensures that matching PHP CLI and PHP-FPM versions are available.

    However, there is currently no upper compatibility boundary.

    For example, PHP 8.6 passes the minimum-version check even though it may not yet have been fully tested with FOG.

    I also checked the current GitHub Actions configuration and noticed that automated PHP tests run on PHP 7.4 and 8.3, while PHPStan currently analyzes the PHP 7.4–8.3 range.

    This raises a question:

    How can administrators determine which is the latest PHP version officially tested and verified with FOG?

    Suggested improvement: PHP compatibility matrix

    Would it be possible to maintain a small PHP compatibility matrix for the current FOG release and development branch?

    For example:

    PHP Version Compatibility
    PHP 7.4 Minimum required
    PHP 8.3 Tested in CI
    PHP 8.4 Verification needed
    PHP 8.5 Verification needed
    PHP 8.6 Basic functionality working in our environment; full verification pending

    Ideally, the status should be generated from actual automated test results rather than maintained manually.

    Extend GitHub Actions testing

    Could the existing CI workflow be extended to test newer PHP versions?

    For example:

    PHP 7.4 — minimum compatibility. PHP 8.3 — existing test coverage. PHP 8.4 — compatibility testing. PHP 8.5 — compatibility testing. PHP 8.6 — latest stable release testing.

    It would also be useful to test PHP-FPM and the extensions required by FOG, not only PHP CLI.

    This would help identify compatibility issues early when a new PHP release becomes available.

    Show the latest verified PHP version during installation

    Another useful improvement would be for the installer to display:

    FOG PHP Compatibility Check
    Installed PHP: 8.6.0
    Minimum required PHP: 7.4
    Latest verified PHP: 8.x
    PHP version check: PASSED
    Compatibility status: Not yet fully verified

    The Latest verified PHP value should come from maintained compatibility information backed by successful tests.

    If the installed PHP version is newer than the latest verified version, I would suggest displaying a warning rather than blocking the installation.

    This would be particularly useful on distributions that ship newer PHP versions before FOG’s CI matrix has been updated.

    Possible future enhancement

    Perhaps FOG could maintain a machine-readable compatibility file containing:

    Minimum required PHP version. PHP versions covered by automated tests. Latest successfully verified PHP version. Known incompatibilities or limitations. Compatibility information for the current FOG release and dev-branch.

    The installer could use this information to provide accurate guidance without requiring administrators to search GitHub issues or forum posts.

    Main goal

    My goal is not to introduce an arbitrary maximum PHP version or prevent users from running newer versions.

    Instead, I would like FOG to distinguish between:

    Minimum required PHP version. Latest PHP version tested successfully. Newer PHP versions that may work but have not yet been fully verified.

    Since PHP 8.6 is already working for our main FOG operations, it would be useful to include it in the official compatibility testing matrix.

    Would you consider adding newer PHP releases to CI and providing administrators with an indication of the latest verified version?

    Thank you again for your work on FOG and the recent improvements!

34

Online

12.8k

Users

17.7k

Topics

157.6k

Posts