• iPXE build failing

    Unsolved FOG Problems
    7
    0 Votes
    7 Posts
    64 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
    19 Views
    No one has replied
  • FOG Project Image Capture on Raspberry Pi 4 (ARM64) via U-Boot

    Unsolved FOG Problems
    14
    0 Votes
    14 Posts
    131 Views
    Tom ElliottT

    @Jeremy Stop the dd approach - it’s what’s breaking the disk, not the Pi.

    Those .img files are not raw dumps. They’re zstd-compressed partclone streams;
    check any of them and you’ll see the zstd magic 28 b5 2f fd in the first four
    bytes. So dd’ing d1p1.img onto /dev/sda1 writes compressed bytes straight onto
    the partition, which is exactly why the firmware then can’t read it as FAT.
    That’s also why partclone.restore told you it wasn’t a partclone image - it was
    looking at the zstd wrapper. FOS does this at funcs.sh:847:

    zstdmt -dc /images/Raspberry/d1p1.img | partclone.restore --ignore_crc -O /dev/sda1 -N -f 1

    One per partition. If the image was captured with a gzip format instead, swap
    zstdmt for pigz -dc.

    The MBR is wrong too. d1.mbr isn’t one sector - we capture everything up to the
    first partition, capped at 1MiB, so it’s usually 2048 sectors. Your count=1
    threw away everything between the boot sector and the first partition. Drop the
    count entirely and let it write the whole file:

    dd if=/images/Raspberry/d1.mbr of=/dev/sda bs=512

    Now the more useful finding. “Fatal Error: Unknown request type :: Null” is
    FOS telling you $type arrived empty, and that’s the same problem as your
    missing osid - your bootargs are being truncated before FOS ever reads them. It
    isn’t the kernel: arm64’s COMMAND_LINE_SIZE is 2048, the same as x86, and the
    bootargs line you posted is 233 characters. Look at U-Boot’s own command and
    console buffer instead, that’s where the ceiling is on your setup.

    Which gets to the real limitation, and I’d rather be straight about it: FOG’s
    server has no U-Boot support at all. boot.php emits iPXE, and nothing generates
    a boot.scr, delivers a DTB, or builds arguments for a non-iPXE client. Every
    variable you’re hand-assembling is one the server would normally hand the
    client, and doing it by hand is why the ordering and length problems are yours
    to fight.

    Two ways forward. Keep hand-rolling U-Boot, in which case use the two commands
    above and keep bootargs minimal. Or put UEFI firmware on the Pi (pftf/RPi4) so
    it PXE-boots into iPXE like any other machine and the server drives the whole
    thing - that’s the route that already works today, and it’s where native
    support would build from.

    Capture works, which is the half that was broken. Deploy needs the server side
    to exist.

  • Failed to Update Database and Host

    Unsolved FOG Problems
    22
    0 Votes
    22 Posts
    233 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
    75 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
    67 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
    109 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
    123 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
    77 Views
    V

    What version of FOG are you running?

  • 0 Votes
    2 Posts
    117 Views
    Tom ElliottT

    @rpycroft Please attempt to update to 2231.

  • 1.6 Database update issue

    Unsolved FOG Problems
    4
    0 Votes
    4 Posts
    158 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
    91 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
    90 Views
    No one has replied
  • Full registration issues with Fog 1.5.10.1870

    Unsolved FOG Problems
    3
    0 Votes
    3 Posts
    167 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
    237 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
    309 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
    133 Views
    No one has replied
  • Partition Error

    Unsolved FOG Problems
    5
    0 Votes
    5 Posts
    615 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
    169 Views
    No one has replied