@mikepel Are you using two DHCP servers? (ISC/DNSMASQ)?
Maybe posting the dhcp config file here might be helpful.
@mikepel Are you using two DHCP servers? (ISC/DNSMASQ)?
Maybe posting the dhcp config file here might be helpful.
Is there another DHCP server on your network? (router/modem)
@Tom-Elliott Thanks for the quick response. After updating to the latest it was able to start capturing the image and no more errors show up when booting the device.
svn 6663, ubuntu 15.10
I wanted to capture an image for an existing host so I created the task, but then when I booted the client it is unable to actually start the process due to input/output error on boot.php
Apache error log throws the following error when this occurs :
[Thu Mar 10 12:04:47.819983 2016] [:error] [pid 1816] [client 192.168.1.53:37634] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/fog/lib/fog/storagenode.class.php, Line: 57, Message: array_values() expects parameter 1 to be array, null given' in /var/www/fog/lib/fog/fogftp.class.php:51\nStack trace:\n#0 /var/www/fog/lib/fog/storagenode.class.php(64): FOGFTP->connect()\n#1 /var/www/fog/lib/fog/fogcontroller.class.php(214): StorageNode->loadImages()\n#2 /var/www/fog/lib/fog/fogcontroller.class.php(46): FOGController->loadItem('images')\n#3 /var/www/fog/lib/fog/storagenode.class.php(39): FOGController->get('images')\n#4 /var/www/fog/lib/fog/storagegroup.class.php(38): StorageNode->get('images')\n#5 /var/www/fog/lib/fog/bootmenu.class.php(601): StorageGroup->getOptimalStorageNode('11')\n#6 /var/www/fog/lib/fog/bootmenu.class.php(133): BootMenu->getTasking()\n#7 [internal function]: BootMenu->__construct(Object(Host))\n#8 /var/www/fog/lib/fog/fogbase.class.php(65): ReflectionClass->newInstanceArgs(Array)\n#9 /var/www/fog/service/ipxe/boot.php(13): FOGBase->getClass('BootMenu', Object in /var/www/fog/lib/fog/fogftp.class.php on line 51
[Thu Mar 10 12:04:46.820806 2016] [:error] [pid 1816] [client 192.168.1.53:37634] PHP Warning: array_values() expects parameter 1 to be array, null given in /var/www/fog/lib/fog/storagenode.class.php on line 57
[Thu Mar 10 12:04:46.820802 2016] [:error] [pid 1816] [client 192.168.1.53:37634] PHP Warning: array_unique() expects parameter 1 to be array, null given in /var/www/fog/lib/fog/storagenode.class.php on line 57
[Thu Mar 10 12:04:46.820783 2016] [:error] [pid 1816] [client 192.168.1.53:37634] PHP Warning: array_filter() expects parameter 1 to be array, string given in /var/www/fog/lib/fog/storagenode.class.php on line 57
[Thu Mar 10 12:04:44.814442 2016] [:error] [pid 1816] [client 192.168.1.53:37634] PHP Strict Standards: Only variables should be passed by reference in /var/www/fog/lib/fog/bootmenu.class.php on line 116
[Thu Mar 10 12:04:44.814217 2016] [:error] [pid 1816] [client 192.168.1.53:37634] PHP Strict Standards: Only variables should be passed by reference in /var/www/fog/lib/fog/bootmenu.class.php on line 115
@ch3i It says version 6651 in his screenshot
@mlnancejr8808 You can extract the files from the exe’s with the /a command switch if I’m not mistaken.
@mlnancejr8808 unattend files aren’t my strong suit, but if you post it here (perhaps censor passwords and such) maybe someone can figure it out
@mlnancejr8808 In that case most likely there’s something in the unattend.xml that these computers don’t like. (guessing something to do with user accounts)
For now, can you try the following on one of the Optiplex 755:
When prompted with error unable to complete installation:
Hit SHIFT-F10 to bring up command prompt.
type MMC
Click File -> Add/Remove Snap-in... (Or CTRL+M)
Select Computer Management (Double click and Finish on Local Computer)
Click OK
Double click Computer Management (Local) -> System Tools -> Local Users and Groups -> Users -> Double Click Administrator -> Uncheck Account is disabled -> OK
Now right click Administrator -> Set Password... -> Set a decent password to get started.
Now, restart. Should be good to go.
If this doesn't work try next step:
SHIFT-F10 to bring up command prompt.
type: CD C:\windows\system32\oobe
type msoobe
enter
Make a generic account and password. hit finish (if it requests a product key and you have one, enter it now. if OEM/No key required, just finish). Set time/date. Finish.
Restart.
Should be good to go.
Could you tell us what’s in the image? (operating system details, partition layout, size of hard drive)
@ManofValor said:
@Wayne-Workman So I went to re-image, without changing anything, and it’s working. The first time it got to the image screen, blue screen with red status bars, and it went really quick. This time it’s actually going through the process. I’ve got 7 1/2 min left.Fingers crossed.
That’s because it does progress partition by partition, so the really quick one is the boot partition in front of your main one
@george1421 You don’t need the FOG storage node installer to make storage nodes work, but some functionality (like the available size pie chart) won’t be available. If you have NFS and FTP properly setup you can use the device as storage node pretty much, at least in my experience.
@Tom-Elliott Thanks for the quick help, can confirm it is fixed.
@ch3i Good call, I think these are the relevant errors:
[Tue Mar 08 10:33:59.289627 2016] [:error] [pid 18532] [client 192.168.1.30:51625] PHP Strict Standards: Only variables should be passed by reference in /var/www/fog/lib/fog/bootmenu.class.php on line 115
[Tue Mar 08 10:33:59.289849 2016] [:error] [pid 18532] [client 192.168.1.30:51625] PHP Strict Standards: Only variables should be passed by reference in /var/www/fog/lib/fog/bootmenu.class.php on line 116
edit: Never mind, it’s not caused by this issue as far as I can tell.
My best guess would be some communication error/failure between apache and mysql.
@ch3i No, it says Cancelled task and the page refreshes but the task remains there.
I created a image multicast session to test how multicast performs in our environment.
I would now like to cancel this task, but this seems to not work. I’ve tried this at both the Multicast Image menu and the Active Multicast Task menu.
I can remove it by going into mysql and manually removing it there of course.
Any insight on what might be going?
Ubuntu 15.10, latest SVN FOG.
Thanks 
@echo off
rem The fileserver IP
set FILESERVER=192.168.1.155
rem Share on the fileserver.
set SHARE=INSTALLERS\ISOFILES\0-WINPE
rem Username for the share
set SHAREUSER=root
rem Password for the share
set SHAREPASS=root
rem amd64 or x86
set ARCH=amd64
rem Path to hold working files. Needs about 500MB of free space.
set PEPATH="c:\winpe_%ARCH%"
rem ##########################################################
rem Don't edit anything below here
rem ##########################################################
echo Creating the PE image
call copype.cmd %ARCH% %PEPATH% > NUL
echo Mounting the image
dism /Mount-Wim /WimFile:%PEPATH%\media\sources\boot.wim /index:1 /MountDir:%PEPATH%\mount /quiet
echo Adding commands to the startup script in PE
echo. >> %PEPATH%\mount\windows\system32\startnet.cmd
echo ping %FILESERVER% >> %PEPATH%\mount\windows\system32\startnet.cmd
echo net use z: \\%FILESERVER%\%SHARE% %SHAREPASS% /u:%FILESERVER%\%SHAREUSER% >> %PEPATH%\mount\windows\system32\startnet.cmd
echo z: >> %PEPATH%\mount\windows\system32\startnet.cmd
echo z:\64.bat >> %PEPATH%\mount\windows\system32\startnet.cmd
echo Creating the pxeboot directory
mkdir %PEPATH%\pxeboot > NUL
mkdir %PEPATH%\pxeboot\Fonts > NUL
copy /y %PEPATH%\mount\windows\boot\Fonts\*.* %PEPATH%\pxeboot\Fonts\ > NUL
copy /y "%WinPERoot%\%ARCH%\Media\Boot\boot.sdi" %PEPATH%\pxeboot\ > NUL
copy /y "%WinPERoot%\%ARCH%\Media\Boot\BCD" %PEPATH%\pxeboot\ > NUL
echo Unmounting the image
dism /unmount-Wim /MountDir:%PEPATH%\mount /Commit /quiet
echo Optimizing the image
imagex /EXPORT %PEPATH%\media\sources\boot.wim 1 %PEPATH%\pxeboot\boot.wim > NUL
echo.
echo All the files you need for your PXE server are in: %PEPATH%\pxeboot\
This script needs to be called from the Deployment and Images Tool Environment command prompt.
I based myself on http://www.wcooke.org/wiki/Installing_Windows_using_PXELINUX but modified it since certain things didn’t work (it would create a corrupt BCD when there’s a perfectly fine working one included with WinPE) and other things were unnecessary.
If you make changes to the script and call it again make sure to delete the target directory first or your startnet.cmd will get messed up!
edit: Added ping command to give network drivers time to load before attempting to mount the network location.
@raice Don’t use x: to mount a network drive as WinPE will mount itself on X: on boot already!
@aruhuno The last time I had this issue I switched ethernet cables and it worked fine. Your mileage may vary of course.
I’ll post a script to make your own WinPE on Monday. It does require you to have Windows AIK, but you can just download that from Microsoft.
It allows you to automatically map your network drive and even launch setup with arguments. It all depends on what kind of setup you want of course, but hopefully you’ll at least get some insight in how to approach the situation with it.
@raumin https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP
The wiki may be able to help you.