The Sophos Community will be offline for scheduled maintenance this Saturday, May 27th, at 13:00 UTC for approximately 1 hour. Apologies for any inconvenience caused.
"Wanna" ransomware outbreak. Please see this Sophos article sophos.com/kb/126733 for advice on how to protect your organization. Immediate action recommended.
During the upgrade of Sophos Enterprise Console you see the following error:
A fatal error occurred during the database upgrade. (#5) Access is denied. Please run the following at a later date... "C:\program Files\Sophos\Enterprise Console\UpgradeDB.exe" -sourceVersion=4 -debug
Running the Upgradedb.exe utility shows the following error:
Exit code 5 (Failed to transfer data from the old database.) Full command prompt output is shown below. \Program Files\Sophos\Enterprise Console>upgradedb.exe -debug -sourceVersion=4 <DATE> <TIME> ... successfully completed. <DATE> <TIME> Validating parameter values ... <DATE> <TIME> ... successfully completed. <DATE> <TIME> Transferring data to the new database ... <DATE> <TIME> Error: std::exception thrown SP Error: 55 (ErrorDataTransferFailed) <DATE> <TIME> Exit code 5 (Failed to transfer data from the old database.)
Known to apply to the following Sophos product(s) and version(s) Enterprise Console
This is normally caused by the Sophos 'Core' database not installing correctly or not being created before running the upgrade of the management server, so when running upgradedb.exe, the tables are not there to transfer the data into.
Every comment submitted here is read (by a human) but we do not reply to specific technical questions. If you need technical support please post a question to our community. Alternatively for licensed products open a support ticket.