• Feature Request: Central software package cache for WinGet

    9
    0 Votes
    9 Posts
    145 Views
    W

    @Tom-Elliott Hi,

    I tested the fix across 95 Windows computers in our school environment. All ten packages (7-Zip, Firefox ESR, PDFgear, VLC, Audacity, GIMP, Krita, Inkscape, Temurin JDK 17 and BlueJ) were successfully cached.

    I confirmed installer downloads from the local FOG server in the Apache logs. The previous manifest errors are gone, and the software updates are working.

    Thank you for the quick fix and your excellent work!

  • 0 Votes
    20 Posts
    531 Views
    L

    @Florent This exactly what FOG does now. It identifies devices from their S/N and UID. Not from eth adapters, USB or otherwise.

  • 0 Votes
    7 Posts
    84 Views
    Tom ElliottT

    @lf88 Good point about the 8 reboots. Each snapin now has its own limit.

    The snapin edit page has a new field, Max reboot re-runs. The range is 1 to 20, and the default is 5. Existing snapins keep 5. There is no global setting, because the right number depends on the installer. For TIA Portal, set it to 10.

    This is on dev-branch now (schema 493). If you updated to dev-branch before this post, update once more, then run the schema update. The agent does not change: 0.1.38 is still the version you need.

    When a task uses up its limit, it fails with “Reboot and run again limit (N) reached.” in the task details.

    Details: https://docs.fogproject.org/management/web/snapins#return-codes

  • 0 Votes
    4 Posts
    161 Views
    Tom ElliottT

    @sgennadi Thanks for the PHP 8.6 report.

    You are right: CI tested only PHP 7.4 and 8.3. CI now also runs the full test suite on PHP 8.4 and 8.5 for every change. Both pass today. A failure on 8.4 or 8.5 shows as a warning and does not block a change or a release. I will add 8.6 when the CI tooling supports it.

    The tested versions are now on the requirements page: https://docs.fogproject.org/installation/server/requirements#php-versions

    I will not add a “latest verified PHP” value to the installer. Somebody must update that number by hand at every PHP release, and a stale number warns about versions that work. The docs table changes when the CI matrix changes, so it stays correct.

    FOG sets no maximum PHP version. If a newer PHP gives you an error, please post the output of php -v and the last lines of the PHP-FPM error log.

  • Feature Request — Automatic Root SSH Authentication for FOS Debug Tasks

    2
    0 Votes
    2 Posts
    66 Views
    Tom ElliottT

    @sgennadi Thanks for the detailed write-up. You are right that FOS already runs sshd and allows root login. The only gap is that root has no credential you can use remotely.

    I filed this as https://github.com/FOGProject/fogproject/issues/2193 with a key-only design:

    You put one or more SSH public keys in a FOG setting. When a debug task starts, FOS fetches the keys and installs them for root. FOS shows the IPv4 and IPv6 addresses on the console, so you can connect right away. Normal deploy, capture, and registration tasks never install the keys.

    A public key is not a secret, so it can reach FOS without any protected delivery. A root password is different. It needs a protected way to reach FOS, and a kernel argument would expose it. So a configured password and a random password for each task are out of scope for now. Each can be its own request after the key version ships.

    Until then, the workaround is the one you already use: run passwd at the debug console, then connect with SSH.

  • Feature Request - Email Test Feature

    3
    0 Votes
    3 Posts
    2k Views
    rogalskijR

    @Tom-Elliott Thank you for implementing this into 1.6.1, once we are back on campus I’ll get this updated and tested.

    Small meaningful additions like this, and the thoughtful nature of this project as a whole are a relief in an otherwise indifferent technological industry.

  • Imaging Log for unregistered hosts

    4
    0 Votes
    4 Posts
    2k Views
    Tom ElliottT

    @DBCountMan Both parts of this are planned for FOG 1.6.1. They are not in 1.5.x, so you will need to upgrade to 1.6 to get them.

    Imaging log for unregistered hosts

    A deploy or a multicast join from the iPXE menu on an unregistered (or pending) host now creates a real task. That task:

    shows in Active Tasks with full progress, like a registered host, under the name <MAC> (unregistered) records the menu user who started it, so you can see who deployed appears in Reports > Imaging Log with the MAC address, the image, the user, and the result

    This needs the FOS (init) that ships alongside 1.6.1. The installer pulls the latest FOS. With an older init the imaging still works, but the task never gets a report back, and it closes as “No Report” after 24 hours.

    Forcing registration before a deploy

    Go to FOG Configuration > iPXE Menu, then open “Deploy Image” and “Join Multicast Session”. Set “Menu Show with” to “Registered Hosts”. Before this change, that setting only hid the menu item. In 1.6.1 the server also refuses the deploy or join for an unregistered host, so someone cannot get around it by calling the menu option directly.

    Also in 1.6.1: when you pick “deploy image now” during Full Registration, the machine images in the same boot. It no longer reboots back through PXE first.

  • Avoid running tasks when in audit mode

    7
    0 Votes
    7 Posts
    4k Views
    Tom ElliottT

    @AlexisPHC Following up on this one. FOG 1.6 ships with the new FOG Agent, which replaces the legacy FOG Client. From agent version 0.1.23, the agent reads HKLM\SYSTEM\Setup\State\ImageState and does nothing until Windows setup reports itself complete. That includes audit mode. A machine in audit mode does not enroll, check in, join the domain, run snapins, or reboot. You can leave the service enabled through Sysprep. You no longer need to disable it or start it from SetupComplete.cmd.

    The legacy FOG Client does not have this check. With the legacy client, disable the service as described earlier on.

    Details: https://docs.fogproject.org/en/latest/installation/client/install-fog-agent/#sysprep

  • 1 Votes
    2 Posts
    1k Views
    Tom ElliottT

    @takeit FOG 1.6.0 can do this. A booting machine is matched on its SMBIOS identity as well as its MAC: system UUID, system serial, board serial, and chassis asset tag.

    It is controlled by one setting: FOG Configuration > FOG Settings > General Settings > FOG_HOST_IDENTIFY_SMBIOS.

    Off: MAC only, the old behavior. Log (the default): the MAC still decides. Every disagreement between the MAC and the firmware is written to the web server error log. Enforce: a unique firmware match wins over the MAC.

    For your case (one laptop, a different dongle each time):

    Upgrade to 1.6.0. Make sure each laptop has an inventory record. A full registration or an inventory task captures the SMBIOS values. Leave the setting on Log for a while and read the error log. Some firmware reports junk identifiers, for example every board of a model with the UUID FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF. A value that is not unique is not used for matching, but it is good to know what your hardware reports. Switch to Enforce. A laptop that boots on an unknown dongle MAC then resolves to its existing host by its firmware identity.

    If you share one dongle between many laptops (the opposite case), the next release adds a Register mode for that. It is on dev-branch now.

  • Kea DHCPv6 / IPv6 PXE

    3
  • Feature Request: Add Storage Node IP setting to .fogsettings

    3
    0 Votes
    3 Posts
    153 Views
    Tom ElliottT

    @sgennadi One addition: the installer now also moves FOG_WEB_HOST the same way as FOG_TFTP_HOST. It changes the value only when it still holds the old address. A host name you set there stays.

    This matters because iPXE builds every boot URL after boot.php from FOG_WEB_HOST, and the FOG client uses it as the server address. Before this change, a server on plain HTTP netboot kept the old address there after a move.

    This change is in review now (#2137). It reaches dev-branch when that merges, and stable with the next stable release.

  • 0 Votes
    2 Posts
    144 Views
    Tom ElliottT

    @lperoma Thank you for the detailed write-up. The detection notes made this quick to scope.

    FOG 1.6 covers this as follows:

    FOG Client cannot authorize. This was the real gap, and a pull request now adds it: https://github.com/FOGProject/fogproject/pull/2089. The server records each host whose client fails the handshake: since when, how many times, the source address and the reason. A new list report, Reports > Client Authentication Failures, shows them with the fix next to each one. A host leaves the list when its client authenticates again. Two reasons are recorded:

    The security token does not match. Reset Encryption Data fixes this. The server cannot decrypt the client’s key. This means the certificate the server publishes for clients does not pair with its private key, so every host fails at once. A reset does not help. Running the installer with --recreate-keys issues a new pair.

    One case stays invisible to the server. A client that trusts a different FOG CA refuses the server’s certificate and never sends a login, so there is nothing to record. Its fog.log shows “Certificate is not from FOG CA”.

    Rejected iPXE menu logins. 1.6 already records each rejected login in the audit trail, with the username and the address. Look under Reports > Audit Report.

    Hosts with no contact. 1.6 stores the last check-in and the last ping for each host. Fleet Report shows the last check-in, so you can sort on it.

    All of this is 1.6 only. 1.5.x does not get these changes, so your script remains the answer there until you move to 1.6.

  • FOG web interface tuning

    Moved Solved
    2
    0 Votes
    2 Posts
    2k Views
    Tom ElliottT

    @heix75 No.

    Not because it’s not a QOL improvement (it is) but because what you see in 1.5.x.x is NOT what is the end goal.

    If you want to see what the UX is moving toward install the version of FOG on working-1.6.

    You’ll understand (I hope), then, why I’m saying this.

  • Official Docker Container

    14
    0 Votes
    14 Posts
    14k Views
    8

    I know this is an ancient topic, but I wanted to make sure I updated anybody who was interested in a docker image to my new one.

    please check my post here

    https://forums.fogproject.org/topic/18000/unofficial-docker-image-beta

  • Docker image and external Mysql database extension

    8
    0 Votes
    8 Posts
    9k Views
    8

    @ramone

    I got your message on the github repo. In regards to the DHCP issue, I’ve updated the code and it should work now. Please test and follow up in the issue thread. Please note that some of the variables in the .env file have changed so you might want to review that before starting it up.

    thanks!!

    88

  • QuickReg - Apply AD Settings

    4
    0 Votes
    4 Posts
    3k Views
    A

    @Tom-Elliott What’s the difference between the full and quick registration processes then? because AD join exists in full, but not in quick…

  • Official Docker Image

    11
    3 Votes
    11 Posts
    19k Views
    8

    Not sure if anybody has actually had a chance to look at my docker image yet. I’m throwing my hat in the ring for maintaining an official image, but I’d need some help with it.

  • Unofficial Docker Image *BETA*

    2
    1 Votes
    2 Posts
    5k Views
    8

    Because I’m not affiliated with FOG in any official capacity and I’ve never actually contributed to it in any way before, I completely avoided making any actual changes to the source. I have noticed that there could be a couple of things that could make the docker implementation a little easier though, specifically around the FOG services themselves. I’m not entirely sure they are completely container friendly, but I really need more hands on this to test it out thoroughly.

    Also, I used Debian 13 as the base image for this and it ends up being pretty large (2.5GB). It might be possible to shrink this with alpine-linux but I didn’t want to break a bunch of stuff and then have to spend more time chasing those bugs. Anybody that wants to work that angle, please feel free.

  • Create a Docker Container

    2
    0 Votes
    2 Posts
    4k Views
  • Snapin without file / Just execute command?

    7
    0 Votes
    7 Posts
    6k Views
    A

    Haven’t really found a great fix here, I’d love to get some logging to work. But this seems to be working better than before. It moves the argument from the calling command and embeds it into the Snapin Arguments:

    Snapin Type: Normal Snapin Snapin Run With: powershell.exe Snapin File (exists): runCmd.ps1 Snapin Arguments: "%ProgramFiles%\FusionInventory-Agent\Uninstall.exe /S"

    the command in runCmd.ps1 then no longer passes an argument so needs to be changed to:
    start-process -filepath "$exe"

54

Online

12.8k

Users

17.7k

Topics

157.6k

Posts