Eine neue Version ist verfügbar...

Eine neue Version ist verfügbar...

Postby surfmaxx » 10.01.2013, 23:19

Hallo zusammen,

mit meinem WSUS-OU habe ich das Problem, dass sobald ich im Update Generator auf "Start" klicke die Meldung kommt "Eine neue Version ist verfügbar. Möchten Sie ....aktualisieren".
Wenn ich auf "ja" klicke, kommt die Meldung auch beim nächsten Mal wieder.

Nun habe ich mir die Version 8.0 heruntergeladen und ganz frisch in einen Ordner entpackt.
Das Problem besteht weiterhin.

Es macht auch keinen Unterschied, ob ich den Generator als Admin starte oder nicht.


Dann dachte ich mir, ich könnte es mal mit dem WSUSOU-Update probieren.
Wenn ich WSUSOU-Update.exe starte steht in der Errorlog.txt:
Code: Select all
10.01.2013 22:57:46,06 - Error 

Microsoft Windows [Version 6.1.7601]
 
Config.txt: WSUSOU is empty 
Error: WSUSOU-folder not found 


und in der InstallLog.txt:
Code: Select all
10.01.2013 22:57:46,03 ----------  UPDATER  ----------
10.01.2013 22:57:46,03 ----------   v0.8    ----------
10.01.2013 22:57:46,03 ---------- VARIABLEN ----------
10.01.2013 22:57:46,06 - SVN-Server = https://svn.wsusoffline.net/svn/wsusoffline/trunk/
10.01.2013 22:57:46,06 - WSUSUpdater = G:\WSUSOU-Update
10.01.2013 22:57:46,06 - WSUSOU = empty
10.01.2013 22:57:46,06 - STARTOU = empty
10.01.2013 22:57:46,06 - STARTOUJN = 
10.01.2013 22:57:47,18 ----------  E N D E  ----------


Lustigerweise sind die Variablen nicht gesetzt, obwohl sie in der config.txt definiert sind.
Die Config.txt ist dabei unverändert wie sie im ZIP drin war.
Es ist aber auch egal, was ich da hineinschreibe oder ob ich den ganzen Inhalt lösche.
Der Fehler bleibt der gleiche.
Ich habe schon versucht, die Zeilen zu verschieben, die Anführungsstriche zu verändern, Leerzeichen einzufügen,...
Auch andere Ordner und Laufwerke habe ich schon probiert.
Ich weiß mir keinen Rat mehr, warum die Variablen nicht aus der config gelesen werden.


So langsam glaube ich, das WSUS-OU hat ein generelles Problem auf meinem Rechner.

Gruß
surfmaxx

- Win 7 SP1 x64
surfmaxx
 

Re: Eine neue Version ist verfügbar...

Postby boco » 10.01.2013, 23:39

Was steht denn in der ./static/StaticDownloadLink-this.txt drin?
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2398
Joined: 24.11.2009, 17:00
Location: Germany

Re: Eine neue Version ist verfügbar...

Postby surfmaxx » 10.01.2013, 23:59

boco wrote:Was steht denn in der ./static/StaticDownloadLink-this.txt drin?

Code: Select all
http://download.wsusoffline.net/wsusoffline80.zip
surfmaxx
 

Re: Eine neue Version ist verfügbar...

Postby aker » 11.01.2013, 07:58

Gibt es im Ordner C:\Windows\system32 ein Prgramm namens "comp.exe"? Bei mir fehlte es und hat genau diesen Fehler ausgelöst. Normalerweise gibt es als Rückgabewert 0 zurück, wenn di Dateien identisch sind / 1, wenn sie es nicht sind. Existiert dieses Programm nicht, erhält wsusou auch einen anderen Rückgabewert als 0 und denkt, dass ein Update verfügbar ist.
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: Eine neue Version ist verfügbar...

Postby boco » 11.01.2013, 09:37

Natürlich könnte das Vorhandensein von comp überprüft werden, sofern es jetzt nicht schon gemacht wird.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2398
Joined: 24.11.2009, 17:00
Location: Germany

Re: Eine neue Version ist verfügbar...

Postby surfmaxx » 11.01.2013, 19:22

Tja, also an der Comp.exe liegt es nicht. Die ist vorhanden.
Auf meinem Laptop funktioniert es übrigens einwandfrei. Ist aber auch Win 7 x86.
surfmaxx
 

Re: Eine neue Version ist verfügbar...

Postby Matjes » 11.01.2013, 20:02

Hallo surfmaxx,

im Verzeichnis des WSUSOU-Update ist nicht WSUSOU-Update.exe sondern Updater.exe zu starten.

Gruß Matjes :)
Matjes
 
Posts: 76
Joined: 16.06.2010, 17:56

Re: Eine neue Version ist verfügbar...

Postby surfmaxx » 11.01.2013, 20:33

Yo, aber WSUSOU-Update.exe macht eigentlich nix anderes, als updater.exe upzudaten und dieses danach zu starten. Mit dem selben Effekt, als würde ich es direkt starten.
surfmaxx
 

Re: Eine neue Version ist verfügbar...

Postby aker » 11.01.2013, 21:20

Ich würde vorschlagen die Datei .\cmd\CheckOUVersion.cmd mal durch diese zu ersetzen und die Ausgabe der Konsole zu posten.

Code: Select all
::@echo off
rem *** Author: T. Wittrock, Kiel ***

verify other 2>nul
setlocal enableextensions
if errorlevel 1 goto NoExtensions

cd /D "%~dp0"

set WGET_PATH=..\bin\wget.exe
if not exist %WGET_PATH% goto NoWGet

:EvalParams
if "%1"=="" goto NoMoreParams
if /i "%1"=="/exitonerror" set EXIT_ERR=1
if /i "%1"=="/proxy" (
  set http_proxy=%2
  shift /1
)
shift /1
goto EvalParams

:NoMoreParams
rem *** Check WSUS Offline Update version ***
title Checking WSUS Offline Update version...
echo Checking WSUS Offline Update version...
if exist UpdateOU.new (
  if exist UpdateOU.cmd del UpdateOU.cmd
  ren UpdateOU.new UpdateOU.cmd
)
%WGET_PATH% -N -P ..\static http://download.wsusoffline.net/StaticDownloadLink-recent.txt
if errorlevel 1 goto DownloadError
if exist ..\static\StaticDownloadLink-recent.txt (
  echo n | comp ..\static\StaticDownloadLink-this.txt ..\static\StaticDownloadLink-recent.txt /a /l /n=1 /c >nul 2>&1
  if errorlevel 1 goto CompError
)
goto EoF

:NoExtensions
echo.
echo ERROR: No command extensions available.
echo.
exit

:NoWGet
echo.
echo ERROR: Utility %WGET_PATH% not found.
echo.
goto EoF

:DownloadError
echo.
echo ERROR: Download failure for http://download.wsusoffline.net/StaticDownloadLink-recent.txt.
echo.
goto EoF

:CompError
echo.
echo Warning: File ..\static\StaticDownloadLink-this.txt differs from file ..\static\StaticDownloadLink-recent.txt.
echo.
goto Error

:Error
if "%EXIT_ERR%"=="1" (
  endlocal
  verify other 2>nul
  exit
) else (
  title %ComSpec%
  endlocal
  verify other 2>nul
  goto :eof
)

:EoF
title %ComSpec%
endlocal
pause

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: Eine neue Version ist verfügbar...

Postby surfmaxx » 13.01.2013, 19:13

Leider konnte ich nicht alle Ausgaben der Scripte in ein File umleiten, daher musste ich sie händisch dazwischen flicken.
Ich hoffe es hat sich kein kapitaler Fehler eingeschlichen.


Code: Select all
G:\wsusoffline\cmd>rem *** Author: T. Wittrock, Kiel ***

G:\wsusoffline\cmd>verify other  2>nul

G:\wsusoffline\cmd>setlocal enableextensions

G:\wsusoffline\cmd>if errorlevel 1 goto NoExtensions

G:\wsusoffline\cmd>cd /D "G:\wsusoffline\cmd\"

G:\wsusoffline\cmd>set WGET_PATH=..\bin\wget.exe

G:\wsusoffline\cmd>if not exist ..\bin\wget.exe goto NoWGet

G:\wsusoffline\cmd>if "" == "" goto NoMoreParams

G:\wsusoffline\cmd>rem *** Check WSUS Offline Update version ***

G:\wsusoffline\cmd>title Checking WSUS Offline Update version...

G:\wsusoffline\cmd>echo Checking WSUS Offline Update version...
Checking WSUS Offline Update version...

G:\wsusoffline\cmd>if exist UpdateOU.new (
if exist UpdateOU.cmd del UpdateOU.cmd 
 ren UpdateOU.new UpdateOU.cmd
)

G:\wsusoffline\cmd>..\bin\wget.exe -N -P ..\static http://download.wsusoffline.net/StaticDownloadLink-recent.txt

Resolving download.wsusoffline.net... 81.3.27.18
Connecting to download.wsusoffline.net|81.3.27.18:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50 [text/plain]
Server file no newer than local file '../static/StaticDownloadLink-recent.txt' -- not retrieving.


G:\wsusoffline\cmd>if errorlevel 1 goto DownloadError

G:\wsusoffline\cmd>if exist ..\static\StaticDownloadLink-recent.txt (
echo n   | comp ..\static\StaticDownloadLink-this.txt ..\static\StaticDownloadLink-recent.txt /a /l /n=1 /c  1>nul 2>&1 
 if errorlevel 1 goto CompError
)
surfmaxx
 

Next

Return to Installation / Updating

Who is online

Users browsing this forum: No registered users and 36 guests