• Problem mapping network printer after upgrade to 1.5.9.60

    7
    0 Votes
    7 Posts
    2k 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
    3k 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
    41k 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
    2k 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
    4k 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
    3k 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
    912 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
    2k 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
    2k 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
    3k 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
    7k 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
    3k 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.

  • Image replication failing due to syntax error?

    5
    0 Votes
    5 Posts
    879 Views
    S

    @choppaholic26 said in Image replication failing due to syntax error?:

    Will running a new install script do an in-place upgrade without breaking anything?

    That’s what we try to achieve. But as you know there can always be special cases. So we cannot promise an upgrade with no issues. Make sure you have a backup copy of your database and the images any you can re-build a FOG server in no time.

    Don’t get me wrong, I am not saying upgrades don’t work very well. I just can give you an assurance! In most cases (no manual modifications, mostly standard settings) the upgrade runs through without any hickup whatsoever. And even if you bump into an issue we are here to help you. So don’t worry about it. Take a backup copy and go for it.

  • Queues not going in order

    Moved Solved
    5
    0 Votes
    5 Posts
    1k Views
    S

    @Tom-Elliott Thanks for clarification. So from the description it sounds like this is working as intended. The queue is no handled in order but whichever comes along first grabs an open slot.

  • WebUI not deleting images in file system

    Moved Solved
    7
    1 Votes
    7 Posts
    2k Views
    S

    @Chad @DJslimD1k @fry_p This is fixed in the latest dev-branch and will be in the next release - soon to come.

  • Invalid OS ID (0) (determineOS) Args passed:0

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    S

    @jjacobs @Campig Finally found the time to fix and test. It is fixed in the latest dev-branch. For the commit see here.

  • Weird problem when deploying to groups

    Moved Solved
    4
    0 Votes
    4 Posts
    894 Views
    S

    @Campig This is fixed in the latest. For the commit see here. Thanks again!

  • MySQL Failed

    Moved Solved
    16
    0 Votes
    16 Posts
    3k Views
    R

    @Sebastian-Roth Makes sense to me.
    Solved for me

  • Hostname Change Bug 1.58

    Moved Solved
    5
    0 Votes
    5 Posts
    988 Views
    george1421G

    Mod Note: Solving and closing this thread

  • "Language french" invalid stockage group

    11
    0 Votes
    11 Posts
    2k Views
    george1421G

    @OkeriKai said in "Language french" invalid stockage group:

    Un dernière question, quand est-ce que la version 1.5.9RC2 sera t-elle stable ?

    I don’t have an answer for that. The more people that test 1.5.9RC2 the more happy the developers are to move it to stable. Just don’t forget to go NOW and change the branch back to master so you don’t forget later and wonder why things are not working good.

164

Online

12.5k

Users

17.5k

Topics

156.2k

Posts