Hey, issues again, yesterday I updated my ubuntu version from 20.04.6lts to 22.04.2lts however now fog is not loading :S
I checked and apache seems to be running :S any ideas

Hey, issues again, yesterday I updated my ubuntu version from 20.04.6lts to 22.04.2lts however now fog is not loading :S
I checked and apache seems to be running :S any ideas

@george1421 mainly I wanted to select raid on so that if a laptop hass issues and looses bios settings it will still work 
Example I have a couple of HP laptops that for some reason if left not being used for a couple of days they loose bios settings even if they have battery life :S
@george1421 I changed the option back from ahci to raid on exactly after image has been deployed.
However I laptop is not booting. Is there any easy way to do this without taking too much time or maybe someone to automate it?
@george1421 Managed to get it fixed.
I followed these insturctions and found out that I had the 066 was not selected 
https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence

thanks a lot for the help and keep up the good work.
Wishing a great Christmas and New year to all the team, and to your families and loves ones!
@george1421 I am on leave and will be back on wed to try it out.
@george1421 Basically I went into the server room and connected the laptop to the server switch (which gives ip on the same network as the fog server and the vm)
However it is not booting into the fog menu, it is booting into the dell diagnostics
I think the issue is that it is opening the file undionly.kpxe instead of ipxe.efi?


@george1421 first of all thanks for your help :):):)
-The policy on the dhcp is enabled on the dhcp of the pcs

-Booting UEFI with a real computer
I have a dell laptop and after changing from raidon to ahci I managed to boot into the fog menu, registered the machine.
The fog server and the laptops are on a different subnet. However the fog server and the vmware I have issues booting from network are on same subnet
@george1421 first time, I had arch 7 configured (probably was a few years ago when I configured fog but I dont recall I have used uefi up till now) I have now added arch 9
I am getting the error on first start booting from network and also when selecting to boot from


When it starts on boot from network I am getting

If I select to boot from efi network it says start pxe over ipv4 and then goes into the boot menu again
I am trying to create an image on my vmware server
however when I am trying to boot from network so that I can take an aimage to my fog server I am encountering an issue
With bios I could manage to take images however newer laptop dont have legacy options and I am starting to have issues.
I have a vmserver and I store my images on the server so that when I need an updated image I just open it, run the updates or do any modifications needed and then run sysprep and backup it using fog.
I am now trying to take an image with UEFI and when I am trying to boot using network however when I seleft efi network it displays start pxe over ipv4 and then goes back to the boot menu
Any ideas what I need to do to fix my issue



was there a fix for this issue or we still need to change to ahci?
@sebastian-roth you have a point there a good way to learn linux 
@george1421 I guess its better to just stop doing the OS updates.
I am a bit OCD about the updates 
@george1421 seem that after a couple of hours being left alone it is working again 

after ubuntu updates fog server is not loading in the browser. Any ideas how to fix it? I am not sure what version I was running however was updated earlier this year
I tried downloading the latest version to /opt/ and running the ./installfog.sh command. the scrip ran and when finished displayed the ip to login however still didnt load
@tom-elliott I tested on another computer and its working.
on this particular pc its not working. I will try and uninstall fog client from the pc and reinstall it again and will see if it works.
IF it still doesnt work will try to remove from fog server and re add
@sebastian-roth said in Changing hostname from fog broken:
http://fog/fog/management/ - doesnt seem to open
http://192.168.0.58/fog/management - works
however when I ping fog I get a reply
I only got 1 fog server
Command as requested:
root@fog:~# ls -al /var/www/{,html}
/var/www/:
total 16
drwxr-xr-x 4 root root 4096 Jan 29 2019 .
drwxr-xr-x 15 root root 4096 Jan 29 2019 ..
drwxr-xr-x 11 www-data www-data 4096 Jan 29 2019 fog
drwxr-xr-x 3 root root 4096 Mej 26 12:24 html
/var/www/html:
total 28
drwxr-xr-x 3 root root 4096 Mej 26 12:24 .
drwxr-xr-x 4 root root 4096 Jan 29 2019 ..
drwxr-xr-x 10 www-data www-data 4096 Mej 26 12:26 fog
-rw-r--r-- 1 root root 10918 Jan 29 2019 index.html
-rw-r--r-- 1 www-data www-data 52 Ott 8 2020 index.php
root@fog:~#
I downloaded from : https://github.com/FOGProject/fogproject.
Fog server and clients are on different subnets however have been like this for around 2years, I have a sophos utm router, without proxy server
------------------------------------------------------------------------------
----------------------------------UserTracker---------------------------------
------------------------------------------------------------------------------
6/4/2021 3:24:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:24:23 PM Client-Info Client OS: Windows
6/4/2021 3:24:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:24:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:24:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
6/4/2021 3:24:23 PM Service Sleeping for 60 seconds
6/4/2021 3:25:23 PM Middleware::Communication URL: http://fog/fog/management/index.php?sub=requestClientInfo&configure&newService&json
6/4/2021 3:25:23 PM Middleware::Communication ERROR: Could not contact FOG server
6/4/2021 3:25:23 PM Middleware::Communication ERROR: The remote server returned an error: (502) Bad Gateway.
6/4/2021 3:25:23 PM Middleware::Response Success
6/4/2021 3:25:23 PM Service ERROR: Invalid promptTime, using default
6/4/2021 3:25:23 PM Middleware::Communication URL: http://fog/fog/management/index.php?sub=requestClientInfo&mac=74:D0:2B:35:33:6B&newService&json
6/4/2021 3:25:23 PM Middleware::Communication ERROR: Could not contact FOG server
6/4/2021 3:25:23 PM Middleware::Communication ERROR: The remote server returned an error: (502) Bad Gateway.
6/4/2021 3:25:23 PM Middleware::Response Success
6/4/2021 3:25:23 PM Middleware::Communication URL: http://fog/fog/service/getversion.php?clientver&newService&json
6/4/2021 3:25:23 PM Service ERROR: Unable to get cycle data
6/4/2021 3:25:23 PM Service ERROR: The remote server returned an error: (502) Bad Gateway.
6/4/2021 3:25:23 PM Middleware::Response Success
------------------------------------------------------------------------------
---------------------------------ClientUpdater--------------------------------
------------------------------------------------------------------------------
6/4/2021 3:25:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:25:23 PM Client-Info Client OS: Windows
6/4/2021 3:25:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:25:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:25:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
----------------------------------TaskReboot----------------------------------
------------------------------------------------------------------------------
6/4/2021 3:25:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:25:23 PM Client-Info Client OS: Windows
6/4/2021 3:25:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:25:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:25:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
--------------------------------HostnameChanger-------------------------------
------------------------------------------------------------------------------
6/4/2021 3:25:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:25:23 PM Client-Info Client OS: Windows
6/4/2021 3:25:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:25:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:25:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
---------------------------------SnapinClient---------------------------------
------------------------------------------------------------------------------
6/4/2021 3:25:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:25:23 PM Client-Info Client OS: Windows
6/4/2021 3:25:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:25:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:25:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
--------------------------------PrinterManager--------------------------------
------------------------------------------------------------------------------
6/4/2021 3:25:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:25:23 PM Client-Info Client OS: Windows
6/4/2021 3:25:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:25:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:25:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
--------------------------------PowerManagement-------------------------------
------------------------------------------------------------------------------
6/4/2021 3:25:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:25:23 PM Client-Info Client OS: Windows
6/4/2021 3:25:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:25:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:25:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
----------------------------------UserTracker---------------------------------
------------------------------------------------------------------------------
6/4/2021 3:25:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:25:23 PM Client-Info Client OS: Windows
6/4/2021 3:25:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:25:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:25:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
6/4/2021 3:25:23 PM Service Sleeping for 60 seconds
Thanks 
I am getting the below number when accessesing the following link: http://192.168.0.58/fog/service/getversion.php?clientver&newService&json
0.12.0