<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Image completes but the task doesn&#x27;t]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">I’m are having an issue where the images get’s pushed but the tasks never completes in the task view tab.<br />
Causing the computer to get stuck in a reboot loop every time it boots in to windows.</p>
<p dir="auto"><img src="https://imgur.com/a/2t54Wum" alt="alt text" class=" img-fluid img-markdown" /><br />
<a href="https://imgur.com/a/2t54Wum" target="_blank" rel="noopener noreferrer nofollow ugc">https://imgur.com/a/2t54Wum</a></p>
<p dir="auto">I am using postDL scripts for Driver injection.<br />
I’m running FOG 1.5.4<br />
Ubuntu 14.04.5 LTS</p>
]]></description><link>http://forums.fogproject.org/topic/12355/image-completes-but-the-task-doesn-t</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 14:41:17 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/12355.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Aug 2018 09:22:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Image completes but the task doesn&#x27;t on Mon, 03 Sep 2018 14:04:46 GMT]]></title><description><![CDATA[<p dir="auto">Hey guys we can close this I solved it.</p>
<p dir="auto">The drivers that i had extracted with 7-zip was incomplete and with errors.<br />
Removed the folder and extracted the .cab with pea zip and it started working as normal again.</p>
<p dir="auto">Don’t know why that made it work, but it did. <img src="http://forums.fogproject.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=fsgu5qsff2i" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>http://forums.fogproject.org/post/116115</link><guid isPermaLink="true">http://forums.fogproject.org/post/116115</guid><dc:creator><![CDATA[ek_N]]></dc:creator><pubDate>Mon, 03 Sep 2018 14:04:46 GMT</pubDate></item><item><title><![CDATA[Reply to Image completes but the task doesn&#x27;t on Wed, 22 Aug 2018 10:37:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/34344">@ek_n</a> Is that folder essential?</p>
]]></description><link>http://forums.fogproject.org/post/115739</link><guid isPermaLink="true">http://forums.fogproject.org/post/115739</guid><dc:creator><![CDATA[Quazz]]></dc:creator><pubDate>Wed, 22 Aug 2018 10:37:41 GMT</pubDate></item><item><title><![CDATA[Reply to Image completes but the task doesn&#x27;t on Mon, 20 Aug 2018 14:30:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/30506">@quazz</a> So I tried it on a different model a laptop latitude 7480. And it works great no issues.<br />
It’s just the workstation that is having the issue.<br />
I can’t see that it copied every thing except the “video” folder which appears to be 2.89 GB. In size.<br />
I had to hand out the desktop and don’t have one to test it on.</p>
<p dir="auto">I will update you next time I try it.</p>
]]></description><link>http://forums.fogproject.org/post/115683</link><guid isPermaLink="true">http://forums.fogproject.org/post/115683</guid><dc:creator><![CDATA[ek_N]]></dc:creator><pubDate>Mon, 20 Aug 2018 14:30:17 GMT</pubDate></item><item><title><![CDATA[Reply to Image completes but the task doesn&#x27;t on Mon, 20 Aug 2018 13:26:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/34344">@ek_n</a> Okay, good. So rsync fails at some point, we need to know why that is.</p>
<p dir="auto">If you modify</p>
<pre><code>&lsqb;&lsqb; ! $? -eq 0 &rsqb;&rsqb; &amp;&amp; handleError "Failed to download driver information for [$machine/$osn/$arch]"
</code></pre>
<p dir="auto">To something like</p>
<pre><code>&lsqb;&lsqb; ! $? -eq 0 &rsqb;&rsqb; &amp;&amp; handleError "Failed to download driver information for [$machine/$osn/$arch] with error code $?"
</code></pre>
<p dir="auto">And then try again, it should now also give us the exit code of rsync which should tell us what goes wrong (though not necessarily why)</p>
]]></description><link>http://forums.fogproject.org/post/115682</link><guid isPermaLink="true">http://forums.fogproject.org/post/115682</guid><dc:creator><![CDATA[Quazz]]></dc:creator><pubDate>Mon, 20 Aug 2018 13:26:51 GMT</pubDate></item><item><title><![CDATA[Reply to Image completes but the task doesn&#x27;t on Mon, 20 Aug 2018 13:12:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/30506">@quazz</a> This is what I have. Followed the guide that George wrote.</p>
<pre><code>#!/bin/bash
ceol=`tput el`;
manu=`dmidecode -s system-manufacturer`;
dots "Identifying hardware"
case $manu in
    [Ll][Ee][Nn][Oo][Vv][Oo])
        machine=$(dmidecode -s system-version)
        ;;
    *[Dd][Ee][Ll][Ll]*)
        machine=$(dmidecode -s system-product-name)
        ;;
    *I[Nn][Tt][Ee][Ll]*)
        # For the Intel NUC and intel mobo pick up the system type from the
        # baseboard product name
        machine=$(dmidecode -s baseboard-product-name)
        ;;
    *)
        # Technically, we can remove the Dell entry above as it is the same as this [default]
        machine=$(dmidecode -s system-product-name) 
        ;;
esac

# if the machine isn't identified then no need to continue with this script, just return to caller
if &lsqb;&lsqb; -z $machine &rsqb;&rsqb;; then 
    echo "Unable to identify the hardware for manufacturer ${manu}";
    debugPause;
    return;
fi 
echo "${machine} Identified";

# Removes Spaces in machine name, works better with path definitions

machine="${machine%"${machine##*[![:space:&rsqb;&rsqb;}"}";

dots "Verifying we've found the OS disk"
if &lsqb;&lsqb; ! -d /ntfs/windows &amp;&amp; ! -d /ntfs/Windows &amp;&amp; ! -d /ntfs/WINDOWS &rsqb;&rsqb;; then
    echo "! OS root Not found !";
    debugPause
    return;
fi
echo "Found";
        
dots "Verifying target Arch"
system64="/ntfs/Windows/SysWOW64/regedit.exe"
&lsqb;&lsqb; ! -f $system64 &rsqb;&rsqb; &amp;&amp; arch="x86" || arch="x64"
echo "${arch} found";

debugPause

# set osn path names based on the osid set in the FOG WebGui
case $osid in
    5) osn="win7" ;;
    6) osn="win8" ;;
    7) osn="win8.1" ;;
    9) osn="win10" ;;
esac

dots "Preparing Drivers"
clientdriverpath="/ntfs/Drivers"
remotedriverpath="/images/drivers/$machine/$osn/$arch"

debugPause

if &lsqb;&lsqb; ! -d "${remotedriverpath}" &rsqb;&rsqb;; then
    echo "failed";
    echo " ! Driver package not found for ${machine}/$osn/$arch ! ";
    debugPause;
    return;
fi
echo "Ready";

debugPause

&lsqb;&lsqb; ! -d $clientdriverpath &rsqb;&rsqb; &amp;&amp; mkdir -p "$clientdriverpath" &gt;/dev/null 2&gt;&amp;1
echo -n "In Progress"

rsync -aqz "$remotedriverpath" "$clientdriverpath" &gt;/dev/null 2&gt;&amp;1

&lsqb;&lsqb; ! $? -eq 0 &rsqb;&rsqb; &amp;&amp; handleError "Failed to download driver information for [$machine/$osn/$arch]"

debugPause

# the following code is only valid for Windows 7 operating systems since Windows 8 and beyond
# relies on the unattend.xml section to locate OEM drivers. If you are no longer deploying Win7
# you may exclude this section. 

regfile="/ntfs/Windows/System32/config/SOFTWARE"
key="\Microsoft\Windows\CurrentVersion\DevicePath"
devpath="%SystemRoot%\DRV;%SystemRoot%\inf;";
reged -e "$regfile" &amp;&gt;/dev/null &lt;&lt;EOFREG
ed $key
$devpath
q
y
EOFREG
</code></pre>
]]></description><link>http://forums.fogproject.org/post/115681</link><guid isPermaLink="true">http://forums.fogproject.org/post/115681</guid><dc:creator><![CDATA[ek_N]]></dc:creator><pubDate>Mon, 20 Aug 2018 13:12:48 GMT</pubDate></item><item><title><![CDATA[Reply to Image completes but the task doesn&#x27;t on Mon, 20 Aug 2018 09:00:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/34344">@ek_n</a> Can you share the script you’re using? We can’t really comment unless we know what you’re actually using.</p>
<p dir="auto">It appears to be George’s script at a glance, but it could be an older version or modifications made to it that we don’t know about.</p>
<p dir="auto">At any rate, for it to display that error message means that rsync encountered some kind of error. We don’t really know which one at this point, however.</p>
<p dir="auto">Common problems: spaces in paths, permissions, firewalls (and network in general)</p>
]]></description><link>http://forums.fogproject.org/post/115677</link><guid isPermaLink="true">http://forums.fogproject.org/post/115677</guid><dc:creator><![CDATA[Quazz]]></dc:creator><pubDate>Mon, 20 Aug 2018 09:00:39 GMT</pubDate></item><item><title><![CDATA[Reply to Image completes but the task doesn&#x27;t on Mon, 20 Aug 2018 07:56:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/30416">@george1421</a> So checked the folder and it is missing some files on the target machine when copying.<br />
Is there a timeout on the script that causes it to kill the transfer if it takes too long?</p>
]]></description><link>http://forums.fogproject.org/post/115676</link><guid isPermaLink="true">http://forums.fogproject.org/post/115676</guid><dc:creator><![CDATA[ek_N]]></dc:creator><pubDate>Mon, 20 Aug 2018 07:56:04 GMT</pubDate></item><item><title><![CDATA[Reply to Image completes but the task doesn&#x27;t on Fri, 17 Aug 2018 13:50:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/34344">@ek_n</a> Did you base your postinstall scripts on my tutorial?<br />
If not, what does your post install script look like?<br />
If you go into the fog server linux console and comment out the call to your post install script does FOG image correctly?</p>
<p dir="auto">Again I haven’t seen a post install script (before now) stop the imaging process. This may be a new feature in fog 1.5.x series…<br />
The other option is that the copy is setting an error level because maybe an incomplete copy happened and the master fog script is seeing that error level.</p>
<p dir="auto">Either way I would start out by commenting out the call to your custom post install script and confirm that FOG is imaging correctly. Then we can dig into why your script is failing. I might also take a look at the target computer in the Drivers directory and compare if all of the drivers were copied over vs the master driver directory on the FOG server.</p>
]]></description><link>http://forums.fogproject.org/post/115643</link><guid isPermaLink="true">http://forums.fogproject.org/post/115643</guid><dc:creator><![CDATA[george1421]]></dc:creator><pubDate>Fri, 17 Aug 2018 13:50:54 GMT</pubDate></item><item><title><![CDATA[Reply to Image completes but the task doesn&#x27;t on Fri, 17 Aug 2018 13:10:23 GMT]]></title><description><![CDATA[<p dir="auto">Well it doesn’t fail as you can see in the next picture pnputil is installing the drivers.<br />
and the folder is on the C drive with  no missing files.</p>
<p dir="auto">“Well your “debug mode” picture explains why the task is not done”<br />
It’s the copy drivers that fails the entire task to not complete?</p>
]]></description><link>http://forums.fogproject.org/post/115642</link><guid isPermaLink="true">http://forums.fogproject.org/post/115642</guid><dc:creator><![CDATA[ek_N]]></dc:creator><pubDate>Fri, 17 Aug 2018 13:10:23 GMT</pubDate></item><item><title><![CDATA[Reply to Image completes but the task doesn&#x27;t on Fri, 17 Aug 2018 13:06:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/34344">@ek_n</a> Well your “debug mode” picture explains why the task is not done. But I also haven’t ever seen a driver post install script cause the imaging to fail. Do you know why its failing to copy the files?</p>
]]></description><link>http://forums.fogproject.org/post/115641</link><guid isPermaLink="true">http://forums.fogproject.org/post/115641</guid><dc:creator><![CDATA[george1421]]></dc:creator><pubDate>Fri, 17 Aug 2018 13:06:54 GMT</pubDate></item><item><title><![CDATA[Reply to Image completes but the task doesn&#x27;t on Fri, 17 Aug 2018 12:46:27 GMT]]></title><description><![CDATA[<p dir="auto">So this is weird. It says Failed to download driver.<br />
But it works as you can see in the next picture where it’s installing the drivers.<br />
Still doesn’t mark the task as complete.</p>
<p dir="auto"><img src="https://imgur.com/5WEjN1c" alt="debug mode" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://imgur.com/IDMD696" alt="first boot" class=" img-fluid img-markdown" /></p>
<p dir="auto"><a href="https://imgur.com/5WEjN1c" target="_blank" rel="noopener noreferrer nofollow ugc">https://imgur.com/5WEjN1c</a><br />
<a href="https://imgur.com/IDMD696" target="_blank" rel="noopener noreferrer nofollow ugc">https://imgur.com/IDMD696</a></p>
]]></description><link>http://forums.fogproject.org/post/115640</link><guid isPermaLink="true">http://forums.fogproject.org/post/115640</guid><dc:creator><![CDATA[ek_N]]></dc:creator><pubDate>Fri, 17 Aug 2018 12:46:27 GMT</pubDate></item><item><title><![CDATA[Reply to Image completes but the task doesn&#x27;t on Thu, 16 Aug 2018 11:50:38 GMT]]></title><description><![CDATA[<p dir="auto">Is our postdownload telling the machine to reboot?  Possibly there’s an error occurring during Post download?</p>
<p dir="auto">As <a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/30416">@george1421</a> suggested, please watch the machine. Maybe grab a slo-mo video of the tail end of the partclone screen until the machine reboots?</p>
]]></description><link>http://forums.fogproject.org/post/115584</link><guid isPermaLink="true">http://forums.fogproject.org/post/115584</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Thu, 16 Aug 2018 11:50:38 GMT</pubDate></item><item><title><![CDATA[Reply to Image completes but the task doesn&#x27;t on Thu, 16 Aug 2018 09:50:33 GMT]]></title><description><![CDATA[<p dir="auto">I need you to watch the computer at the point where you post install scripts run. One of the very last steps after the post install scripts finish is “Updating database” Make sure that step is completed.</p>
<p dir="auto">Where we see this issue, is there is a error on the target computer at the step of updating the database. But normally on capture image, because someone has changed the password on the FOG service account in linux called <code>fog</code>. In your case it appears you are deploying an image. Make sure your post install scripts are not accidentally rebooting the target computer before the Update Database command is executed.</p>
<p dir="auto">If things fly by too fast for you to see, you can always setup a debug deploy. Tick the debug checkbox before you submit the deploy task. Then pxe boot the target computer. On the target computer you will see several screens of text and then eventually get dropped to a linux command prompt on the target computer. At the linux command prompt key in <code>fog</code>. This will start a debug deploy, requiring you to press enter at each breakpoint. It will give you a chance to see what is going on with the deployment.</p>
]]></description><link>http://forums.fogproject.org/post/115580</link><guid isPermaLink="true">http://forums.fogproject.org/post/115580</guid><dc:creator><![CDATA[george1421]]></dc:creator><pubDate>Thu, 16 Aug 2018 09:50:33 GMT</pubDate></item></channel></rss>