• iPXE build failing

    Unsolved FOG Problems
    7
    0 Votes
    7 Posts
    81 Views
    Tom ElliottT

    @astrugatch Okay thanks and sorry there was that issue.

    Can you pull and try installing again?

    Thank you!

  • 0 Votes
    1 Posts
    27 Views
    No one has replied
  • FOG Project Image Capture on Raspberry Pi 4 (ARM64) via U-Boot

    Unsolved FOG Problems
    15
    0 Votes
    15 Posts
    216 Views
    Tom ElliottT

    @Jeremy Last time I told you FOG’s server had no U-Boot support and your two
    options were to keep hand-rolling it or put UEFI firmware on the Pi. That’s no
    longer true - I built the server side. It’s merged into working-1.6 as of
    1.6.0-beta.4318, so update and you’ll have it.

    There’s a new endpoint:

    http://<fogserver>/fog/service/uboot/boot.php?mac=<the Pi's MAC>

    It answers with an extlinux.conf-style document, computed live from the
    database. If the host has a task queued you get kernel/initrd/append for FOS;
    if it doesn’t, you get localboot and U-Boot falls through to the disk. Fetch it
    with curl first - the whole thing is plain text and readable, which is the
    point.

    On the Pi:

    dhcp setenv pxefile_addr_r 0x02000000 wget ${pxefile_addr_r} http://<fogserver>/fog/service/uboot/boot.php?mac=${ethaddr} pxe boot ${pxefile_addr_r}

    Use pxe boot, not sysboot. Every extlinux example you’ll find online shows
    sysboot, and it’s wrong here - sysboot reads a config off a filesystem on a
    block device, so it can’t see what wget just put in memory and does nothing
    visible. That’s the one I’d expect to catch people out.

    This should also fix your truncation. “Unknown request type :: Null” was $type
    arriving empty because your bootargs were being cut short, and I pointed at
    U-Boot’s command buffer rather than the kernel. pxe boot doesn’t go through
    that buffer - it parses the append line out of the loaded file straight into
    bootargs, so the ceiling you were hitting isn’t in the path any more. Worth
    confirming, since I’m reasoning about your build rather than looking at it.

    Two deliberate omissions, both because they’re properties of your board and not
    of FOG:

    FOG serves no device tree. No fdt or fdtdir directive, so you keep the tree at
    ${fdtcontroladdr} - the one VideoCore just built for the exact board revision
    it’s running on, which is better than anything I could serve you. Load
    addresses stay yours for the same reason.

    And FOG writes no pxelinux.cfg files. The endpoint is stateless: the board asks
    by MAC and gets an answer out of the database, so there’s nothing on disk to
    drift from what’s actually queued and nothing to clean up when a task finishes.

    One thing to check before you start: if your FOG install has netboot set to
    HTTPS, none of this will work. U-Boot’s wget is HTTP-only with no TLS at all,
    so it can’t even fail a certificate check - the redirect just ends the boot with
    nothing on screen. The installer now exempts service/uboot/ from the HTTP-to-
    HTTPS redirect the same way it does service/ipxe/, but only when netboot is
    configured for HTTP in the first place.

    Full write-up is in docs/UBOOT_ARM_BOOT.md in the repo.

    Being straight about what this is: the emitted config is pinned byte-for-byte
    by tests and the decisions behind it are the same code the iPXE path runs, so I
    know FOG emits what I intended. What I can’t tell you is that a real U-Boot
    consumes it, because nobody here has a Pi. You’re the only person who can prove
    that, and if it’s wrong I’d rather hear it than not.

  • Failed to Update Database and Host

    Unsolved FOG Problems
    22
    0 Votes
    22 Posts
    319 Views
    Tom ElliottT

    @maxcarpone I would ask you, if you’re daring/willing (it’s considered beta but uses the same pipeline with a lot more modern ui, I need people testing, and Fog_newb can likely attest the new ui look and feel though I think they ran into an issue and needed to get functional right away so the snapshotted back)

    Upgrade to working-1.6.

    I have a goal (along with @JJ-Fullmer ) to try to get working-1.6 to be master/stable branch by October.

    1.6 has been “stagnant” since around 2017 and was in relatively stable grounds back then even.

    With AI (as you undoubtly can see I’m using to help drive some things) it’s allowed us to get a lot more coding/refactoring and will hopefully present a much better experience of things on the UI side. Without testing I cannot fix UI bugs though.

    AI can do some cool things, but it doesn’t know what “wrong/right” looks like, and JJ and I are only 2 people.

    There are others on working-1.6 but more feedback is always good.

  • Fog - Supported OS

    Unsolved FOG Problems
    3
    0 Votes
    3 Posts
    91 Views
    J

    Thank you Tom, I got updated to Working-1.6beta.4105 and that issue is fixed. Not sure if it is just this particular install or not.

    Some Issues I am noticing is Host registration is not showing up whether from the fog menu or the client. I can see it is trying but does not appear to be writing to sql.

    36f170d3-0a3b-4de3-b327-4233bc53534b-image.png

    Deployment: Getting invalid mac errors it seems on all devices. The task seems to be populating alright.

    No viable macs to use

  • Regenerate certificate on each installation.

    Unsolved FOG Problems
    2
    0 Votes
    2 Posts
    73 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`)
  • atheros ipxe woes "No configuration method succeeded"

    Unsolved FOG Problems
    3
    0 Votes
    3 Posts
    116 Views
    C

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

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

    Unsolved FOG Problems
    5
    0 Votes
    5 Posts
    131 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?

  • Will not PXE boot when in Windows 10

    Unsolved Windows Problems
    2
    0 Votes
    2 Posts
    89 Views
    V

    What version of FOG are you running?

  • 0 Votes
    2 Posts
    118 Views
    Tom ElliottT

    @rpycroft Please attempt to update to 2231.

  • 1.6 Database update issue

    Unsolved FOG Problems
    4
    0 Votes
    4 Posts
    169 Views
    Tom ElliottT

    @toschulz So I suspect the problem is due to a divergence of db schema between dev-branch/stable + working-1.6

    If you can update yoru Mysql directly:

    sudo mariadb -u root fog (if no root password of course - if you have a root password add -p

    UPDATE schemaVersion SET vVersion=0;

    Then refresh your screen, click the install/update, and hopefully the error will go away.

    The way the schema is configured is it will attempt (idempotently) to rerun every single SQL query in the schema chain.

    This should fix the problem you’re seeing.

    I believe there’s a column on the login history piece being requested that may just simply be missing which would cause the issue with datatables.

  • 0 Votes
    2 Posts
    98 Views
    C

    I have figured out the issue. I was looking in the wrong place in BIOS for the secure boot setting which was on. Turning off secure boot fixed the process which runs perfectly now.

  • Machine rename with script and domain join

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    95 Views
    No one has replied
  • Full registration issues with Fog 1.5.10.1870

    Unsolved FOG Problems
    3
    0 Votes
    3 Posts
    172 Views
    M

    @Tom-Elliott Hello Tom yes I have installed the compatible Fog client from the Fog server on the reference machine, sys prepped and captured the image and now I am deploying.

  • Upgraded from FOG 1.5.9 to 1.5.10.1903 and having issues

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

    @Strahd Have you been able to make progress?

  • Unable to capture image on NVME systems since 1.5.10

    Unsolved FOG Problems
    4
    0 Votes
    4 Posts
    238 Views
    Tom ElliottT

    @DiegoP I believe mdadm will still be allowed to work, but I think you’re supossed to use “mdraid=true” for a kernel argument. If this is not set, FOG won’t know to build the array. This would help explain why the disk couldn’t find a partition layout as well since it’s expecting to be part of an array (which then looks/acts as the disk you’re truly working with.

    As for “partclone to partimage” I’m not sure I understand.

    Fog moved FROM partimage -> partclone way back in the 1.0.0 days as partimage has been obsolete for quite some time now.

  • From /images/dev to /images issue

    Unsolved FOG Problems
    5
    0 Votes
    5 Posts
    316 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.

  • How to hide some items in the Advanced menu?

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    136 Views
    No one has replied
  • Partition Error

    Unsolved FOG Problems
    5
    0 Votes
    5 Posts
    617 Views
    V

    To check the BitLocker status, open an elevated Command Prompt and run:

    manage-bde -status

    If the C drive shows as encrypted, disable BitLocker and allow the drive to fully decrypt before attempting another capture:

    manage-bde -off C: manage-bde -off D:

    Have you tried setting the image type to “Multiple Partition Image - All Disks (Not Resizable)” instead of “Single disk - resizable”?

    In “Single disk - resizable” mode, you will save an image of only one of the two disks. In the host settings, you can set the primary disk.

    Try disable Windows Fast Boot or restart computer from cmd

    shutdown /r /t 0
  • Question on multicast

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    171 Views
    No one has replied