Ok, in boot options there was “mode=manreg isdebug=yes”
so I have remove isdebug=yes and keep mode=manreg,that’s right ?
Thanks

Posts made by Matthieu Jacquart
-
RE: Perform full inventory returns debug menu
-
RE: Perform full inventory returns debug menu
@george1421 said in Perform full inventory returns debug menu:
debug=yes
Hi,
Yes you’re right, debug=yes :#!ipxe set fog-ip 192.168.10.60 set fog-webroot fog set boot-url http://${fog-ip}/${fog-webroot} cpuid --ext 29 && set arch x86_64 || set arch i386 goto get_console :console_set colour --rgb 0x00567a 1 || colour --rgb 0x00567a 2 || colour --rgb 0x00567a 4 || cpair --foreground 7 --background 2 2 || goto MENU :alt_console cpair --background 0 1 || cpair --background 1 2 || goto MENU :get_console console --picture http://192.168.10.60/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console :MENU menu colour --rgb 0xff0000 0 || cpair --foreground 1 1 || cpair --foreground 0 3 || cpair --foreground 4 4 || item --gap Host is NOT registered! item --gap -- ------------------------------------- item fog.local Boot from hard disk item fog.memtest Run Memtest86+ item fog.reginput Perform Full Host Registration and Inventory item fog.reg Quick Registration and Inventory item fog.deployimage Deploy Image item fog.multijoin Join Multicast Session item fog.sysinfo Client System Information (Compatibility) choose --default fog.local --timeout 10000 target && goto ${target} :fog.local sanboot --no-describe --drive 0x80 || goto MENU :fog.memtest kernel memdisk initrd=memtest.bin iso raw initrd memtest.bin boot || goto MENU :fog.reginput kernel bzImage32 loglevel=2 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://192.168.10.60/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.10.60:/images/ storageip=192.168.10.60 nvme_core.default_ps_max_latency_us=0 loglevel=2 mode=manreg isdebug=yes imgfetch init_32.xz boot || goto MENU :fog.reg kernel bzImage32 loglevel=2 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://192.168.10.60/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.10.60:/images/ storageip=192.168.10.60 nvme_core.default_ps_max_latency_us=0 loglevel=2 mode=autoreg imgfetch init_32.xz boot || goto MENU :fog.deployimage login params param mac0 ${net0/mac} param arch ${arch} param username ${username} param password ${password} param qihost 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme param sysuuid ${uuid} :fog.multijoin login params param mac0 ${net0/mac} param arch ${arch} param username ${username} param password ${password} param sessionJoin 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme param sysuuid ${uuid} :fog.sysinfo kernel bzImage32 loglevel=2 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://192.168.10.60/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.10.60:/images/ storageip=192.168.10.60 nvme_core.default_ps_max_latency_us=0 loglevel=2 mode=sysinfo imgfetch init_32.xz boot || goto MENU :bootme chain -ar http://192.168.10.60/fog/service/ipxe/boot.php##params || goto MENU autoboot
-
Perform full inventory returns debug menu
Hi, I’ve just tried to slect “Perform full inventory” in Fog menu (never tried before, always used quick inventory) and it returns debug menu ! (Dell 3070)
How can I change that ?
Thanks,
Matthieu -
RE: Host Screen Resolution
@Sebastian-Roth Hi Seb, no problem I get it very well, you all made great job ! Keep me in touch if you need any test
-
RE: Host Screen Resolution
@Sebastian-Roth Hi,
I’m still searching for a solution to force screen resolution on teachers computers, is there any way to do this with Fog now ?
Thanks,
Matthieu -
RE: "Language french" invalid stockage group
@OkeriKai Salut, j’avoue que le 1er réflexe à avoir quand il y a des soucis de capture d’image est de mettre à jour Fog et/ou les Kernel, cela résout souvent les incompatibilités avec les PC récents ou des bugs de versions antérieures de Fog.
D’abord tester la version stable (branch master) et si besoin la dev-branch, cela fait gagner du temps -
RE: Host Screen Resolution
@Sebastian-Roth OK ! I found this log :
------------------------------------------------------------------------------ --------------------------------DisplayManager-------------------------------- ------------------------------------------------------------------------------ 28/01/2020 10:46:41 Client-Info Client Version: 0.11.18 28/01/2020 10:46:41 Client-Info Client OS: Windows 28/01/2020 10:46:41 Client-Info Server Version: 1.5.7.100 28/01/2020 10:46:41 Middleware::Response Success 28/01/2020 10:46:41 DisplayManager Loading display settings from registry: 28/01/2020 10:46:41 DisplayManager * Moniteur Plug-and-Play générique 28/01/2020 10:46:41 DisplayManager:Display Enumerating displays through API call: 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager Found 2438 displays, will try to change settings for c. 28/01/2020 10:46:42 DisplayManager Current Resolution: 0 x 0 0hz 28/01/2020 10:46:42 DisplayManager Attempting to change resoltution to 1366 x 768 60hz 28/01/2020 10:46:42 DisplayManager Display name: c 28/01/2020 10:46:42 DisplayManager:Display Testing resolution to ensure it is compatible 28/01/2020 10:46:42 DisplayManager:Display Changing resolution 28/01/2020 10:46:42 DisplayManager:Display Success ------------------------------------------------------------------------------
-
RE: Host Screen Resolution
@Sebastian-Roth Hi, just tested on another computer, same result with last fixed modules.dll
------------------------------------------------------------------------------ --------------------------------DisplayManager-------------------------------- ------------------------------------------------------------------------------ 27/01/2020 08:37 Client-Info Client Version: 0.11.17 27/01/2020 08:37 Client-Info Client OS: Windows 27/01/2020 08:37 Client-Info Server Version: 1.5.7.100 27/01/2020 08:37 Middleware::Response Success 27/01/2020 08:37 DisplayManager Loading display settings from registry: 27/01/2020 08:37 DisplayManager * Generic PnP Monitor 27/01/2020 08:37 DisplayManager:Display Enumerating displays through API call: 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager Found 54 displays, will try to change settings for S. 27/01/2020 08:37 DisplayManager Current Resolution: 0 x 0 0hz 27/01/2020 08:37 DisplayManager Attempting to change resoltution to 1366 x 768 60hz 27/01/2020 08:37 DisplayManager Display name: S 27/01/2020 08:37 DisplayManager:Display Testing resolution to ensure it is compatible 27/01/2020 08:37 DisplayManager:Display Changing resolution 27/01/2020 08:37 DisplayManager:Display Success ------------------------------------------------------------------------------
and displaymanager is not anymore in 0.11.18 client
-
RE: Host Screen Resolution
@Sebastian-Roth ok much better for number of lines !
------------------------------------------------------------------------------ --------------------------------DisplayManager-------------------------------- ------------------------------------------------------------------------------ 20/01/2020 08:08 Client-Info Client Version: 0.11.17 20/01/2020 08:08 Client-Info Client OS: Windows 20/01/2020 08:08 Client-Info Server Version: 1.5.7.93 20/01/2020 08:08 Middleware::Response Success 20/01/2020 08:08 DisplayManager Loading display settings from registry: 20/01/2020 08:08 DisplayManager * Generic PnP Monitor 20/01/2020 08:08 DisplayManager:Display Enumerating displays through API call: 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager Found 72 displays, will try to change settings for S. 20/01/2020 08:08 DisplayManager Current Resolution: 0 x 0 0hz 20/01/2020 08:08 DisplayManager Attempting to change resoltution to 1366 x 768 60hz 20/01/2020 08:08 DisplayManager Display name: S 20/01/2020 08:08 DisplayManager:Display Testing resolution to ensure it is compatible 20/01/2020 08:08 DisplayManager:Display Changing resolution 20/01/2020 08:08 DisplayManager:Display Success ------------------------------------------------------------------------------
I’ll make a try on another PC because this one is pluged on a KVM hub, so maybe screen is not well recognized…
-
RE: Host Screen Resolution
@Sebastian-Roth Now there are just thousands of lines with same output :
18/01/2020 18:37 DisplayManager:Display * S (0 x 0, 0hz
-
RE: Host Screen Resolution
@Sebastian-Roth Resolution didn’t change but fog.log return this :
------------------------------------------------------------------------------ --------------------------------DisplayManager-------------------------------- ------------------------------------------------------------------------------ 18/01/2020 12:40 Client-Info Client Version: 0.11.17 18/01/2020 12:40 Client-Info Client OS: Windows 18/01/2020 12:40 Client-Info Server Version: 1.5.7.93 18/01/2020 12:40 Middleware::Response Success 18/01/2020 12:40 DisplayManager Current Resolution: 0 x 0 0hz 18/01/2020 12:40 DisplayManager Attempting to change resoltution to 1366 x 768 60hz 18/01/2020 12:40 DisplayManager Display name: Generic PnP Monitor 18/01/2020 12:40 DisplayManager:Display Testing resolution to ensure it is compatible 18/01/2020 12:40 DisplayManager:Display Changing resolution 18/01/2020 12:40 DisplayManager:Display Success ------------------------------------------------------------------------------
-
RE: Host Screen Resolution
@Sebastian-Roth fog.log
Yes same message all over the log -
RE: Host Screen Resolution
@Sebastian-Roth Hi,
I installed new binaries on a test computer, which has a default screen resolution of 1440x900. I activate display manager service for this hosts and set screen resolution to 1336x768 on Fog web UI, unfortunatly resolution didn’t change and fog.log return this :
------------------------------------------------------------------------------ --------------------------------DisplayManager-------------------------------- ------------------------------------------------------------------------------ 16/01/2020 08:17 Client-Info Client Version: 0.11.17 16/01/2020 08:17 Client-Info Client OS: Windows 16/01/2020 08:17 Client-Info Server Version: 1.5.7.93 16/01/2020 08:17 Middleware::Response Success 16/01/2020 08:17 DisplayManager Resolution is already configured correctly ------------------------------------------------------------------------------
-
RE: Host Screen Resolution
Hi,
I also tried to use this service for some computers in our school (teacher computer with projector) but it did’nt work so I’m also interested ! Could be very usefull
Thanks,
Matthieu -
RE: Several problems : unable to install CA certificate, userdel fogproject, updating database failed
@Sebastian-Roth Nope I just found answer, I had to run installer once again and re-download client after restoring cert, now everything seems great, I just have to redeploy client on all computers
Many thanks for your help Sebastian ! -
RE: Several problems : unable to install CA certificate, userdel fogproject, updating database failed
@Sebastian-Roth said in Several problems : unable to install CA certificate, userdel fogproject, updating database failed:
@Matthieu-Jacquart Yeah, getting closer!!!
My fault, forgot these commands when I wrote this earlier:
cp /path/of/backup/var/www/html/fog/management/other/ssl/srvpublic.crt /var/www/html/fog/management/other/ssl/srvpublic.crt cp /opt/fog/snapins/ssl/CA/.fogCA.pem /var/www/html/fog/management/other/ca.cert.pem
Unfortunately, I follow your 2 commands but stil this error even after restarting fog server :
------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 08/01/2020 16:59 Client-Info Client Version: 0.11.17 08/01/2020 16:59 Client-Info Client OS: Windows 08/01/2020 16:59 Client-Info Server Version: 1.5.7.89 08/01/2020 16:59 Middleware::Response ERROR: Unable to get subsection 08/01/2020 16:59 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 08/01/2020 16:59 Service Sleeping for 102 seconds 08/01/2020 17:01 Middleware::Communication URL: http://192.168.10.60/fog/management/index.php?sub=requestClientInfo&configure&newService&json 08/01/2020 17:01 Middleware::Response Success 08/01/2020 17:01 Middleware::Communication URL: http://192.168.10.60/fog/management/index.php?sub=requestClientInfo&mac=74:27:EA:6C:AA:0D&newService&json 08/01/2020 17:01 Middleware::Authentication Waiting for authentication timeout to pass 08/01/2020 17:01 Middleware::Communication Download: http://192.168.10.60/fog/management/other/ssl/srvpublic.crt 08/01/2020 17:01 Data::RSA FOG Server CA cert found 08/01/2020 17:01 Data::RSA ERROR: Certificate validation failed 08/01/2020 17:01 Data::RSA ERROR: Trust chain did not complete to the known authority anchor. Errors: The signature of the certificate cannot be verified. (NotSignatureValid) 08/01/2020 17:01 Middleware::Authentication ERROR: Could not authenticate 08/01/2020 17:01 Middleware::Authentication ERROR: Certificate is not from FOG CA 08/01/2020 17:01 Middleware::Response Success 08/01/2020 17:01 Middleware::Communication URL: http://192.168.10.60/fog/service/getversion.php?clientver&newService&json 08/01/2020 17:01 Middleware::Communication URL: http://192.168.10.60/fog/service/getversion.php?newService&json 08/01/2020 17:01 Service Creating user agent cache 08/01/2020 17:01 Middleware::Response ERROR: Unable to get subsection 08/01/2020 17:01 Middleware::Response ERROR: Object reference not set to an instance of an object. 08/01/2020 17:01 Middleware::Response ERROR: Unable to get subsection 08/01/2020 17:01 Middleware::Response ERROR: Object reference not set to an instance of an object. 08/01/2020 17:01 Middleware::Response ERROR: Unable to get subsection 08/01/2020 17:01 Middleware::Response ERROR: Object reference not set to an instance of an object.
-
RE: Several problems : unable to install CA certificate, userdel fogproject, updating database failed
@Sebastian-Roth I change «fogserver» with IP but still have these error (test on 2 computers), I have reset encryption data) :
------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 08/01/2020 14:57 Client-Info Version: 0.11.17 08/01/2020 14:57 Client-Info OS: Windows 08/01/2020 14:57 Middleware::Authentication Waiting for authentication timeout to pass 08/01/2020 14:59 Middleware::Communication Download: http://192.168.10.60/fog/management/other/ssl/srvpublic.crt 08/01/2020 14:59 Data::RSA FOG Server CA cert found 08/01/2020 14:59 Data::RSA ERROR: Certificate validation failed 08/01/2020 14:59 Data::RSA ERROR: Trust chain did not complete to the known authority anchor. Errors: The signature of the certificate cannot be verified. (NotSignatureValid) 08/01/2020 14:59 Middleware::Authentication ERROR: Could not authenticate 08/01/2020 14:59 Middleware::Authentication ERROR: Certificate is not from FOG CA 08/01/2020 14:59 Middleware::Communication URL: http://192.168.10.60/fog/management/index.php?sub=requestClientInfo&configure&newService&json 08/01/2020 14:59 Middleware::Response Success 08/01/2020 14:59 Middleware::Communication URL: http://192.168.10.60/fog/management/index.php?sub=requestClientInfo&mac=74:27:EA:6C:AA:0D&newService&json 08/01/2020 14:59 Middleware::Authentication Waiting for authentication timeout to pass 08/01/2020 15:01 Middleware::Communication Download: http://192.168.10.60/fog/management/other/ssl/srvpublic.crt 08/01/2020 15:01 Data::RSA FOG Server CA cert found 08/01/2020 15:01 Data::RSA ERROR: Certificate validation failed 08/01/2020 15:01 Data::RSA ERROR: Trust chain did not complete to the known authority anchor. Errors: The signature of the certificate cannot be verified. (NotSignatureValid) 08/01/2020 15:01 Middleware::Authentication ERROR: Could not authenticate 08/01/2020 15:01 Middleware::Authentication ERROR: Certificate is not from FOG CA 08/01/2020 15:01 Middleware::Response Success 08/01/2020 15:01 Middleware::Communication URL: http://192.168.10.60/fog/service/getversion.php?clientver&newService&json 08/01/2020 15:01 Middleware::Communication URL: http://192.168.10.60/fog/service/getversion.php?newService&json 08/01/2020 15:01 Service Creating user agent cache 08/01/2020 15:01 Middleware::Response ERROR: Unable to get subsection 08/01/2020 15:01 Middleware::Response ERROR: Object reference not set to an instance of an object. 08/01/2020 15:01 Middleware::Response ERROR: Unable to get subsection 08/01/2020 15:01 Middleware::Response ERROR: Object reference not set to an instance of an object. 08/01/2020 15:01 Middleware::Response ERROR: Unable to get subsection 08/01/2020 15:01 Middleware::Response ERROR: Object reference not set to an instance of an object. 08/01/2020 15:01 Service Initializing modules ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 08/01/2020 15:01 Client-Info Client Version: 0.11.17 08/01/2020 15:01 Client-Info Client OS: Windows 08/01/2020 15:01 Client-Info Server Version: 1.5.7.89 08/01/2020 15:01 Middleware::Response ERROR: Unable to get subsection 08/01/2020 15:01 Middleware::Response ERROR: Object reference not set to an instance of an object. 08/01/2020 15:01 Service Sleeping for 145 seconds 08/01/2020 15:03 Middleware::Communication URL: http://192.168.10.60/fog/management/index.php?sub=requestClientInfo&configure&newService&json 08/01/2020 15:03 Middleware::Response Success 08/01/2020 15:03 Middleware::Communication URL: http://192.168.10.60/fog/management/index.php?sub=requestClientInfo&mac=74:27:EA:6C:AA:0D&newService&json 08/01/2020 15:03 Middleware::Authentication Waiting for authentication timeout to pass 08/01/2020 15:03 Middleware::Communication Download: http://192.168.10.60/fog/management/other/ssl/srvpublic.crt 08/01/2020 15:03 Data::RSA FOG Server CA cert found 08/01/2020 15:03 Data::RSA ERROR: Certificate validation failed 08/01/2020 15:03 Data::RSA ERROR: Trust chain did not complete to the known authority anchor. Errors: The signature of the certificate cannot be verified. (NotSignatureValid) 08/01/2020 15:03 Middleware::Authentication ERROR: Could not authenticate 08/01/2020 15:03 Middleware::Authentication ERROR: Certificate is not from FOG CA 08/01/2020 15:03 Middleware::Response Success 08/01/2020 15:03 Middleware::Communication URL: http://192.168.10.60/fog/service/getversion.php?clientver&newService&json 08/01/2020 15:03 Middleware::Communication URL: http://192.168.10.60/fog/service/getversion.php?newService&json 08/01/2020 15:03 Service Creating user agent cache 08/01/2020 15:03 Middleware::Response ERROR: Unable to get subsection 08/01/2020 15:03 Middleware::Response ERROR: Object reference not set to an instance of an object. 08/01/2020 15:03 Middleware::Response ERROR: Unable to get subsection 08/01/2020 15:03 Middleware::Response ERROR: Object reference not set to an instance of an object. 08/01/2020 15:03 Middleware::Response ERROR: Unable to get subsection 08/01/2020 15:03 Middleware::Response ERROR: Object reference not set to an instance of an object.
Do I need to use ./installfog.sh -K option ?
-
RE: Several problems : unable to install CA certificate, userdel fogproject, updating database failed
@Sebastian-Roth said in Several problems : unable to install CA certificate, userdel fogproject, updating database failed:
Ok, seems like you somehow managed to re-generate the CA files. This should not happen unless you tell the installer to do so or delete the files. I am not exactly sure but I think it shouldn’t happen when you only delete /opt/fog/.fogsettings and re-run the installer.
Do you know if there are machines that still have the client installed. Probably some which were not turned on today yet. So my suggestion is you grab your backup, take
/opt/fog/snapins/ssl/
(all files and sub directories):mv /opt/fog/snapins/ssl /opt/fog/snapins/ssl_bak mv /backup/path/opt/fog/snapins/ssl /opt/fog/snapins/ssl chown -R fogproject:www-data /opt/fog/snapins/ssl systemctl restart apache2
OK I’ve just I restored older certificate from backup
Ok so it’s actually able to open the certificate store but is not able to remove the cert. Can you please open the certificate management UI on this client (run
certmgr. msc
) and navigate to “Trusted Authorities”. Do you see “FOG Server CA” there??I am wondering if you have some kind of strange GPO in place that prevents access to the cert store somehow?!
YESSSS !!! That’s it, after I tried to install https on fog server few weeks ago, I added fog certificate to GPO «Root Trusted Authorities» and problems began with that mess… so sorry, if I delete fog certificate in GPO I can install client !
But still have this error after install client------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 08/01/2020 14:04 Client-Info Version: 0.11.17 08/01/2020 14:04 Client-Info OS: Windows 08/01/2020 14:04 Middleware::Authentication Waiting for authentication timeout to pass 08/01/2020 14:06 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt 08/01/2020 14:06 Data::RSA FOG Server CA cert found 08/01/2020 14:06 Middleware::Authentication Cert OK 08/01/2020 14:06 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService 08/01/2020 14:06 Middleware::Response Failed to decrypt data on server
-
RE: Several problems : unable to install CA certificate, userdel fogproject, updating database failed
@Sebastian-Roth said in Several problems : unable to install CA certificate, userdel fogproject, updating database failed:
@Matthieu-Jacquart Can you please run
ls -la /opt/fog/snapins/ssl/CA
so we see if the CA was re-generated as well? Do you have a backup of the old files just in case??Yes I still have old files in bakcup
root@FOG:/opt/fogproject/bin$ ls -la /opt/fog/snapins/ssl/CA total 20 drwxrwxrwx 2 fogproject www-data 4096 janv. 21 2018 . drwxrwxrwx 3 fogproject www-data 4096 janv. 21 2018 .. -rwxrwxrwx 1 fogproject www-data 3243 janv. 7 15:30 .fogCA.key -rwxrwxrwx 1 fogproject www-data 1801 janv. 7 15:30 .fogCA.pem -rwxrwxrwx 1 fogproject www-data 17 janv. 8 13:10 .srl root@FOG:/opt/fogproject/bin$
As well re-download the updated installer (MSI / EXE), delete the old
C:\Windows\Temp\FOGService.install.log
on the test client, re-run the new MSI/EXE and post log output here again.Same error
08/01/2020 13:16 Data::RSA FOG Server CA cert found 08/01/2020 13:16 Data::RSA FOG Server CA cert found 08/01/2020 13:16 Installer Starting UnpinServerCert() 08/01/2020 13:16 Installer Trying to open Windows cert store: LocalMachine 08/01/2020 13:16 Installer Trying to remove cert 'CN=FOG Server CA'from cert store 08/01/2020 13:16 Installer ERROR: Could not unpin FOG server CA cert 08/01/2020 13:16 Installer ERROR: Access denied. 08/01/2020 13:16 Installer ERROR: Could not pin server CA 08/01/2020 13:16 Installer ERROR: Access denied. 08/01/2020 13:16 Installer ERROR: Unable to install CA certificate: Access denied.
-
RE: Several problems : unable to install CA certificate, userdel fogproject, updating database failed
@Sebastian-Roth said in Several problems : unable to install CA certificate, userdel fogproject, updating database failed:
It’s very strange this client log shows that it wasn’t able to properly communicate with the FOG server in the first place. Do you know why?
Absolutely not, maybe because I made lot of test yesterday with some VM backup restore so it may have borke something and I had to reset encryption data
Did you just delete that file or the whole
/opt/fog
directory? Because from the error above it seems like the server CA and certificate was regenerated and that made the clients fail in the first place.just the .fogsetting file, not the opt/fog folder, but I can see in ssl folder that files have been modified yesteray…
root@FOG:/opt/fog/snapins/ssl$ ls -la total 28 drwxrwxrwx 3 fogproject www-data 4096 janv. 21 2018 . drwxrwxrwx 3 fogproject www-data 4096 janv. 7 13:10 .. drwxrwxrwx 2 fogproject www-data 4096 janv. 21 2018 CA -rwxrwxrwx 1 fogproject www-data 91 janv. 7 16:52 ca.cnf -rwxrwxrwx 1 fogproject www-data 1667 janv. 7 15:30 fog.csr -rwxrwxrwx 1 fogproject www-data 223 janv. 7 15:30 req.cnf -rwxrwxrwx 1 fogproject www-data 3243 janv. 7 15:30 .srvprivate.key
I am sorry to say this but the fog-client is completely uninstalled at this stage. I know this is not a good behaviour and I am trying to change this but this is how 0.11.16 (and 0.11.17 still) worked. So you need to re-deploy the fog-client on all the machines I think. Sorry! Will be back with more informations in a few minutes.
Not a big deal, I have some software to deploy silently if it’s possible with msi client, do you think I have to regenerate certificate ?