• 0 Votes
    7 Posts
    42 Views
    Tom ElliottT

    @Shuttleu Thank you for testing on the HP. That confirms the fix on real firmware.

    The task error after a menu enrollment. This is a FOS bug, not the agent. The menu item runs the enrollment with no task scheduled. When the enrollment finishes, FOS tries to close the task. The server answers “No Active Task found”, and FOS shows an error. The enrollment itself succeeded. The fix is in FOS release 20261106-134043. After a menu run, FOS now says that no task is scheduled and ends normally. The server records the enrollment on the host only when you schedule the task from the web UI.

    FOG Agent. You found the cause. Uninstall keeps C:\ProgramData\FOG on purpose. It holds the machine’s key, its certificate and the trusted CA, so a reinstall keeps the same identity. The reinstall kept the CA of your earlier server, so every connection failed and the token was never used. Agent v0.1.21 fixes this. Setup now checks the stored trust against the server. If it no longer verifies, setup settles trust again like a first install, and the host enrolls again with the token. Until you install v0.1.21, deleting C:\ProgramData\FOG before the reinstall is the right workaround.

    Your server certificate comes from your company CA, which Windows already trusts. So no fingerprint is needed, as the probe said. Leave CAFINGERPRINT out on these machines.

  • IPXE boot no longer works after upgrade to 1.6. Error code 0216eb

    Unsolved FOG Problems
    12
    0 Votes
    12 Posts
    109 Views
    T

    @Tom-Elliott

    Hopefully I’ll have the answer to that question within the next two weeks!

  • FOG Server : Certificate validation failed

    Solved FOG Problems
    12
    0 Votes
    12 Posts
    165 Views
    Tom ElliottT

    @fgaudin Good to hear it works.

    UEFI alone does not need secureboot=1. The setting is only for computers that have Secure Boot turned on in the firmware. With secureboot=0, FOG does not sign its boot files, and a computer with Secure Boot on refuses to boot them.

    If Secure Boot is off on your computers, keep secureboot='0'. If Secure Boot is on, set secureboot='1' and run ./installfog.sh -y. Do not use -C or -K. Each computer then enrolls the FOG key one time at its first PXE boot.

    Install sudo before you set it to 1. The Secure Boot signing helper needs /etc/sudoers.d.

  • 0 Votes
    6 Posts
    86 Views
    F

    @Tom-Elliott All is working now

    Hey Tom, updated to 1.6.0.97 this morning and everything checks out:

    Exports: migrated to /etc/exports.d/fog.exports, and my kubuntu.exports came through untouched.
    SSH keys: fog@fogger key landed in authorized_keys, works on my custom port. Pulled the Match password exception, so the box is key-only again.
    Dashboard: 1.5 history is back, and the Nov 3 runs are on Nov 3 now.
    Capture: new capture shows local time, no asterisk, and moved out of /images/dev over the key with no errors in the log.
    Ports: FOG_SSH_PORT now shows up under FOG Settings → General Settings with my 2416, and the per-node fields are blank, so it falls back to that.

    Seriously impressive turnaround. Thanks for taking the reports seriously and running with them!

  • 0 Votes
    7 Posts
    91 Views
    F

    @Tom-Elliott Hey Tom, updated to 1.6.0.97 this morning and everything checks out:

    Exports: migrated to /etc/exports.d/fog.exports, and my kubuntu.exports came through untouched.
    SSH keys: fog@fogger key landed in authorized_keys, works on my custom port. Pulled the Match password exception, so the box is key-only again.
    Dashboard: 1.5 history is back, and the Nov 3 runs are on Nov 3 now.
    Capture: new capture shows local time, no asterisk, and moved out of /images/dev over the key with no errors in the log.
    Ports: FOG_SSH_PORT now shows up under FOG Settings → General Settings with my port, and the per-node fields are blank, so it falls back to that.

    Seriously impressive turnaround. Thanks for taking the reports seriously and running with them!

  • Fog 1.6 Multiple Sites, Location not working as intended

    Solved FOG Problems
    12
    0 Votes
    12 Posts
    207 Views
    F

    @Tom-Elliott All good! Thank you and keep up the awesome work!

  • Upgrading 1.5 to 1.6 Client to Agent migration

    General Problems
    2
    0 Votes
    2 Posts
    46 Views
    Tom ElliottT

    @astrugatch Short answer: no, the existing FOG Client does not pull the agent by itself. You push the agent with the tool you already use to deploy software.

    What happens when you upgrade the server

    Your legacy FOG Client installs keep working against 1.6. The server still serves the legacy client endpoints, so you can run both while you migrate. Nothing on the server needs to change first. Hosts, groups, snapins, printers, power schedules and module settings all carry over. The legacy Client Updater module is gone in 1.6. So the old client cannot update itself into the agent. The FOG server does not host the agent installer. It comes from the GitHub releases page: https://github.com/FOGProject/fog-agent/releases/latest

    How to move a machine to the agent

    Install the agent MSI on the machine. The MSI finds the legacy “FOG Service” and removes it for you. Do not run the two side by side.

    For a silent push (GPO, PDQ, SCCM/Intune, or a script):

    msiexec /i fog-agent-<version>-x64.msi /qn SERVER=https://your-fog-server/fog CAFINGERPRINT=<fingerprint> TOKEN=<token> /l*v C:\fog-agent-install.log SERVER is your web UI address with /fog on the end. Old scripts that use WEBADDRESS and WEBROOT still work. CAFINGERPRINT is the SHA-256 on the Root row of FOG Configuration → Certificates. Leave it out if your web UI uses a public or corporate certificate that the machines already trust. TOKEN is optional. Create one under Hosts → Agent Enrollment Tokens. With a token, the host enrolls with no click. Without one, each host waits under Hosts → Pending Agents until you approve it.

    The FOG Client page in the 1.6 main menu shows the same command with your server address already filled in.

    Images

    You can put the agent in your image. Capture the machine as it is, no sysprep needed. A deployed clone detects that it is a different machine and enrolls as itself. If FOG deployed to that host in the last 24 hours, the server approves it automatically.

    Docs

    Install and migrate: https://docs.fogproject.org/en/latest/installation/client/install-fog-agent (see “Moving from the legacy client”) What changes for an admin (printers, AD join, user tracking): https://docs.fogproject.org/en/latest/management/web/fog-agent Reference: https://docs.fogproject.org/en/latest/kb/reference/fog-agent-reference Troubleshooting: https://docs.fogproject.org/en/latest/kb/troubleshooting/fog-agent-troubleshooting

    If an install fails, post C:\ProgramData\FOG\fog-agent.log and the msiexec log here.

  • LDAP broken since upgrade to 1.6

    Solved FOG Problems
    9
    0 Votes
    9 Posts
    133 Views
    Tom ElliottT

    @rogalskij Glad to be of help and your finding did notice an issue that was also addressed on the dev-branch so thank you!

  • FOG 1.6.0 Officially released!!!

    Announcements
    1
    0 Votes
    1 Posts
    221 Views
    No one has replied
  • "Detected a web certificate managed outside FOG"

    Solved FOG Problems
    3
    0 Votes
    3 Posts
    77 Views
    R

    @Tom-Elliott As always, thanks for the answer and quick fix 😊

  • FOG 1.6.0-RC-21 Available

    Announcements
    1
    0 Votes
    1 Posts
    117 Views
    No one has replied
  • FOG 1.6.0-RC-20 Avaialble

    Announcements
    1
    0 Votes
    1 Posts
    80 Views
    No one has replied
  • FOG 1.6.0-RC-19 Available

    Announcements
    1
    0 Votes
    1 Posts
    104 Views
    No one has replied
  • Scope preserved NFS no_root_squash warning to image staging export

    Solved Bug Reports
    2
    0 Votes
    2 Posts
    183 Views
    Tom ElliottT

    @sgennadi Thanks for this, and for the detail. You were right: the check matched no_root_squash anywhere in /etc/exports, not just on the /images/dev export.

    It is fixed now, much the way you proposed. The new nfsDevExportHasNoRootSquash() checks only the <share>/dev export. It ignores comments, other exports, and look-alike paths such as /images/dev2. Your ISO export with no_root_squash no longer triggers the warning.

    Issue: https://github.com/FOGProject/fogproject/issues/1988 1.6 (working-1.6): https://github.com/FOGProject/fogproject/pull/1989 (merged) 1.6 RC: https://github.com/FOGProject/fogproject/pull/1990 (merged) 1.5 dev-branch: https://github.com/FOGProject/fogproject/pull/1991 (merged)

    To get it now, pull dev-branch (1.5) or rc-1.6.0 (1.6) and re-run the installer. It reaches the 1.5 stable branch with the monthly roll-up on November 11th.

    The warning was only a message, so your exports were never changed. If /images/dev is already all_squash, you can ignore it until then.

  • PHP Vulnerability Question

    General
    9
    0 Votes
    9 Posts
    596 Views
    Tom ElliottT

    @Dominique I can’t promise that, no.

    1.5.10 is the original release, and it is a long way behind now. It was built and tested against PHP 7.x. It may run fine on PHP 8, but I don’t know which PHP 8 version, if any, would be safe for it.

    What we do know works on PHP 8 is the current stable branch. Here is how the branches fit together:

    master is the official 1.5.10 release. We don’t work on it directly. dev-branch is where all the bug fixes and maintenance happen. stable gets everything from dev-branch rolled into it once a month.

    So stable is 1.5.10 plus a few years of fixes, PHP 8 support among them.

    If you want to move to PHP 8 before 1.6.0 comes out, I’d do it in this order:

    Snapshot the server first, so you can roll back. Update FOG to the stable branch and run the installer. Do this while you are still on PHP 7.2. Then move PHP to 8.2. On Red Hat 8 the installer will not do that for you; it installs whichever PHP module is enabled. Run dnf module reset php then dnf module enable php:8.2, then dnf distro-sync. Re-run the FOG installer, so it picks up the new PHP packages. Test the web console, a host registration, and a unicast and a multicast deploy before you call it done.

    Since this is production, your plan to wait for 1.6.0 and try the RC in a test environment first is a good one too.

  • FOG 1.6.0-RC-18 Available

    Announcements
    1
    0 Votes
    1 Posts
    103 Views
    No one has replied
  • [1.6.0-beta.5547] Uploading Snapin fails with 500

    Solved FOG Problems
    4
    0 Votes
    4 Posts
    395 Views
    W

    @Tom-Elliott Thanks fo the quick reply!
    I did rerun the installer today and it seems to be working now, thanks a lot for the quick feedback and fix!

  • 1.6 Migration via new Install with no DB Transfer

    Solved FOG Problems
    4
    0 Votes
    4 Posts
    371 Views
    Tom ElliottT

    @Coolguy3289 I believe we fixed the problem, please confirm and I can solve this thread, thank you!

  • FOG 1.6.0-RC-17 Available

    Announcements
    1
    0 Votes
    1 Posts
    142 Views
    No one has replied
  • Access denied: Master node

    Solved FOG Problems
    7
    0 Votes
    7 Posts
    318 Views
    Tom ElliottT

    @piaFOG26 Are you able to confirm if things are now working for you?