• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • L

      Feature request: Option to resume/re-run snapins interrupted by an installer-initiated reboot (behavior changed since 1.6)

      Watching Ignoring Scheduled Pinned Locked Moved Feature Request
      7
      0 Votes
      7 Posts
      60 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

    • L

      Feature request: option to run a software item only after the host has been renamed and joined to the domain (with record failed Chocolatey packages)

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved FOG Problems
      7
      0 Votes
      7 Posts
      93 Views
      Tom ElliottT

      @lperoma Thanks, that is the result we wanted: one software run, after the join, with every row stored.

      The failure test. Yes, that is the right test. Make the package exit -1 (or throw). The Software Status row should then show failed with return code -1. Once you see that, you can drop the name check.

      5 minutes against 6 seconds. Nothing in the join code changed between your two server builds. The difference I see is the agent: in the first run it updated itself from 0.1.35 to 0.1.36 during the wait, and the join started about 30 seconds after the new agent came up. In the second run there was no update. So the short wait is the normal case.

      “a provider failed; will retry next poll”. That line is the software wait itself, not a failure. The wording is wrong, and the next agent release logs waiting; will run on a later poll instead. Nothing to worry about.

      Chocolatey without internet. You can host the bootstrap yourself. Set “Chocolatey Install Script” to a copy of install.ps1 on your own server, and “Chocolatey Package Source” to a chocolatey .nupkg you host. Or put Chocolatey in the image. Details: https://docs.fogproject.org/en/latest/management/web/software/

    • W

      Feature Request: Central software package cache for WinGet

      Watching Ignoring Scheduled Pinned Locked Moved Feature Request
      6
      0 Votes
      6 Posts
      73 Views
      Tom ElliottT

      @wbg Thanks, your diagnosis is right, and the two PDO queries made it quick to confirm.

      The cause. The FOG database layer turns prepared statement emulation off, so MySQL refuses a statement that uses the same named placeholder twice. The cache record used :now for both the check time and the cache time. The database layer logs that error and carries on, so the service never saw it. That is why your log says 0 failed. With no row stored, the cleanup found nothing that needed the files and removed all six installers plus the manifest. That is the 7 removed.

      The fix. Each value now has its own placeholder. The same bug was in the code that records a closed user session, so that is fixed too. The test database now refuses a repeated placeholder the same way MySQL does, so this cannot slip through again.

      Fix: https://github.com/FOGProject/fogproject/pull/2317

      To test once it is on dev-branch. Update the server to dev-branch. No schema update and no agent update are needed. You do not need to clean anything up either, because the cache is already empty. On its next run the Release Sync service downloads 7-Zip again and keeps it. The General tab on the 7-Zip entry then shows the cache state.

      LibreOffice. That message is expected. A package with dependencies is not cached yet, so it installs from the internet as before.

      Thanks again for digging into the code. Please post what you see after the update.

    • 1 / 1