• Fog client build

    Solved
    14
    0 Votes
    14 Posts
    1k Views
    S

    @tatanas Well done!

  • Raw image dd deploy error

    Solved
    2
    0 Votes
    2 Posts
    466 Views
    S

    @gn_ro Not exactly sure why you run into this issue but looking through the code and searching the web for this error message I might have an idea what’s going on. After the deployment (through partclone.dd in this case) FOS looks for any NTFS partition, tries to mount it and see if it can modify registry files to change the hostname of the machine (pre Windows boot up!). This feature is called “early hostname change” and can be turned off. In the FOG web UI go to FOG Configuration -> FOG Settings -> section General Settings -> uncheck CHANGE HOSTNAME EARLY and save settings.

    Unfortunately this can only be turned on and off globally. Most people want to keep that turned on and so might you for most of your machines. But I think it’s appropriate for you to quickly turn it off whenever you need to deploy that special machine.

  • Raw image dd fail - BUG?

    Moved Solved
    7
    0 Votes
    7 Posts
    1k Views
    G

    @sebastian-roth Thank you! I hope will help others too.

  • Issue When Deleting Singular Snapin Task

    Solved
    2
    0 Votes
    2 Posts
    242 Views
    S

    @colej Which version of FOG do you use?

  • Adding bnx2x Blade HP

    Solved
    5
    0 Votes
    5 Posts
    659 Views
    S

    @Afernandes Just updated the FOG kernels to 5.10.34 and included the firmware as requested. You can keep using the kernel George provided or update to the latest as you like.

  • HTML content missing from some pages

    Moved Solved
    7
    0 Votes
    7 Posts
    1k Views
    S

    @altitudehack Thanks and sorry for the long time it took. Finally found time to fix the issue and push to dev-branch. Please update to the latest.

  • Version 1.6.0-alpha.1081 - Issues

    Solved
    6
    0 Votes
    6 Posts
    966 Views
    Tom ElliottT

    @greg-plamondon Should be fixed in latest.

    Thank you,

  • Fog 1.5.9.62 Location problems.

    Moved Solved
    5
    0 Votes
    5 Posts
    743 Views
    Greg PlamondonG

    @sebastian-roth said in Fog 1.5.9.62 Location problems.:

    @Greg-Plamondon Just pushed the fixed 1.5.9.63.

    Awsome!
    Appreciate your work!

  • Problem mapping network printer after upgrade to 1.5.9.60

    7
    0 Votes
    7 Posts
    1k Views
    Matthieu JacquartM

    @sebastian-roth A fourth colleague had the same problem today so I restarted fog service, it takes a while but photocop_rgi printer has been connected after that :

    ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 18/02/2021 15:37:55 Client-Info Client Version: 0.12.0 18/02/2021 15:37:55 Client-Info Client OS: Windows 18/02/2021 15:37:55 Client-Info Server Version: 1.5.9.60 18/02/2021 15:37:55 Middleware::Response Success 18/02/2021 15:37:55 PrinterManager Adding printers 18/02/2021 15:37:55 PrinterManager \\impression\Compta already exists 18/02/2021 15:37:55 Printer Adding: \\impression\Photocop_RGI 18/02/2021 15:37:55 PrinterManager PrintUI return code = 0 18/02/2021 15:37:56 PrinterManager Invoking add \\impression\Compta for all users 18/02/2021 15:37:56 PrinterManager PrintUI return code = 0 18/02/2021 15:37:56 PrinterManager Invoking add \\impression\Photocop_RGI for all users 18/02/2021 15:38:26 PrinterManager PrintUI has not finished in a timely fashion, abandoning process 18/02/2021 15:38:26 PrinterManager Restarting spooler ------------------------------------------------------------------------------

    I’m just unable to explain this problem…

  • Raspberry Pi 4 unable to pxe boot

    7
    0 Votes
    7 Posts
    2k Views
    Jacques-OlivierJ

    @george1421 I am looking for a way to easely clone (for backup) the data on several PIs

  • Performance decrease using Hyper-V Win10 clients

    Solved
    56
    1 Votes
    56 Posts
    34k Views
    S

    @jkozee @Tom-Elliott Sorry for bringing up such an old topic again. Working on moving towards the new 5.10.x kernel I was looking at the patches we still apply to our kernel. Most are part of the upstream kernel but not the fix discussed in this topic.

    Though the kernel code has changed a bit and I am wondering if we’d still see the slowness without our fix? Would anyone of you be able to replicate the issue with a 5.10.x kernel (with and without fix)?

    Searching the web a little more I stumbled upon this patch that made it into the official kernel not long ago: https://patchwork.kernel.org/project/linux-input/patch/20200910143455.109293-12-boqun.feng@gmail.com/

    Not sure but could play a role in this case. Anyway it would be great to see if the issue can still be replicated with the newer kernel - without fix.

  • FOG 1.5.9.57 on Debian 10 mysql root password is blank

    6
    0 Votes
    6 Posts
    1k Views
    S

    @tom-elliott said in FOG 1.5.9.57 on Debian 10 mysql root password is blank:

    We are a fully clean install. Meaning no packages except git are installed. No Apache, php, or MySQL. Why should the installer ask for root password here? It has never been setup before this point. There would be no password. FOG, in my opinion, should not be defining the root user password here either.

    I think it should force the user to have a DB root password unless it’s a setup with local socket access as described below. That was one of the major points of re-writing that part of the installer. I tested a lot and would hope that the installer does what I say on all officially supported systems.

  • API Return object for scheduledtask is malformed (has a tiny typo)

    Solved
    19
    0 Votes
    19 Posts
    2k Views
    JJ FullmerJ

    @tom-elliott said in API Return object for scheduledtask is malformed (has a tiny typo):

    @tom-elliott Added a little tiny bit.

    Thank you,

    That tiny bit that allowed non-unique names for tasks and scheduled tasks did the trick!

  • 504 Gateway Timeout hitting fog/scheduledtask/list

    Moved Solved
    14
    0 Votes
    14 Posts
    1k Views
    N

    @jj-fullmer

    Hi there, my apologies for not responding earlier. I was on a mini-vacation. As much as one can have in the US now anyway not being able to travel anywhere…

    I’m glad you weren’t stuck in my absense. I want to look at the PowerShell stuff you’ve created for FOG. I was just reading about it. I use PowerShell a lot in my work and can use it.

    Here’s what I did for your reference in JavaScript/JQuery:

    I have an HTML button set to hit this JavaScript function. It just passes the string name of the machine to create the task for. e.g. “LABMACHINE1”

    function create_fog_scheduled_task(node_name){ var hour_to_deploy = 1; // 1am // get the host list $.ajax({ url: "http://lab/fog/host/list", type: "GET", headers: { "fog-api-token": fog_api_token, "fog-user-token": fog_user_token }, contentType: 'application/json', success: function (data) { console.log("Retrieved host list:"); console.log(data); // get the host id var host_id = -1 for (x = 0; x <= data.hosts.length; x++) { if (data.hosts[x].name.toUpperCase() == node_name.toUpperCase()) { host_id = data.hosts[x].id; break; } } console.log("Creating scheduled task for: " + node_name + ", ID: " + host_id); // randomize when task starts to prevent all starting at once.. var minute = Math.floor(Math.random() * 60) // 0 to 59 var post_data = { "name": node_name, "description": "", "type": "C", "taskType": 1, "minute": parseInt(minute), "hour": hour_to_deploy, "dayOfMonth": "*", "month": "*", "dayOfWeek": "*", "isGroupTask": 0, "hostID": parseInt(host_id), "shutdown": 0, "other1": "", "other2": "-1", "other3": "fog", "other4": true, "other5": "", "scheduleTime": "", "isActive": 1, "imageID": 0 } $.ajax({ url: "http://lab/fog/scheduledtask/new", type: "POST", headers: { "fog-api-token": fog_api_token, "fog-user-token": fog_user_token }, contentType: 'application/json', data: JSON.stringify(post_data), success: function (data) { console.log("Scheduled task created for " + node_name); } }); } }); }

    @Sebastian-Roth, @JJ-Fullmer, @Tom-Elliott -
    In troubleshooting this issue, I noticed my code can end up passing minute as zero as well which also ends up as NULL in the database. This doesn’t appear to cause an issue like stHour.

    The UI/PHP set the minute to 0 in this case:
    2020-11-24 01:00

    Even though the database shows (look at SKYLAKE-PC):

    mysql> select stName, stHour, stMinute, stActive from scheduledTasks; +-----------------+--------+----------+----------+ | stName | stHour | stMinute | stActive | +-----------------+--------+----------+----------+ | EEAP-PC | 1 | 33 | 1 | | BEELINK-PC | 1 | 42 | 1 | | CALPELLA-PC | 1 | 49 | 1 | | EVGAQUAD-PC | 1 | 49 | 1 | | ICELAKE2-NUC | 1 | 13 | 1 | | JBMIX-PC | 1 | 53 | 1 | | MAMMOTH-PC | 1 | 51 | 1 | | MASTER-PC | 1 | 53 | 1 | | MITX-PC | 1 | 35 | 1 | | MODISC-PC | 1 | 27 | 1 | | OPTIPLEX7010-PC | 1 | 39 | 1 | | PRECISION-PC | 1 | 42 | 1 | | SKYLAKE-PC | 1 | | 1 | | SMC-X10SAE | 1 | 13 | 1 | | THERMALTAKE-PC | 1 | 19 | 1 | | THINK-PC | 1 | 24 | 1 | | SMC-X11SAE | 1 | 23 | 1 | | VALUELINEI7-PC | 1 | 39 | 1 | | ICELAKE-NUC | 1 | 17 | 1 | +-----------------+--------+----------+----------+ 19 rows in set (0.00 sec)

    I still added this just in case to my website:

    // randomize when task starts to prevent all starting at once.. var minute = Math.floor(Math.random() * 60) // 0 to 59 if (minute == 0) { minute = 1; };

    Thanks everyones for your help on this! It’s very much appreciated!

    Jesse

  • 0 Votes
    4 Posts
    589 Views
    Tom ElliottT

    @quazz Complete!

  • Fog V1.5.9.29 Active Directory Defaults for OU not populating Database

    Moved Solved
    9
    0 Votes
    9 Posts
    1k Views
    Greg PlamondonG

    @Tom-Elliott said in Fog V1.5.9.29 Active Directory Defaults for OU not populating Database:

    Found and fixed in 1.5.9.34

    Thank you,

    Thanks!

  • Report questions

    Moved Solved
    9
    0 Votes
    9 Posts
    1k Views
    C

    @Sebastian-Roth Just tested this out and it works. I just modified the inventory_report.report.php file to match your change.

    Thanks

  • Image Size on Client Incorrect

    Moved Solved
    13
    0 Votes
    13 Posts
    2k Views
    B

    I’ve seen the OP’s issue for several years on ~20 fog servers on various hardware platforms (virtual and bare metal), using both resized and non-resized images. I can confirm that this was still an issue on 1.5.8 but today I upgraded to 1.5.9 and it seems to be resolved. Old images still show the incorrect size, but recapturing them updates the image size on client to the correct value, which is approximately the minimum required hard drive capacity on the client when deploying the image.

  • 0 Votes
    23 Posts
    4k Views
    S

    @JJ-Fullmer said in Surface Go 2 (microsoft surface usb-c ethernet adapter) won't boot bzImage on fog 1.5.9.2 and Getting database update errors:

    I will update my install shortly and re-image one of the machines. Will this also change my kernel? Will I need to remake that change for the surface ethernet adapter?

    You will need to re-download the 5.6.18 kernel.

  • Image Size of the client in Fog does not match the size of the Capture in Hard Drive

    Moved Solved
    13
    0 Votes
    13 Posts
    2k Views
    B

    Sorry for my late reply, re: the other thread that I started on this. I don’t manage the hardware-side of the FOG server so i couldn’t get the file specified. I was also furloughed from work for some time, so I’ve missed the earlier updates.

69

Online

12.2k

Users

17.4k

Topics

155.6k

Posts