Unwanted codes found in our source.
23 - 05 - 2017
SolidCP Error Codes
14 - 06 - 2017

How to Manually update SolidCP

The progress to update SolidCP manual is actually pretty easy.

Do note that since SolidCP 1.1.0 stable manual updates are no longer required. You can now use the PowerShell script found at https://solidcp.com/kb/update/solidcp-update-script-powershell/.

 

ALWAYS make sure you backup ALL files and Database so you can always revert in case of issues.

Updating the SolidCP Enterprise Server

Once you downloaded the manual-update.zip and extracted it's contents you should see a directory called "EnterpriseServer" 

Note that it's missing a space inbetween Enterprise Server (so don't copy the directory it self).

Go to your Enterprise Server location. The default location is: C:\SolidCP\Enterprise Server

  1. Copy ALL contents inside the manual-update\EnterpriseServer
  2. Paste it in the Enterprise Server directory: C:\SolidCP\Enterprise Server
  3. Replace all files

Updating the Enterprise Database

Before you start make sure you have a FULL backup of your database, This way you can always undo any issue.

  1. Open SQL management
  2. Right click on the SolidCP Database. (if your not sure what your database is check out Enterprise Server\Web.config connection information, it has the Database specified).
  3. Select new Query
  4. Double click on the update_db.sql included in the Manual-update.zip (open it in SQL management)
  5. Remove the top 2 lines from the query: 
    USE [${install.database}]
    GO
  6. Click ! Execute
  7. Double check if it states "Completed Succesfully" at the bottom of the query.

Once done go to Services (mmc) and make sure SolidCP Scheduler is still started.

If it's stopped right click and start (give it a few minutes and make sure it's still running after).

Updating the SolidCP Portal

Once you downloaded the manual-update.zip and extracted it's contents you should see a directory called "Portal" 

Go to your Portal location. The default location is: C:\SolidCP\Portal

  1. Copy ALL contents inside the manual-update\Portal
  2. Paste it in the Enterprise Server directory: C:\SolidCP\Portal
  3. Replace all files
  4. Delete the following Folders:
    • DesktopModules\SolidCP\ExchangeServer\UserControls\Locations
    • DesktopModules\SolidCP\ExchangeServer\UserControls\MSO365
  5. Remove the following files:
    • DesktopModules\SolidCP\SettingsLetsEncryptRenewalAdminNotificationLetter.ascx
    • DesktopModules\SolidCP\SettingsLetsEncryptRenewalNotificationLetter.ascx
    • DesktopModules\SolidCP\ProviderControls\SpamExperts_Settings.ascx
    • DesktopModules\SolidCP\ProviderControls\App_LocalResources\SpamExperts_Settings.ascx.resx
    • DesktopModules\SolidCP\ScheduleTaskControls\LetsEncryptRenewalView.ascx
    • DesktopModules\SolidCP\App_LocalResources\SettingsLetsEncryptRenewalAdminNotificationLetter.ascx.resx
    • DesktopModules\SolidCP\App_LocalResources\SettingsLetsEncryptRenewalNotificationLetter.ascx.resx

** For older SolidCP Portals make sure it has the web.config change in there:

- From:

 

<providers>
		<add name="SolidCPSiteMapProvider" type="SolidCP.WebPortal.SolidCPSiteMapProvider, SolidCP.WebPortal" securityTrimmingEnabled="true" />
</providers>
<staticContent>
      <remove fileExtension=".woff"/>
      <remove fileExtension=".woff2"/>
      <mimeMap fileExtension=".woff" mimeType="application/x-font-woff"/>
      <mimeMap fileExtension=".woff2" mimeType="application/font-woff2"/>
    </staticContent>
  </system.webServer>

- To:

<providers>
		<remove name="MySqlSiteMapProvider" />
		<add name="SolidCPSiteMapProvider" type="SolidCP.WebPortal.SolidCPSiteMapProvider, SolidCP.WebPortal" securityTrimmingEnabled="true" />
</providers>
<staticContent>
      <remove fileExtension=".woff"/>
      <remove fileExtension=".woff2"/>
      <mimeMap fileExtension=".woff" mimeType="application/x-font-woff"/>
      <mimeMap fileExtension=".woff2" mimeType="application/font-woff2"/>
    </staticContent>
  </system.webServer>
  <!-- Bellowed settings added for MailCleaner SSL Ignore Check-->
  <system.net>
    <settings>
      <servicePointManager checkCertificateName="false" checkCertificateRevocationList="false"/>
    </settings>
  </system.net>

Updating the SolidCP Server

Once you downloaded the manual-update.zip and extracted it's contents you should see a directory called "Server" 

You will need to execute this step for EVERY Server listed in your SolidCP Portal:  Configuration --> Servers

Go to your Server location. The default location is: C:\SolidCP\Server

  1. Copy ALL contents inside the manual-update\Server
  2. Paste it in the Enterprise Server directory: C:\SolidCP\Server
  3. Replace all files
  4. Remove the following files:
    • EmailSecurity.asmx
    • srvLetsEncrypt.asmx
    • bin\Filters\SolidCP.Providers.EmailSecurity.SpamExperts.dll

** For SolidCP Servers make sure you add the web.config changes at the bottom of the Web.config:

<runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      
      <probing privatePath="bin/Crm2011;bin/Crm2013;bin/Exchange2013;bin/Exchange2016;bin/Sharepoint2013;bin/Sharepoint2016;bin/Lync2013;bin/SfB2015;bin/Lync2013HP;bin/Dns2012;bin/IceWarp;bin/IIs80;bin/IIs100;bin/HyperV2012R2;bin/HyperVvmm;bin/Crm2015;bin/Filters" />
     
    </assemblyBinding>
  </runtime>
Trevor Robinson
Trevor Robinson
- CTO of Key4ce.
- More then 10 years of experience with Linux and Unix.
- Open source enthusiast

Key4ce - IT Professionals :: https://www.key4ce.com

Leave a Reply