Hello,
I am having issues setting up a downstream server. I am running Server 2012 R2 on both machines. Running SQL 2014 on Upstream that connects to Microsoft Update and running SQL 2014 Express on downstream server. WSUS install went great on upstream server,
no tasks failed. On downstream server, I run the post installation task and it fails with:
"Fatal Error: The schema version of the database is from a newer version of WSUS than currently installed. You must either patch your WSUS erver to at least that version or drop the database."
Both servers are running the same version of SQL and WSUS. Below is the temp file WSUS created.
2016-04-22 16:03:36 Postinstall started
2016-04-22 16:03:36 Detected role services: Api, Database, UI, Services
2016-04-22 16:03:36 Start: LoadSettingsFromXml
2016-04-22 16:03:36 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
2016-04-22 16:03:36 Value is true
2016-04-22 16:03:36 End: GetConfigValue
2016-04-22 16:03:36 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
2016-04-22 16:03:36 Value is D:\WSUS
2016-04-22 16:03:36 End: GetConfigValue
2016-04-22 16:03:36 Content directory is D:\WSUS
2016-04-22 16:03:36 Start: GetConfigValue with filename=UpdateServices-DB.xml item=InstanceName
2016-04-22 16:03:36 Value is CHQ-SCCM
2016-04-22 16:03:36 End: GetConfigValue
2016-04-22 16:03:36 SQL instance name is CHQ-SCCM
2016-04-22 16:03:36 End: LoadSettingsFromXml
Post install is starting
2016-04-22 16:03:36 Start: Run
2016-04-22 16:03:36 Fetching WsusAdministratorsSid from registry store
2016-04-22 16:03:36 Value is S-1-5-21-1104679681-4192977247-1791883438-1002
2016-04-22 16:03:36 Fetching WsusReportersSid from registry store
2016-04-22 16:03:36 Value is S-1-5-21-1104679681-4192977247-1791883438-1003
2016-04-22 16:04:36 Configuring content directory...
2016-04-22 16:04:36 Configuring groups...
2016-04-22 16:04:36 Starting group configuration for WSUS Administrators...
2016-04-22 16:04:36 Found group in regsitry, attempting to use it...
2016-04-22 16:04:41 Writing group to registry...
2016-04-22 16:04:41 Finished group creation
2016-04-22 16:04:41 Starting group configuration for WSUS Reporters...
2016-04-22 16:04:41 Found group in regsitry, attempting to use it...
2016-04-22 16:04:41 Writing group to registry...
2016-04-22 16:04:41 Finished group creation
2016-04-22 16:04:41 Configuring permissions...
2016-04-22 16:04:41 Fetching content directory...
2016-04-22 16:04:41 Fetching ContentDir from registry store
2016-04-22 16:04:41 Value is D:\WSUS
2016-04-22 16:04:41 Fetching group SIDs...
2016-04-22 16:04:41 Fetching WsusAdministratorsSid from registry store
2016-04-22 16:04:41 Value is S-1-5-21-1104679681-4192977247-1791883438-1002
2016-04-22 16:04:41 Fetching WsusReportersSid from registry store
2016-04-22 16:04:41 Value is S-1-5-21-1104679681-4192977247-1791883438-1003
2016-04-22 16:04:41 Creating group principals...
2016-04-22 16:04:41 Granting directory permissions...
2016-04-22 16:04:41 Granting permissions on content directory...
2016-04-22 16:04:41 Granting registry permissions...
2016-04-22 16:04:41 Granting registry permissions...
2016-04-22 16:04:41 Granting registry permissions...
2016-04-22 16:04:41 Configuring shares...
2016-04-22 16:04:41 Configuring network shares...
2016-04-22 16:04:41 Fetching content directory...
2016-04-22 16:04:41 Fetching ContentDir from registry store
2016-04-22 16:04:41 Value is D:\WSUS
2016-04-22 16:04:41 Fetching WSUS admin SID...
2016-04-22 16:04:41 Fetching WsusAdministratorsSid from registry store
2016-04-22 16:04:41 Value is S-1-5-21-1104679681-4192977247-1791883438-1002
2016-04-22 16:04:41 Content directory is local, creating content shares...
2016-04-22 16:04:41 Creating share "UpdateServicesPackages" with path "D:\WSUS\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published
on this WSUS system."
2016-04-22 16:04:41 Deleting existing share...
2016-04-22 16:04:41 Creating share...
2016-04-22 16:04:41 Share successfully created
2016-04-22 16:04:41 Creating share "WsusContent" with path "D:\WSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2016-04-22 16:04:41 Deleting existing share...
2016-04-22 16:04:41 Creating share...
2016-04-22 16:04:41 Share successfully created
2016-04-22 16:04:41 Creating share "WSUSTemp" with path "C:\Program Files\Update Services\LogFiles\WSUSTemp" and description "A network share used by Local Publishing from a Remote WSUS Console Instance."
2016-04-22 16:04:41 Deleting existing share...
2016-04-22 16:04:41 Creating share...
2016-04-22 16:04:41 Share successfully created
2016-04-22 16:04:41 Finished creating content shares
2016-04-22 16:04:41 Stopping service WSUSService
2016-04-22 16:04:41 Stopping service W3SVC
2016-04-22 16:04:41 Configuring database...
2016-04-22 16:04:41 Configuring the database...
2016-04-22 16:04:41 Establishing DB connection...
2016-04-22 16:04:41 Checking to see if database exists...
2016-04-22 16:04:41 Database exists
2016-04-22 16:04:41 Switching database to single user mode...
2016-04-22 16:04:44 Loading install type query...
2016-04-22 16:04:44 DECLARE @currentDBVersion int
DECLARE @scriptMajorVersion int = (9600)
DECLARE @scriptMinorVersion int = (16384)
DECLARE @databaseMajorVersion int
DECLARE @databaseMinorVersion int
DECLARE @databaseBuildNumber nvarchar(10)
IF NOT EXISTS(SELECT * FROM sys.databases WHERE name='SUSDB')
BEGIN
SELECT 1
END
ELSE
BEGIN
SET @currentDBVersion = (SELECT SchemaVersion FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
SET @databaseBuildNumber = (SELECT BuildNumber FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
DECLARE @delimiterPosition INT = CHARINDEX('.', @databaseBuildNumber)
IF (@delimiterPosition = 0)
BEGIN
RAISERROR('Invalid schema version number', 16, 1) with nowait
return
END
SET @databaseMajorVersion = SUBSTRING(@databaseBuildNumber, 1, @delimiterPosition - 1)
SET @databaseMinorVersion = SUBSTRING(@databaseBuildNumber, (@delimiterPosition + 1), (10 - @delimiterPosition))
IF @currentDBVersion < 926
BEGIN
SELECT 3
END
ELSE
BEGIN
IF (@scriptMajorVersion > @databaseMajorVersion OR
(@scriptMajorVersion = @databaseMajorVersion AND @scriptMinorVersion > @databaseMinorVersion))
BEGIN
SELECT 2
END
ELSE IF (@scriptMajorVersion = @databaseMajorVersion AND
@scriptMinorVersion = @databaseMinorVersion)
BEGIN
SELECT 0
END
ELSE
BEGIN
SELECT 4
END
END
END
2016-04-22 16:04:44 Install type is: UnsupportedFuture
2016-04-22 16:04:44 DB is a higher version than the config scripts
2016-04-22 16:04:44 Swtching DB to multi-user mode......
2016-04-22 16:04:44 Finished setting multi-user mode
2016-04-22 16:04:44 Microsoft.UpdateServices.Administration.CommandException: The schema version of the database is from a newer version of WSUS
than currently installed. You must either patch your WSUS server to at least
that version or drop the database.
at Microsoft.UpdateServices.Administration.ConfigureDB.CheckForUnsupportedVersion(DBInstallType installType, Boolean dbExists)
at Microsoft.UpdateServices.Administration.ConfigureDB.ConnectToDB()
at Microsoft.UpdateServices.Administration.ConfigureDB.Configure()
at Microsoft.UpdateServices.Administration.ConfigureDB.Run(String instanceName, Action`1 logWriter, Boolean contentLocal)
at Microsoft.UpdateServices.Administration.PostInstall.Run()
at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
Fatal Error: The schema version of the database is from a newer version of WSUS
than currently installed. You must either patch your WSUS server to at least
that version or drop the database.