• PXE boot was stuck

    Unsolved FOG Problems
    2
    0 Votes
    2 Posts
    38 Views
    Tom ElliottT

    @Priyankha We need a lot more details.

    FOG Version

    What bootfile is your boot server trying to send?

    Is you server sending the right FOG server for option 66/67?

    What OS are you trying to capture?

    What does the error show or maybe a screen shot? (UEFI Boot looks different from Legacy boot from Mac from arm, etc…)

    What type of machine are you trying to image?

    What have you tried?

  • Group Multicast - Dev-Branch

    Unsolved FOG Problems
    3
    0 Votes
    3 Posts
    66 Views
    Tom ElliottT

    @JJ-Fullmer @edvandro This should be fixed in dev-branch as well, but I agree with JJ here, please upgrade to working-1.6.

  • iPXE build failing

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

    Unsolved FOG Problems
    38
    0 Votes
    38 Posts
    595 Views
    Tom ElliottT

    @Jeremy Thanks, the file contents are the most useful thing you’ve posted, because they show the 01-… file on your server is not FOG’s. I owe you a correction on that too: yesterday I took “the file is there” as proof the fix landed. It wasn’t — that file is yours.

    1. Everything in /tftpboot/pxelinux.cfg/ is hand-written, and it’s the wrong format for pxe boot. 01-88-a2-9e-53-34-c0, boot.scr, default and default-arm all contain a U-Boot script (setenv …, tftp …, booti …). pxe boot doesn’t run scripts; it parses a PXELINUX-style config (label, kernel, initrd, append), finds no labels in yours, and does nothing. That’s your “downloads pxelinux, but then stops”, and it was never going to work regardless of the FOG bugs I fixed. Please don’t hand-write anything under pxelinux.cfg/: FOG owns the 01-<mac> names there, and its periodic reconcile deletes any 01- file whose host has no active task, so your file would vanish anyway. (boot.scr, if you ever wanted one, has to be a mkimage-wrapped binary in the TFTP root, not text under pxelinux.cfg/. You don’t need it; the pxe path is the whole thing.)

    To get FOG’s file: run the updater once more (PR #1679 is merged), then in the web UI queue a Capture task for Raspberry-test. Within a moment /tftpboot/pxelinux.cfg/01-88-a2-9e-53-34-c0 will be replaced by a file starting # Generated by FOG Project with kernel arm_Image and initrd arm_init.cpio.gz, and /tftpboot/arm_Image and /tftpboot/arm_init.cpio.gz will appear beside it. Paste that file back here. Your host settings are fine: arm64, image set, primary disk /dev/sda. (acpi=off in the kernel arguments does nothing on a Pi; harmless.)

    2. saveenv failed because there is no SD card, so nothing you setenv survives a reboot. That’s actually fine for the end goal: the default bootcmd=bootflow scan already does DHCP and then pxe get / pxe boot on its own, no environment needed. So for a cardless fleet you don’t need bootcmd at all. What you do need is DHCP to work inside U-Boot, which brings us to:

    3. DHCP. netretry yes was doing its job (“Retry time exceeded; starting again” is it retrying, not failing). With STP confirmed on the switch, the port is most likely blocking for the first ~30 seconds after U-Boot resets the NIC. One test settles it: run setenv netretry yes then dhcp, and wait a full 60 seconds before judging. If it gets a lease on the second or third cycle, that’s STP, and the fix is PortFast / edge-port on the Pi ports (the default bootflow scan won’t retry long enough on its own, and without an SD card you can’t persist netretry). If it still has nothing after 60 seconds, then it isn’t timing: check OPNsense’s DHCP log (Services → DHCPv4 → Log) for 88:a2:9e:53:34:c0 during the attempt and tell me whether a DISCOVER arrives and whether an OFFER goes out.

    Once DHCP works and FOG’s file is in place, bootflow scan (or dhcp; pxe get; pxe boot by hand) should pull arm_Image and boot FOS. If it stops anywhere after that, the last lines on screen are what I need — pasted text, not a photo, if there’s any way to capture it.

  • Failed to Update Database and Host

    Unsolved FOG Problems
    22
    0 Votes
    22 Posts
    623 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
    124 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
    97 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
    150 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
    153 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
    111 Views
    V

    What version of FOG are you running?

  • 0 Votes
    2 Posts
    129 Views
    Tom ElliottT

    @rpycroft Please attempt to update to 2231.

  • 1.6 Database update issue

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

    Unsolved FOG Problems
    3
    0 Votes
    3 Posts
    196 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
    259 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
    337 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
    147 Views
    No one has replied