• Regenerate certificate on each installation.

    Unsolved FOG Problems
    2
    0 Votes
    2 Posts
    24 Views
    M

    And I can’t add any hosts—whether via the web interface or by booting over the network—; ultimately, the new host doesn’t appear in the database…

    Failed to query: Error: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column `fog`.`moduleStatusByHost`.`msHostID` at row 1 Error Message: Error Code: "22007", Error Message: ["22007",1366,"Incorrect integer value: '' for column `fog`.`moduleStatusByHost`.`msHostID` at row 1"], Debug: SQL: [629] INSERT INTO `moduleStatusByHost` (`msHostID`,`msModuleID`,`msState`) VALUES (:hostID_0,:moduleID_0,:state_0),(:hostID_1,:moduleID_1,:state_1),(:hostID_2,:moduleID_2,:state_2),(:hostID_3,:moduleID_3,:state_3),(:hostID_4,:moduleID_4,:state_4),(:hostID_5,:moduleID_5,:state_5),(:hostID_6,:moduleID_6,:state_6),(:hostID_7,:moduleID_7,:state_7),(:hostID_8,:moduleID_8,:state_8),(:hostID_9,:moduleID_9,:state_9),(:hostID_10,:moduleID_10,:state_10),(:hostID_11,:moduleID_11,:state_11),(:hostID_12,:moduleID_12,:state_12) ON DUPLICATE KEY UPDATE `msHostID`=VALUES(`msHostID`),`msModuleID`=VALUES(`msModuleID`),`msState`=VALUES(`msState`)
  • REFInd-Initializing - hangs

    FOG Problems
    43
    0 Votes
    43 Posts
    26k Views
    D

    Just fyi, I resolved my issues with this by turning off DMA protection in the bios/uefi.

  • Image copy hangs at start of copy - PXE boot OK

    Unsolved FOG Problems
    5
    0 Votes
    5 Posts
    76 Views
    T

    @Tom-Elliott I did update to version 1.6.2254 and the first multicast that worked was the first one I tried after the upgrade. This second one is now hanging like the one that prompted this thread.

    Where in the logs can I find any clues?

  • From /images/dev to /images issue

    Unsolved FOG Problems
    5
    0 Votes
    5 Posts
    283 Views
    C

    Encountered the same issue, version: 1.5.10

    I can successfully capture the image and then see the size of it in the web panel but then it’s not being moved to /images/ by fog. Requiring me to move them manually which works but I’m kinda concerned.

    FTP works fine even though I am afraid I don’t understand why I need FTP to move some files inside a directory on a singular server.

  • FOG Secure Boot with Shim

    Tutorials
    24
    2 Votes
    24 Posts
    14k Views
    K

    @Tom-Elliott Just a thought, was reading through the docs and I noticed that because of the adhereance to stock iPXE 2.0 netbooting with HTTPS is disabled by default. This may be a little too complicated so I’d get avoiding this, but you could probably work around this by nesting shim and iPXE to boot a custom signed iPXE. It would work something like this:

    Netboot iPXE 2.0 normally with it’s shim Use autoexec.ipxe with the shim command to reload that shim Using autoexec.ipxe chainload a custom build of iPXE 2.0 that has the FOG certificate bundled and trusted.

    If the binary chained isn’t already trusted, I believe you should be able to use some scripting to then automatically chain in mokmanager or fallback to chaining via http.

    Provided you use the normal FOG signing keys, this should work fine, though it does mean having two shims. It may be worth it to close that small gap in HTTPS. Both the shim and custom iPXE could be chain loaded via TFTP. It does add a little more complexity to the signing and boot process but I figured it was worth mentioning, as having HTTPS wherever possible does seem valuable.

  • atheros ipxe woes "No configuration method succeeded"

    Unsolved FOG Problems
    3
    0 Votes
    3 Posts
    89 Views
    C

    @Tom-Elliott thanks Tom - using the excellent fog-docker from 88fingerslukee - so will wait to hear his response

  • How to upgrade to FOG 1.6?

    General
    10
    0 Votes
    10 Posts
    310 Views
    Tom ElliottT

    @Valer This should be fixed in latest/greatest

  • Will not PXE boot when in Windows 10

    Unsolved Windows Problems
    2
    0 Votes
    2 Posts
    54 Views
    V

    What version of FOG are you running?

  • FOG 1.6 own plugin

    General
    2
    0 Votes
    2 Posts
    119 Views
    Tom ElliottT

    @Valer I think we need to understand what this plugin is doing.

    CSS isn’t something we’ve allowed to be injectable though it could be.

    You can still use your own CSS but that’s more at the FOG Configuration -> FOG Setting -> FOG_THEME, but you would need to put it on your server in a location you type the path too here.

    https://docs.fogproject.org/en/latest/development/plugin-development

    This is a good toolkit for understanding how to build your own plugin.

  • Upgraded from FOG 1.5.9 to 1.5.10.1903 and having issues

    Unsolved FOG Problems
    28
    0 Votes
    28 Posts
    1k Views
    Tom ElliottT

    @Strahd Have you been able to make progress?

  • 0 Votes
    3 Posts
    237 Views
    L

    @Tom-Elliott Hi, Yes with the proposed fix, it works now.

  • 0 Votes
    3 Posts
    186 Views
    E

    @Tom-Elliott
    The fix worked perfectly! The menu issue is now resolved.

    Thanks for the support!

  • Storage Node says invalid configuration on FOG dashboard

    Solved FOG Problems
    5
    0 Votes
    5 Posts
    133 Views
    F

    @Tom-Elliott Hi! I updated my FOG server to latest beta-branch version: 1.6.0-beta.3197. I also updated my storage node to 1.6.0-beta.3197. This fixed the invalid path issue I was having. Thank you for the help!

    1a0e5491-b776-49fe-9fbf-d2bc40087f78-image.png

  • 0 Votes
    2 Posts
    100 Views
    Tom ElliottT

    @rpycroft Please attempt to update to 2231.

  • 0 Votes
    6 Posts
    246 Views
    R

    @Tom-Elliott

    Thanks so much for your help with this. Happy to feed back any info I can so please do let me know if there’s anything else you need me to test. Will be on annual leave for a couple of weeks after this and have no access to the systems but I think this confirms your suspicion. Please see results below from a Dell OptiPlex 3070:

    Addresses on this machine:

    NIC: 01:00.0 (Realtek RTL8168h)
    Root port: 00:1c.0

    UEFI mode:

    setpci -s 01:00.0 CAP_EXP+10.w = 0142 (last digit 2 = L1 enabled)
    setpci -s 00:1c.0 CAP_EXP+10.w = 0c42 (last digit 2 = L1 enabled)

    Legacy/CSM mode:

    setpci -s 01:00.0 CAP_EXP+10.w = 0040 (last digit 0 = ASPM off)
    setpci -s 00:1c.0 CAP_EXP+10.w = 0c40 (last digit 0 = ASPM off)

    Dell’s UEFI firmware enables L1 on both the NIC and root port. The Legacy/CSM path leaves both off. The only difference between the two readings is those two ASPM bits. Everything else in the register is identical.

    Thanks for the nudge to run these. Anything else needs testing please do let me know. We love using FOG and it’s invaluable in our set of schools that we work in at least so please do keep up the great work!

  • 0 Votes
    12 Posts
    459 Views
    F

    @Tom-Elliott Tom, looks like everything has been resolved after going from 2144 to 1.5.10.2218! No errors and I was able to capture no problem. Thanks

  • Linux Client Install Dual Nics

    Unsolved Linux Problems
    10
    0 Votes
    10 Posts
    5k Views
    Mr_____TM

    @JasonNaughton

    Hi, I noticed that this was unresolved after so long. Wonder if you have solved it?
    I recently stumbled across the man page for dhcpcd.conf. In there is a denyinterfaces (pattern) should solve the issue for you. It tells dhcpd to ignore the nic interfaces listed in pattern. Just was wondering if you found the fix otherwise hope this helps.

  • Version 1.6.0-beta.3187 ipxe 2.0.0.x problems

    Solved Bug Reports
    10
    0 Votes
    10 Posts
    251 Views
    S

    Working 👍

  • Fog 1.6.0-beta.2141 remove folder with image

    Solved Bug Reports
    5
    0 Votes
    5 Posts
    3k Views
    S

    ** WARNING: /etc/exports still exports with no_root_squash.
    ** Captures land as root, so moving the image out of
    ** /images/dev fails with ‘550 Rename failed’.
    ** Replace the /images/dev export options with:
    ** all_squash,anonuid=1002,anongid=1002

    Fixed problem

  • Raspberry Pi 4 unable to pxe boot

    Bug Reports
    8
    0 Votes
    8 Posts
    3k Views
    L

    Hi everyone, / @george1421

    I’ve been trying to capture the SD card of a Raspberry Pi 4 and I’ve hit a wall. I am booting via a USB stick using the EDK2 UEFI firmware, and I have explicitly set the System Table Selection to <Devicetree> in the UEFI settings.

    I managed to get past the iPXE phase without issues, and the capture task successfully loads the FOS kernel and init. However, the boot process stops right after with the following error (see attached image):
    No network interfaces found, your kernel is most probably missing the correct driver!

    Current Setup & Debug info:

    FOG version: 1.5.10.2149

    Hardware: Raspberry Pi 4 (trying to capture the built-in SD card)

    Boot method: USB stick with UEFI firmware

    Kernel version: 6.18.38

    Init version: 20260726

    (No PCI network hardware detected - obviously, as it’s the SoC’s built-in NIC)

    I think it seems the current experimental ARM kernel is missing the built-in Pi 4 network driver (bcmgenet). Unfortunately, using an external USB-to-LAN adapter is not an option for me, as the UEFI firmware refuses to boot from it in my environment.

    My question is:
    Given that I am booting from a USB stick and making it exactly to this point in the capture task, is there any chance or workaround to successfully capture the Pi 4’s SD card? Is there a custom/specific kernel available that includes the built-in Pi network driver, or any other method I can use to bypass this missing driver issue?

    Any help or guidance would be greatly appreciated!
    20260803_152648.jpg