What version of Fog are you running (top left in the cloud)?
Can you also post an output of this command? ls -lR /images
What version of Fog are you running (top left in the cloud)?
Can you also post an output of this command? ls -lR /images
Don’t know if is planned in any way, or if someone can point me in the right direction to get this working.
Looking for a way to add options to hosts when quick registering. Specifically, setting AD options and snapins to deploy, so when new laptops arrive all you have to do is set quick register to the default boot for non-registered devices and you don’t have to change anything else.
Currently we quick register having them joined to a group then, once a batch of imaging is finished, we set AD, add snapins, and deploy snapins.
Terms were changed from upload/download to capture/deploy under hosts but it seems to remain under task management. May cause confusion.
I created this script from various install files:
https://github.com/AdmissionRegret/utils/blob/master/fog-resetpermissions.sh
wget https://raw.githubusercontent.com/AdmissionRegret/utils/master/fog-resetpermissions.sh
chmod +x fog-resetpermissions.sh
Strange, I’m still having the same issue on 5044, this is on Debian 8.2
* Copying back old web folder as is...........................cp: cannot stat ‘/root/fog_web_5044.BACKUP/*’: No such file or directory
Failed!
root@NOSMFOG:/opt/fog-grub/bin# ls /root
001-fog.conf fog_web_5044.BACKUP
root@FOG:/opt/fog-grub/bin# ls /root/fog_web_5044.BACKUP/
root@FOG:/opt/fog-grub/bin#
root@FOG:/opt/fog-grub/bin# cat ../packages/web/lib/fog/System.class.php
<?php
class System {
public function __construct() {
define('FOG_VERSION', '5044');
At what point do you get the error, can you take a video showing the error?
I’m going to assume you are currently booting undionly.kpxe, so I would first try booting realtek.kpxe and seeing if that makes a difference.
Ran into an issue upgrading today:
* Backing up old data.........................................OK
* Copying back old web folder as is...........................cp: cannot stat ‘/home//fog_web_5020.BACKUP/*’: No such file or directory
Failed!
Running ./install -B /root gives:
* Backing up old data.........................................OK
* Copying back old web folder as is...........................cp: cannot stat ‘/root/fog_web_5020.BACKUP/*’: No such file or directory
Failed!
root@FOG:~# ls /root/fog_web_5020.BACKUP/
root@FOG:~# ls /root/
001-fog.conf fog_web_5020.BACKUP
During the schema update phase server threw error 500.
Relevant Apache log?
[Mon Oct 19 05:42:06.575049 2015] [:error] [pid 25856] [client 10.3.1.45:49637] PHP Fatal error: Call to a member function isValid() on null in /var/www/html/fog/lib/plugins/accesscontrol/hooks/RemoveMenuItems.hook.php on line 13
Same issue here, the only error I see in Apache is:
[Fri Oct 16 09:52:10.909025 2015] [:error] [pid 1412] [client 10.1.1.45:56874] PHP Warning: array_merge(): Argument #1 is not an array in /var/www/html/fog/lib/fog/Group.class.php on line 101, referer: http://10.1.11.51/fog/management/index.php?node=host&sub=search
@tnunn
You can either use WinSCP, or copy the file to /tftpboot and get it via tftp from windows.
tftp –i x.x.x.x get dmesg.txt
Where x.x.x.x is the IP of your FOG server.
Have you tried resetting the BIOS to defaults? Are there any BIOS updates for that machine?
It sounds like the machine is not getting an offer from your DHCP server, but without network logs I’m just guessing.
What hosts your DHCP? What switching do you use? Are you able to capture packets via wireshark or tcpdump?
Can you try booting with one of these debug files? tftpboot.tar.gz
If you add this to your PXE configuration it should work.
Change x.x.x.x to the FOG IP Address.
MENU TITLE Fog Reimage Menu
MENU COLOR TITLE 1;36;44 #ffffffff #00000000 std
LABEL iPXE Boot
MENU DEFAULT
KERNEL ipxe.krn
APPEND dhcp && chain http://x.x.x.x/fog/service/ipxe/boot.php?mac=${net0/mac}
PROMPT 0
TIMEOUT 1
Taken from: https://wiki.fogproject.org/wiki/index.php/Chainloading_PXE_to_iPXE_using_pxelinux.0
Sure,
I follow the steps in the wiki for the most part, except for the ipxescript I use:
#!ipxe
ifclose
ifopen && goto bootme || goto netstart
:netstart
dhcp || shell
ifopen || reboot
:netboot
chain tftp://192.168.1.20/default.ipxe || goto shell
Where of course 192.168.1.20 is replaced with your FOG IP.
But, reading back over the wiki the section labeled Custom ipxe script has a way that bypasses default.ipxe entirely.
No idea if this helps, but this undionly.kpxe will point to 192.168.1.20. If this works it would seem that your default gateway is being set as next-server.
undionly.kpxe
@prince-xyryl I do not believe the built-in administrator account can be deleted, but you can disable it.
I am assuming you have something similar to this in your unattend file, correct?
<AutoLogon>
<Password>
<Value>notmypw</Value>
<PlainText>true</PlainText>
</Password>
<LogonCount>3</LogonCount>
<Enabled>true</Enabled>
<Username>administrator</Username>
</AutoLogon>
If you remove that block when you run sysprep with the generalize switch it should not enable the administrator account. Just make sure you create your other account before hand.
If you need the administrator account after sysprep you can disable it with this command: net user administrator /active:no
More information: https://technet.microsoft.com/en-us/library/Cc766343(v=WS.10).aspx
Do you have any errors in your apache log? The last 20 lines should be enough.
cat /var/log/apache2/error.log | tail -20
The ISO in this thread should still work: https://forums.fogproject.org/topic/4782/help-usb-boot-fog/27
You can write it to your USB drive with dd if=ipxe.iso of=/dev/sdb bs=4M
Just replace sdb with your drive.