update to 9.7 broke

update to 9.7 broke

Postby negg » 25.06.2015, 18:48

Hi when updating to 9.7 I get a few access denied errors even though the log reports nothing and when i run the program again its still version 9.6 and whats to update again. anyone else having probs ?
negg
 
Posts: 222
Joined: 26.03.2014, 11:46

Re: update to 9.7 broke

Postby negg » 25.06.2015, 18:50

This is taken from the log file after updating to ver 9.7 as u can see no errors and its still ver 9.6

25/06/2015 18:40:01.28 - Info: Starting WSUS Offline Update self update
25/06/2015 18:40:04.58 - Info: Downloaded most recent released version of WSUS Offline Update
25/06/2015 18:40:04.58 - Info: Downloaded hash file of most recent WSUS Offline Update version
25/06/2015 18:40:04.58 - Info: Verified integrity of wsusoffline97.zip
25/06/2015 18:40:04.58 - Info: Unpacked wsusoffline97.zip
25/06/2015 18:40:04.58 - Info: Deleted wsusoffline97.zip
25/06/2015 18:40:04.58 - Info: Deleted wsusoffline97_hashes.txt
25/06/2015 18:40:32.99 - Info: Preserved custom language additions
25/06/2015 18:40:46.15 - Info: Updated WSUS Offline Update
25/06/2015 18:40:46.20 - Info: Updated custom language additions
25/06/2015 18:40:46.20 - Info: Ending WSUS Offline Update self update

--------------------------------------------------------------------------------

25/06/2015 18:41:21.43 - Info: Starting WSUS Offline Update self update
25/06/2015 18:41:22.58 - Info: Downloaded most recent released version of WSUS Offline Update
25/06/2015 18:41:22.58 - Info: Downloaded hash file of most recent WSUS Offline Update version
25/06/2015 18:41:22.58 - Info: Verified integrity of wsusoffline97.zip
25/06/2015 18:41:22.58 - Info: Unpacked wsusoffline97.zip
25/06/2015 18:41:22.58 - Info: Deleted wsusoffline97.zip
25/06/2015 18:41:22.58 - Info: Deleted wsusoffline97_hashes.txt
25/06/2015 18:41:35.21 - Info: Preserved custom language additions
25/06/2015 18:41:36.93 - Info: Updated WSUS Offline Update
25/06/2015 18:41:36.94 - Info: Updated custom language additions
25/06/2015 18:41:36.94 - Info: Ending WSUS Offline Update self update

--------------------------------------------------------------------------------

25/06/2015 18:41:51.94 - Info: Starting WSUS Offline Update download (v. 9.6) for w61 glb
25/06/2015 18:41:52.01 - Info: Option /includedotnet detected
25/06/2015 18:41:52.03 - Info: Option /includemsse detected
25/06/2015 18:41:52.05 - Info: Option /includewddefs detected
25/06/2015 18:41:52.34 - Info: Option /verify detected
25/06/2015 18:41:52.36 - Info: Option /exitonerror detected
25/06/2015 18:41:53.07 - Info: Set time zone to LOC-1:00
2015-06-25 18:41:54 URL:http://download.wsusoffline.net/StaticDownloadFiles-modified.txt [0/0] -> "../static/StaticDownloadFiles-modified.txt" [1]
25/06/2015 18:41:54.35 - Info: Updated static download definitions
25/06/2015 18:41:54.51 - Info: Downloaded/validated mkisofs tool
25/06/2015 18:42:02.14 - Info: Found sigcheck.exe version 2.20.0.0
25/06/2015 18:42:02.14 - Warning: Integrity database ..\client\md\hashes-wsus.txt not found
25/06/2015 18:42:02.47 - Info: Downloaded/validated most recent Windows Update Agent installation and catalog files
25/06/2015 18:42:02.47 - Info: Verified digital file signatures of Windows Update Agent installation and catalog files
25/06/2015 18:42:02.48 - Info: Created integrity database for Windows Update Agent installation and catalog files
25/06/2015 18:42:20.97 - Warning: Integrity database ..\client\md\hashes-dotnet.txt not found
25/06/2015 18:42:22.31 - Info: Downloaded/validated installation files for .NET Frameworks 3.5 SP1 and 4.x
25/06/2015 18:42:22.38 - Warning: Integrity database ..\client\md\hashes-dotnet-x86-glb.txt not found
25/06/2015 18:42:22.47 - Info: Determined static update urls for dotnet x86-glb
negg
 
Posts: 222
Joined: 26.03.2014, 11:46

Re: update to 9.7 broke

Postby aker » 25.06.2015, 23:05

Then please manually update wsusou by overwriting it with version 9.7
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

Re: update to 9.7 broke

Postby hbuhrmester » 07.07.2015, 18:54

This may happen, if you renamed the folder "wsusoffline" to something else. The script UpdateOU.new says in line 90-91:

Code: Select all
echo Updating WSUS Offline Update...
%SystemRoot%\System32\xcopy.exe ..\wsusoffline .. /S /Q /Y


So, there is a new folder "wsusoffline", and the enclosing folder is also supposed to be "wsusoffline". Using absolute paths, this could translate to:

Code: Select all
%SystemRoot%\System32\xcopy.exe C:\wsusoffline\wsusoffline C:\wsusoffline /S /Q /Y


Then the inner folder and all files and subdirectories will be recursively copied to the outer folder, replacing files and folders of the same name. But if the outer folder is renamed, for example to wsusoffline96, this would translates to:

Code: Select all
%SystemRoot%\System32\xcopy.exe C:\wsusoffline96\wsusoffline C:\wsusoffline96 /S /Q /Y


and then the inner folder will simply be copied to itself. If some files are busy, this could also explain the "access denied" errors.
hbuhrmester
 
Posts: 525
Joined: 11.10.2013, 20:59

Re: update to 9.7 broke

Postby WSUSUpdateAdmin » 09.07.2015, 13:41

Hi!

hbuhrmester wrote:[...]The script UpdateOU.new says in line 90-91:
Code: Select all
echo Updating WSUS Offline Update...
%SystemRoot%\System32\xcopy.exe ..\wsusoffline .. /S /Q /Y

So, there is a new folder "wsusoffline", and the enclosing folder is also supposed to be "wsusoffline". [...]


I disagree with this.
The only assumption the code makes is that the inner folder (that's the one the new release archive has been unpacked to) is named "wsusoffline". The outer folder is addressed by ".." which should be translated to whatever it is, actually.

Regards
Torsten Wittrock
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38


Return to Verschiedenes / Miscellaneous

Who is online

Users browsing this forum: No registered users and 49 guests