No improvement after changing the PDO::ATTR_EMULATE_PREPARES value.
(I did a reboot of the server to be sure.)
Posts
-
RE: Slow computer listing and high CPU with version 1.5.1.01798posted in FOG Problems
-
RE: Slow computer listing and high CPU with version 1.5.1.01798posted in FOG Problems
No problem with Fog 1.5.10.1763
Very slow with Fog 1.5.10.1798 and nothing in the logsIt’s the second server I’ve updated and the problem is the same.
-
RE: Slow computer listing and high CPU with version 1.5.1.01798posted in FOG Problems
Hi,
177 hosts and it takes almost one minute -
RE: Fog iPXE Menu no inputposted in FOG Problems
Hello,
In my attempt to switch to HTTPS for the Fog server, I encountered the same issue of the keyboard being disabled in the iPXE menu. After several unsuccessful tests, I consulted Copilot. After reviewing all the scripts and .h files, it indicated that the issue stemmed from the size of the iPXE.efi file I was using. It was too large due to all the necessary modules for HTTPS, causing iPXE to deactivate the USB keyboard functionality during loading. Consequently, I opted for snponly.efi instead, and now the keyboard works perfectly.I modified the script buildipxe.sh :
sed -i ‘s+#define USB_HCD_USBIO+//#define USB_HCD_USBIO+g’ config/usb.h
sed -i ‘s+#define USB_KEYBOARD+//#define USB_KEYBOARD+g’ config/usb.h
sed -i ‘s+//#define USB_EFI+#define USB_EFI+g’ config/usb.hMay I propose a change in the console.h : Could you set the keyboard map to “dynamic” instead of “us” ? That way we can easily set our language in default.ipxe
//#define KEYBOARD_MAP us // Default US keyboard map
#define KEYBOARD_MAP dynamic // Runtime selectable keyboard map -
RE: Rename Host in Windows UI doesn't update Fog databaseposted in General Problems
Thanks for your answer Tom.
I’m not a C# coder either so I won’t be able to help for the implementation of such feature client side (by the way, I’m using the fog client).
I understand the FOG philosophy and that’s hard enough to maintain this project alive.Again thanks for the time you pass on this wonderfull project.
-
Rename Host in Windows UI doesn't update Fog databaseposted in General Problems
Hello,
I did not find specific information on this topic in the forum, so I am taking the liberty of asking the question.
When renaming a computer in Windows, its name is not updated in the FOG database. I would like to specify that I do not use the ‘Hostname Changer.’ Is there an option to allow this database update ?
If not, could it be a new feature ?Thanks for your time.
-
RE: Printer Configuration File not appliedposted in Bug Reports
@sebastian-roth Sorry, I didn’t see your answer. Yes it works.
-
RE: Printer Configuration File not appliedposted in Bug Reports
@sebastian-roth Thank you very much !
-
RE: Printer Configuration File not appliedposted in Bug Reports
@sebastian-roth
After reading the doc of the PrintUIEntry command, it seems that when you use the /sr parameter, all the values have to be placed at the end of the command :
/Sr Specifies what information about a printer is restored and how conflicts in settings are handled. Use with the following values placed at the end of the command line
So when you add ‘/q’ parameter after the m f g p values it could generate a problem ?I dont know if this github issue is the same as mine. I should try the g/u value and compare results.
-
RE: Printer Configuration File not appliedposted in Bug Reports
Sorry to bump this topic, can someone confirm this problem ?
If the fix is possible, could it be applied to the next fog update ?Thanks for your time.
-
RE: FOG identify new host as registered even though it's not.posted in FOG Problems
Hi,
Is the mac address different ? It seems both of them have the same. -
RE: Error 'Could not open inode 'XXXXXX" through the library'posted in FOG Problems
Hi,
Same problem as Scoude here with Fog 1.5.9 on Debian 10.
I “defraged” (it’s a ssd), desactivated Fastboot, hibernate off, chkdsk…
Nothing fixed the problem.Any idea ?
Thanks
-
RE: Set Ipxe Menu selected Item conditionallyposted in Tutorials
Forget about it. It seems there is no easy way to do it and it’s not a big deal even if this kind of boot menu isn’t set up.
Thanks for your guidance. -
RE: Set Ipxe Menu selected Item conditionallyposted in Tutorials
In the web console>iPXE Menu Customization, when I change the fog.local item menu from “All Hosts” to “Registered Hosts” and sets it to default, it become the default setup for the “Not registered Host” menu fog.reginput too.
-
RE: Set Ipxe Menu selected Item conditionallyposted in Tutorials
@george1421 Ok. I think I understand how it works. Let me try to resume :
When you call this url http://<fog_server_ip>/fog/service/ipxe/boot.php?mac=xx:xx:xx:xx:xx:xx, the boot.php file (located in /var/www/fog/service/ipxe/boot.php) will get the host informations through the mac address then create a personalized boot menu
new BootMenu();This function can be found in /var/www/fog/lib/fog/bootmenu.class.php.
So it seems I should try to modified this file to change the default selected item depending on the host is registered or not ? -
Set Ipxe Menu selected Item conditionallyposted in Tutorials
Hi,
I know how to select a IPXE item menu by default through the web console.
I would like to know if we can select an item by default when the host is not registered and another if the host is ?
I can’t see a way to do it in http://@fogserverIP/fog/service/ipxe/boot.php.Thanks for your time.
-
RE: Start imaging right after the Full host registration (without reboot), possible ?posted in FOG Problems
At the end of fog.man.reg, just add those lines between “. /bin/fog.inventory” and “usleep 2000000”
sysuuid=$(dmidecode -s system-uuid) sysuuid=${sysuuid,,} mac=$(getMACAddresses) curl -Lks -o /tmp/hinfo.txt --data "sysuuid=${sysuuid}&mac=$mac" "${web}service/hostinfo.php" -A '' [[ -f /tmp/hinfo.txt ]] && . /tmp/hinfo.txt . /bin/fog.download -
RE: Start imaging right after the Full host registration (without reboot), possible ?posted in FOG Problems
@george1421 Thank you very much, It works like a charm ! (image in progress)
-
Start imaging right after the Full host registration (without reboot), possible ?posted in FOG Problems
Hi,
I’m trying, as the title says, to start image processing after full host registration without rebooting.
I already patched the fog.reg.man (postinit) to remove some questions.
But adding the line “. /bin/fog.download” at the end of the file generate an error. The variable “$osid” is not defined.
Then I look at the “/fog/service/ipxe/boot.php” file to find what is called when we choose the “Deploy Image” menu item… It just get some parameters, posts them to the fog server, then “autoboot” again on the network card. I don’t undestand how it starts the image process.So, is it possible to push the image without reboot ?
Thanks for your time.