Bug #40996 Service Manager update installer exits if a backup folder already exists
Submitted: 24 Nov 2008 22:17 Modified: 9 Feb 2009 11:40
Reporter: Marcos Palacios Email Updates:
Status: Closed Impact on me:
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: BitRock Merlin CPU Architecture:Any

[24 Nov 2008 22:17] Marcos Palacios
If the current installation of the Service Manager includes a 'backup' folder/directory, due to a previous upgrade, the Service Manager installer shows the message attached here and then exits.

How to repeat:
- install the Service Manager (monitor) ver. 1.3.x
- upgrade the installation to ver., and answer 'Yes' to backup question so the 'backup' folder is created
- upgrade again with at least ver.

Suggested fix:
Allow the backup folder to exist when doing an upgrade.
[24 Nov 2008 22:19] Marcos Palacios
pop up shown

Attachment: Monitor7105update.png (image/png, text), 178.90 KiB.

[5 Dec 2008 17:00] Marcos Palacios
In build, we found that it allows the 'backup' folder to exist but it does not say anything about it (like the agent update installer does) and just goes on, replacing what was in the original 'backup' folder.
[22 Jan 2009 17:18] Marcos Palacios
This problem still occurs when updating with build on Mac OSX but it does not happen on Windows XP.

The workaround is to rename or remove the 'backup' directory before running the update OR to use a different name for the new backup directory.
[23 Jan 2009 17:40] Marcos Palacios
We have verified that this problem occurs when updating from build to build on Windows XP.
[3 Feb 2009 9:54] BitRock Merlin
Patch sent to Keith.
[7 Feb 2009 0:07] Marcos Palacios
Verified fixed in service manager build
[9 Feb 2009 11:40] Tony Bedford
An entry was added to the 2.0.5 changelog:

If an installation of Service Manager included a backup directory, due to a previous upgrade, and was upgraded using at least Service Manager, then the installer displayed an error message and exited.

The error message displayed was:

There has been an error.
Error renaming /Applications/mysql/enterprise/monitor/apache-tomcat to
The application will exit now