Page 1 of 1

WIndows Ugrade Assistant - ISO download failure

Posted: Tue May 04, 2021 1:29 pm
by jcasteel
'The Windows 10 ISO failed to download the [%ltsvcdir%\Habitat\Windows10UG\2004.iso]. Pleas...' T: 118.0305656

getting this error/failure trying to upgade a machine.

The machine can pull the ISO directly using the URL in the policy setup and above folder structure is there.

Re: WIndows Ugrade Assistant - ISO download failure

Posted: Tue May 04, 2021 6:45 pm
by Cubert
Plausible timeout occurred?

When you download the ISO how long does it take to fully complete?

You can also see this action in the script and command logs. See if the downloads time out.

Re: WIndows Ugrade Assistant - ISO download failure

Posted: Tue May 04, 2021 8:57 pm
by jcasteel
Downloading the iso in question directly from the client machine takes about 3-5 minutes, give or take, but only about 30 seconds seems to pass between downloading and failure. see below:

Habitat - OS Upgrade Service Information 5/4/2021 9:19:52 AM -04:00 We have completed the ISO Download
Habitat - OS Upgrade Service Information 5/4/2021 9:19:52 AM -04:00 The Windows 10 ISO failed to download the [%ltsvcdir%\Habitat\Windows10UG\2004.iso]. Please debug failure and retry script.
Habitat - OS Upgrade Service Information 5/4/2021 9:19:22 AM -04:00 Downloading from URL [https://www.webserver.com/files/]
Habitat - OS Upgrade Service Information 5/4/2021 9:19:22 AM -04:00 The ISO Download path is set to [https://www.webserver.com/files/]
Habitat - OS Upgrade Service Information 5/4/2021 9:19:22 AM -04:00 We are using the Web URL to downlaod ISO file.

Re: WIndows Ugrade Assistant - ISO download failure

Posted: Fri May 07, 2021 4:13 pm
by Cubert
Please post screenshot of your policy for the installs

Re: WIndows Ugrade Assistant - ISO download failure

Posted: Mon May 10, 2021 2:33 pm
by jcasteel
Screenshot 2021-05-10 103254.jpg
Screenshot 2021-05-10 103254.jpg (96.74 KiB) Viewed 3878 times
I've tried with both the ENT iso listed or the 32/64 bit iso's, same result either way.

Re: WIndows Ugrade Assistant - ISO download failure

Posted: Tue May 11, 2021 1:53 pm
by Cubert
Ok so by your config I see your only downloading Enterprise Windows 10 and neither the 64 or 32 bit versions of PRO.

So We should be looking at that part of the script code to see what it is doing.

Since you say it dies pretty much strait away that tells us that we either have a bad URL or some other (get from URL) issue.

To test this theory, lets open the Scripts\Maintenance\Habitat - OS Upgrade Service script and in the "Then" section lets add a new line at line 60.

The new line should be a "script log message" function and place in the log line the variable "@ISODOWNLOADPATH@" which will print out the URL it will attempt to fetch.

Lets see what it logs as a URL to see if it got malformed in some way.

You should now get a log message during the running of script that will print out this URL.


Capture.PNG
Capture.PNG (61.66 KiB) Viewed 3799 times


Between Line 52 and 60 we construct the URL from the entries placed in the configs for 32 bit, 64 bit and Enterprise. If for some reason your grabbing incorrect data then URL will be malformed here and we should be able to see that in the logs during an update attempt.

Re: WIndows Ugrade Assistant - ISO download failure

Posted: Mon Jun 07, 2021 8:38 pm
by jcasteel
Sorry for the delay. I added in the two empty .iso fields and it worked. Just wanted to close the loop on this. Thanks for your help!

Re: WIndows Ugrade Assistant - ISO download failure

Posted: Wed Dec 08, 2021 9:29 pm
by NinjaMonk
I'm having a similar issue where the download fails but I'm using the Google Drive API. It's seeing the files, but if I try to download the file from the Google Drive File Manager I get Access denied?

2021-12-08_16-24-32.png
2021-12-08_16-24-32.png (60.42 KiB) Viewed 1870 times
Did I possibly miss something in configuration steps again?

Thanks in advance


Sounds like your issue is with the uploaded file permissions. Go into Google Drive and allow it to be shared by only the link and not restricted to users.
Capture.PNG
Capture.PNG (40.81 KiB) Viewed 1840 times

Re: WIndows Ugrade Assistant - ISO download failure

Posted: Thu Dec 09, 2021 4:54 pm
by NinjaMonk
That was it thank you very much file is now downloading :D :D :D :D