Comprehensive data protection for all workloads
eee777
Service Provider
Posts: 4
Liked: never
Joined: Jul 28, 2016 6:47 am
Full Name: Evgeni Stanev
Location: Bulgaria
Contact:

Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by eee777 » Jan 23, 2019 4:20 pm

Hello guys,

I'm trying to install the latest update 4. I've followed the instructions from the release note (pages 25-27) and successfully updated the Enterprise manager first, rebooted (as requested by the setup in order to finish the update process) and then started the B&R update, but i forgot to check the . The upgrade process has failed with "Database version downgrade detected....Reboot and restart the setup".

Code: Select all

[23.01.2019 16:55:24][INFO] Installing Veeam products..
[23.01.2019 16:55:24][INFO] Installing Veeam Backup Catalog
[23.01.2019 16:55:29][INFO] Installation of Veeam Backup Catalog completed.
[23.01.2019 16:55:29][INFO] Installing Veeam Backup & Replication
[23.01.2019 16:58:48][INFO] Exception occurred (Veeam products installation section).
Info: System.ComponentModel.Win32Exception (0x80004005): Fatal error during installation
   at Veeam.Setup.MsiLibrary.VmMsiCommon.CheckError(VmMsiDatabase db, UInt32 result)
   at Veeam.Setup.MsiLibrary.VmMsiCommon.InstallProduct(String product, String commandLine, Boolean& bReboot)
   at Veeam.Setup.Wizard.VmInstallProduct.RunInstallation(Boolean& bReboot)
   at Veeam.Setup.Wizard.VmInstallEngine.Install(ShowControlFunc showActionData, Boolean bRepair, Boolean bUpgrade, VmDialogEngineHandler m_dialogEngineHandler)
   at Veeam.Setup.Wizard.PredefinedDialogs.VmInstallDialog.m_installWorker_DoWork(Object sender, DoWorkEventArgs e)
[23.01.2019 16:58:48][INFO] Starting services...
[23.01.2019 16:58:48][INFO] Services have been started.
[23.01.2019 16:59:06][INFO] Exiting...
I've restarted the setup after reboot and now it's asking me to "uninstall the console first". That's listed in the CP under Programs and Features:

Name: Veeam Backup and Replication
Publisher: Veeam Software AG
Installed on: 23.01.2019
Version: 9.5.4.2615

It does not work now (target machine actively refuses it 127.0.0.1:9392 error). There is some issue with our support ID (case #03377311) which prevent me to submit a case to your technical department. Any suggestions while i'm waiting for ticket response?

Thanks!
Regards,
E

Dima P.
Product Manager
Posts: 9605
Liked: 755 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by Dima P. » Jan 23, 2019 5:54 pm

Hello eee777,
but i forgot to check the .
Please clarify what option was not checked during EM upgrade as it looks like the part of the post was accidentally removed?

UPDATE: Is it possible to reach our support team via phone? I was told that it should be possible to quickly fix your issue online during webex.

eee777
Service Provider
Posts: 4
Liked: never
Joined: Jul 28, 2016 6:47 am
Full Name: Evgeni Stanev
Location: Bulgaria
Contact:

Re: Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by eee777 » Jan 23, 2019 6:35 pm

Yes i forgot to check the job status before executing the upgrade. In the release not is mentioned that all jobs have to be finished with "Successful" status:

2. Ensure that the latest run for all existing jobs has completed successfully. If some jobs have failed, rerun the failed jobs. Otherwise, job upgrade procedure may fail.

Not sure if that may cause this issue. I've reached your phone support. We ended up re-installing the entire VBR. Now i'm restoring the database backup.

mkretzer
Expert
Posts: 447
Liked: 94 times
Joined: Dec 17, 2015 7:17 am
Contact:

Re: Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by mkretzer » Jan 23, 2019 8:32 pm

Is "warning" = successfull? We have warnings for some jobs because with 2700 VMs there are always having some with VMware tools issues...

DaveWatkins
Expert
Posts: 333
Liked: 89 times
Joined: Dec 13, 2015 11:33 pm
Contact:

Re: Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by DaveWatkins » Jan 24, 2019 2:26 am

I saw this same error doing the same upgrade on my test box. It left Veeam in a completely broken state too. I tried uninstalling what was left of U3 and did a clean install of U4 pointing it to the old DB and the same thing occured.

I then tried a new, clean DB using the SQL 2016 included and that succeeded. Trying to impoty my old config however failed with the same thing (and again left Veeam completely broken).

I suspect it's either because I had upgraded the SQL express to 2012, or because I'd applied a couple of hotfixes post U3. Not sure which but I haven't had time to get back to investigate further at this point. Happily it's my test systems so not critical, but it not fully reverting when the failure occurs was somewhat disappointing

mkretzer
Expert
Posts: 447
Liked: 94 times
Joined: Dec 17, 2015 7:17 am
Contact:

Re: Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by mkretzer » Jan 24, 2019 5:28 am

I have a bad feeling about this. Did you all have Update 3 oder 3a before?

engedib
Service Provider
Posts: 9
Liked: 5 times
Joined: Jan 04, 2019 2:40 am
Contact:

Re: Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by engedib » Jan 24, 2019 9:46 am

I had the same issue yesterday, worked with Veeam support to roll it back to 9.5 U3a

Dima P.
Product Manager
Posts: 9605
Liked: 755 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by Dima P. » Jan 24, 2019 9:58 am

Folks,
2. Ensure that the latest run for all existing jobs has completed successfully. If some jobs have failed, rerun the failed jobs. Otherwise, job upgrade procedure may fail.
Upgrade engine does not care about the actual job status (it could be failed/warning/success or disabled). It's recommended to stop all the running jobs before starting the upgrade procedure. Hope that clears the confusion. Check our Help Center - Upgrading to Veeam Backup & Replication 9.5 Update 4 checklist.

mkretzer
Expert
Posts: 447
Liked: 94 times
Joined: Dec 17, 2015 7:17 am
Contact:

Re: Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by mkretzer » Jan 24, 2019 10:41 am

So problem is running jobs? So if we disable all jobs (backup, copy, tape) we will be fine?

Dima P.
Product Manager
Posts: 9605
Liked: 755 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by Dima P. » Jan 24, 2019 10:52 am

Yes, that could be the root cause. Keep in mind that restore activities should be suspended as well.

DaveWatkins
Expert
Posts: 333
Liked: 89 times
Joined: Dec 13, 2015 11:33 pm
Contact:

Re: Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by DaveWatkins » Jan 24, 2019 6:52 pm

That absolutely wasn't the cause for me. My test box only has one job. Additionally shouldn't a clean install of U4 then imported the U3a config backup, not matter the job state?

In any case I was on U3a. When trying the config restore it actually shows the DB version it's using and the config backup was, as expected, much earlier than the U4 DB version. The last hotfix I had applied I _think_ was the VeeamZIP fix to stop it consuming a license and I'm pretty sure that was post the 3a install.

mkretzer
Expert
Posts: 447
Liked: 94 times
Joined: Dec 17, 2015 7:17 am
Contact:

Re: Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by mkretzer » Jan 24, 2019 7:17 pm 1 person likes this post

@gostev Can you tell us how widespread this is in support? Should we wait for a fix?

Gostev
SVP, Product Management
Posts: 23860
Liked: 3209 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by Gostev » Jan 24, 2019 10:27 pm 1 person likes this post

This definitely has not been a widespread issue... we had 6000 downloads before GA alone, and not a single such case. I will check what's up with that.

mkretzer
Expert
Posts: 447
Liked: 94 times
Joined: Dec 17, 2015 7:17 am
Contact:

Re: Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by mkretzer » Jan 24, 2019 11:09 pm

Maybe a new bug in GA?

SunriseFarms
Novice
Posts: 3
Liked: never
Joined: Jan 21, 2014 11:07 pm
Full Name: Tony Bullock
Contact:

Re: Upgrade from 9.5U3 to 9.5U4 failed with "Database version downgrade detected"

Post by SunriseFarms » Jan 24, 2019 11:23 pm

I have the same problem. All jobs are disabled. Server had been rebooted. Trying to upgrade Enterprise Manager, and it fails on "Installing Veeam Backup Catalog". Thought it might be a permissions issue on the database, but this does not appear to be the case. I've fought with it for most of the day. The error screen that comes up says "Installation was interrupted before application could be installed. You need to restart the installer to try again." VeeamOne has already been upgraded, so that is not the culprit. Is this a bad patch?

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests