Hi All,
Thanks in advance for your help.
First thing ill note is, everything is freshly installed. Here's my setup and add'l info below:
-Using VMware Fusion 14 pro to host Win '16 server datacenter VM
-SCCM '12 SP2 (console ver# 5.00.8239.1000)
-SQL '12 standad ver# 11.0.3128.0 (Not clustered, no HADR)
-OS has all the latest updates, no updates pending. (manually installed Cumulative update 1809 for win '16)
When I initially and successfully installed the WSUS role (Note: Not installing WID but SQL connectivity, and I connected to my separate SQL database instance successfully) and ran the post-installation tasks, it failed. The log error was
'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.'
Here's how I attempted to troubleshoot after multiple uninstall and re-installation of WSUS after uninstalling my SUP:
-Uninstalled WSUS
-Deleted SUSDB from SQL database
-Reinstalled WSUS, post install tasks still unsuccessful with same error
-Installed all OS updates
-Installed WSUS again, ran post install tasks with same error.
-Attempted to install WSUS updates [KB4091664, KB4457131, and various SP updates] to no avail.
Below is the log:
2018-09-19 16:06:48 Postinstall started
2018-09-19 16:06:48 Detected role services: Api, Database, UI, Services
2018-09-19 16:06:48 Start: LoadSettingsFromXml
2018-09-19 16:06:48 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
2018-09-19 16:06:48 Value is false
2018-09-19 16:06:48 End: GetConfigValue
2018-09-19 16:06:48 Hosting content on MU
2018-09-19 16:06:48 Start: GetConfigValue with filename=UpdateServices-DB.xml item=InstanceName
2018-09-19 16:06:48 Value is SCCM2012\TF_WSUS
2018-09-19 16:06:48 End: GetConfigValue
2018-09-19 16:06:48 SQL instance name is SCCM2012\TF_WSUS
2018-09-19 16:06:48 End: LoadSettingsFromXml
Post install is starting
2018-09-19 16:06:48 Start: Run
2018-09-19 16:06:48 Fetching WsusAdministratorsSid from registry store
2018-09-19 16:06:48 Value is S-1-5-21-2522978924-2782523748-485567411-1003
2018-09-19 16:06:48 Fetching WsusReportersSid from registry store
2018-09-19 16:06:48 Value is S-1-5-21-2522978924-2782523748-485567411-1004
2018-09-19 16:07:48 Configuring content directory...
2018-09-19 16:07:48 Configuring groups...
2018-09-19 16:07:48 Starting group configuration for WSUS Administrators...
2018-09-19 16:07:48 Found group in regsitry, attempting to use it...
2018-09-19 16:07:50 Writing group to registry...
2018-09-19 16:07:50 Finished group creation
2018-09-19 16:07:50 Starting group configuration for WSUS Reporters...
2018-09-19 16:07:50 Found group in regsitry, attempting to use it...
2018-09-19 16:07:50 Writing group to registry...
2018-09-19 16:07:50 Finished group creation
2018-09-19 16:07:50 Configuring permissions...
2018-09-19 16:07:50 Fetching content directory...
2018-09-19 16:07:50 Fetching ContentDir from registry store
2018-09-19 16:07:50 Value is C:\Program Files\Update Services
2018-09-19 16:07:50 Fetching group SIDs...
2018-09-19 16:07:50 Fetching WsusAdministratorsSid from registry store
2018-09-19 16:07:50 Value is S-1-5-21-2522978924-2782523748-485567411-1003
2018-09-19 16:07:50 Fetching WsusReportersSid from registry store
2018-09-19 16:07:50 Value is S-1-5-21-2522978924-2782523748-485567411-1004
2018-09-19 16:07:50 Creating group principals...
2018-09-19 16:07:50 Granting directory permissions...
2018-09-19 16:07:51 Granting permissions on content directory...
2018-09-19 16:07:52 Granting registry permissions...
2018-09-19 16:07:52 Granting registry permissions...
2018-09-19 16:07:52 Granting registry permissions...
2018-09-19 16:07:52 Configuring shares...
2018-09-19 16:07:52 Configuring network shares...
2018-09-19 16:07:52 Fetching content directory...
2018-09-19 16:07:52 Fetching ContentDir from registry store
2018-09-19 16:07:52 Value is C:\Program Files\Update Services
2018-09-19 16:07:52 Fetching WSUS admin SID...
2018-09-19 16:07:52 Fetching WsusAdministratorsSid from registry store
2018-09-19 16:07:52 Value is S-1-5-21-2522978924-2782523748-485567411-1003
2018-09-19 16:07:52 Content directory is local, creating content shares...
2018-09-19 16:07:53 Creating share "UpdateServicesPackages" with path "C:\Program Files\Update Services\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages
(usually applications) published on this WSUS system."
2018-09-19 16:07:53 Deleting existing share...
2018-09-19 16:07:53 Creating share...
2018-09-19 16:07:53 Share successfully created
2018-09-19 16:07:53 Creating share "WsusContent" with path "C:\Program Files\Update Services\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2018-09-19 16:07:53 Deleting existing share...
2018-09-19 16:07:53 Creating share...
2018-09-19 16:07:54 Share successfully created
2018-09-19 16:07:54 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."
2018-09-19 16:07:54 Deleting existing share...
2018-09-19 16:07:54 Creating share...
2018-09-19 16:07:54 Share successfully created
2018-09-19 16:07:54 Finished creating content shares
2018-09-19 16:07:54 Stopping service WSUSService
2018-09-19 16:07:54 Stopping service W3SVC
2018-09-19 16:07:54 Configuring database...
2018-09-19 16:07:54 Configuring the database...
2018-09-19 16:07:54 Establishing DB connection...
2018-09-19 16:07:54 Checking to see if database exists...
2018-09-19 16:07:54 Database exists
2018-09-19 16:07:54 Switching database to single user mode...
2018-09-19 16:07:54 Loading install type query...
2018-09-19 16:07:54 DECLARE @currentDBVersion int
DECLARE @scriptMajorVersion int = (14393)
DECLARE @scriptMinorVersion int = (0)
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
2018-09-19 16:07:54 Install type is: UnsupportedFuture
2018-09-19 16:07:54 DB is a higher version than the config scripts
2018-09-19 16:07:54 Swtching DB to multi-user mode......
2018-09-19 16:07:54 Finished setting multi-user mode
2018-09-19 16:07:54 Disposing Connection
2018-09-19 16:07:54 Clearing Connection Pools
2018-09-19 16:07:54 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.
Any thoughts?