HOW TO:How To Manually Apply Updates To MachPanel Control And...

Expand / Collapse
 

HOW TO:How To Manually Apply Updates To MachPanel Control And...


Summary

This article provides information about how to manually update your MachPanel Control and Remote Servers.

Applies To

MachPanel all versions

Note:

  • Kindly ensure to take backup of database as well as MachPanel files.
  • It is recommended to name the database backup file according to the current version of MachPanel (e.g. MP_DB_Backup_4123)
  • Also take backup of MachPanel files with version name usually at this path C:\Program Files\MachSol, Inc\MachPanel
    (e.g. Saving the MachPanel files and naming the folder as MP_Files_Backup 4123 if the current version is 4.1.23)
  • Similarly take backup of the MachPanel Remote Files.

The backup details are explained below.

Solution

A-To manully update MachPanel Control Server:

In order to apply the updates, first you need to get the Update.zip file. For that you need to download the Update.zip from the configuration studio and then navigate to the following path to pick the Update.zip file: C:\Program Files\MachSol,Inc\MachPanel\Cache\Temp\Update\Update.zip. Once you have the Update.zip, you can extract it. Upon extraction you will see that there are multiple folders such as:

DLL, Files, Script, Services. Files and Script folders are of your interest.

Note: Do not run any file other than the mentioned folders. No files are to be double clicked. If there is already an Update.zip existing on this path before you download and you are not sure what version it is than you can simply delete the Update.zip, close the configuration studio, re-start it and download again from the configuration studio.

You must first take a backup of your current MachPanel installation i.e. replicate the folder C:\Program Files\MachSol,Inc\MachPanel to some place in computer where you place backups. Also take a backup (a must) of your database i.e. MachPanel_Db and place it in a safe location on your PC.

Steps to follow:

1. Stop IIS Admin Service, please make sure that all the services are STOPPED from MachPanel Configuration Studio. Verify from Task Manager that the following services are not running.

  1. MachSol.MachPanel Provisioning Service.
  2. MachSol.MachPanel.ConfigurationStudio.exe.
  3. MachPanel Billing Service.
  4. MachPanel Helpdesk Service.
  5. MachPanel Network Service.
  6. MachPanel License Service.



2. Copy all the files/folders from the Files folder from the extracted Update.zip and paste it at this path: C:\Program Files\MachSol,Inc\MachPanel\. Note that the folders at this path and in the Files folder in the extracted Update.zip are almost the same. At this point you have replaced the MachPanel updated files and now you need to run a script on the database.

3. Open your SQL Server Management Studio and log in using the user: MachPanel_Db and its password. If you don’t know the password of this user then you can check it from the connection string from the registry. (Please see attachment)
 
4. After logging in, create new query on the MachPanel_Db. Copy all the script from the Script.txt in the Script folder in the extracted Update.zip. Paste this script in that new query and first parse the query to know if there are any syntax errors or not. If not than execute the query.
After the files have been replaced and the script has been successfully run on the database, you need to start all the MachPanel services and the configuration studio again. Start "MachPanel Provisioning service" and other services from Task Manager under Services tabs shown below. When you open the configuration studio now, you can see that the version has been upgraded.



B-To manually update MachPanel Remote Server:

Scenario 1: 
First, try the following steps:
  • Open MachPanel Control Server Configuration Studio.
  • Then go to the following navigation path in MachPanel Configuration Studio: Configure >> Software Updates.
  • Click Check Available Updates button under Update Software tab on right pane of configuration studio. If you get error 'No update available' at this point, then open 'Run' and type 'regedit'. Then navigate to Computer > HKEY_LOCAL_MACHINE > SOFTWARE > MachSol > Remote Configuration Studio. Double click on CoreVersion to open it. Type in here the build version to which you want to update to or the latest build version. For example to update to build 5.5.20 type 5520 and click 'OK'. Now go back to configuration studio and check update again.
  • If the remote server is still unable to find the updates after editing the coreversion registry entry, then you have to edit the CoreVersionFull entry as well with the version input like v 5.5.20 depending on the version you are updating to as shown in snapshot below.

  • Then click on Download button.
  • At the end click Install button.
*After the updates have been performed, make sure that the control and all the remote servers are on same build, otherwise they wont be able to communicate with each other


Scenario 2:
If scenario 1 does not work, you can try the following:

In order to apply the updates for the MachPanel Remote Server, first you need to get the Update.zip file. For that you need to download the Update.zip from the configuration studio on your Control Server and then navigate to the following path to pick the Update.zip file: C:\Program Files\MachSol\MachPanel Control Server\RemoteUpdate\Update.zip. Once you have the Update.zip, you can extract it. Upon extraction you will see a folder named as: Files

Note: Do not run any file other than the mentioned folders. No files are to be double clicked. If there is already an Update.zip existing on this path before you download and you are not sure what version it is than you can simply delete the Update.zip, close the configuration studio and download again from the configuration studio.

Steps to follow:

1. Shut down the MachPanel Provisioning service and also exit the Remote configuration studio. Make sure no instance to MachPanel Remote Configuration Studio is running under any user. Verify from "Task Manager" that the following services are not running.

  1. MachSol.MachPanel Provisioning Service
  2. MachSol.MachPanel.ConfigurationStudio.exe

2. Copy all the files from the Files folder from the extracted Update.zip and paste it at this path: C:\Program Files\MachSol\MachPanel Remote Server\. There are only a few files that you will be replacing here.

3. Once the files have been replaced, you can start the MachPanel Provisioning Service from Task manager and start the configuration Studio. The remote server is now updated.



Rate this Article:
     

Attachments


Reg.jpg Reg.jpg (44.84 KB, 771 views)

Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Type: HOW TO
Level: Beginner
Last Modified:Friday, July 28, 2017
Last Modified By: zohaib.shaikh
Rated 5 stars based on 1 vote
Article has been viewed 7,646 times.
Options