We are often involved with performing patch updates with customers. Generally these are relatively straight forward but every now and then we come across an issue in upgrading an instance of ManageEngine ServiceDesk Plus. When this does happen we just need to make sure we’re prepared to revert back to the previous installation with the minimum fuss and hassle.
 
These days customers are often running their instance of ManageEngine ServiceDesk Plus in a virtual environment and I’ll assume that’s the case for the rest of this article. If ServiceDesk Plus has been installed as a single instance using the integral PostgreSQL database on a single server that certainly makes life easier as you can simply take a snapshot of a working server prior to attempting any patch update. It’s probably also worth including the SDP Build in the snapshot name or description for reference.
 
However, we have come across situations where a virtual server snapshot has been corrupt and could not be restored so it’s always advisable to take a full product backup using the inbuilt backup utilities, either with the ‘BackUpData.bat’ bin folder utility from an Administrative command prompt or via the GUI scheduled backup under ‘Admin > General > Backup Scheduling’:
 
BackoutPatch1
 
 
BackoutPatch2
The patch update utility itself will prompt you to perform a backup as part of the upgrade process but it’s worth performing a backup prior to taking the server snapshot, or saving the backup files to an alternative server, prior to starting the upgrade.
 
If you’re running ServiceDesk Plus with an MS SQL database on a separate server there’s a little more work to do as you need to take a snapshot of the application virtual server along with taking a backup of the current ServiceDesk Plus MS SQL database; this has a default name of ‘servicedesk’ unless it’s been changed. To take a backup of the MS SQL database use MS SQL Server Management Studio to connect to the database and right-click and choose ‘Tasks > Backup’ to perform a full backup :
 

BackoutPatch3

 
As an alternative you could use a database snapshot but this requires some command line work to implement – one for another time.
 
To revert your ServiceDesk Plus installation when using MS SQL you would stop the ManageEngine ServiceDesk Plus windows service on your application server, if is not been stopped already to perform the patch update, delete the now corrupt MS SQL ‘servicedesk’ database and restore the backup copy taken prior to the start of the patch update:
 
 
BackoutPatch4

 

Then simply restore your application server virtual server snapshot and restart the ManageEngine ServiceDesk Plus windows service. Hopefully then you should be back in the game!
 
If it’s all gone horribly wrong you should still have a full ServiceDesk Plus backup from the backup utilities to perform a conventional product restore; just remember you’ll need a ServiceDesk Plus installer of the same build as the original backup. You can get these from the ManageEngine Archive Directory for ServiceDesk Plus at the following link:
 

 

I hope that’s given you a little insight into some of the recovery procedures we often use when working with ServiceDesk Plus but, as always if in any doubt, have a chat with the Zoho support teams before you make a start on upgrading your system.

 

Enjoy!





This article is relevant to:
Service Desk

You may be interested in these other recent articles

Get to building your business apps with the new AppCreator

9 June 2022

ManageEngine’s new low-code application development tool Creating an application, building one and deploying it can be expensive and time consuming as you have to make…

Read more

Endpoint Central’s Endpoint Security

31 May 2022

Endpoint Central (formerly Desktop Central) not only got a name change but has also introduced Endpoint Security to help organisations keep their endpoints secured. According…

Read more

Automation in ManageEngine ServiceDesk Plus

20 December 2021

Increasingly customers are looking to automate repetitive and mundane tasks in ServiceDesk Plus. Since the introduction of Deluge, Zoho’s online scripting language, as part of…

Read more

Update on the recent Apache Log4j2 vulnerability – Impact on ManageEngine on-premise and Zoho cloud products

14 December 2021

A high severity vulnerability (CVE-2021-44228) impacting multiple versions of the Apache Log4j2 utility was disclosed publicly on December 9, 2021. The vulnerability impacts Apache Log4j2…

Read more

Who do I contact for technical support for my ManageEngine product?

10 September 2021

When purchasing a ManageEngine product it will either have been supplied on a subscription basis or it would have included an initial Annual Maintenance and…

Read more