Author Topic: June 2018 Pre Update Instructions  (Read 2569 times)

earnolmartin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 302
    • View Profile
June 2018 Pre Update Instructions
« on: June 05, 2019, 12:00:52 pm »
THIS GUIDE ONLY NEEDS TO BE FOLLOWED ONCE AND SHOULD ONLY BE PERFORMED IF YOU HAVE NOT PERFORMED AN UPGRADE SINCE JUNE 2018!

IMPORTANT Instructions to Follow BEFORE Upgrading EHCP FORCE - Starting 6/1/2018

ONLY NEEDS TO BE PERFORMED ONCE

Once upgrade is successful, this process will NOT need to be repeated.

If your EHCP installation is configured to use the Apache2 web server (which it is by default), you must perform one of the below actions prior to upgrading if you use any custom domain or global apache2 templates (new EHCP installations are not impacted).  If you do NOT, you WILL HAVE A BAD TIMEIT IS ALSO recommended that nginx users also revert all of their custom domain templates prior to upgrading.


Prior to Upgrading EHCP Apache/Nginx Template Revert Method 1:
Revert all custom apache / nginx domain specific custom templates by using the control panel, selecting each domain one by one, clicking on "Edit Apache Template", and then by finally clicking on the "Revert to Default" button.

Under Main Options in the System Operations section, click on "Manage Global Webserver Templates".  Revert all global web template files by clicking on the "Revert to Default" button, going back to the "Manage Global Webserver Templates" page to repeat the process for all templates in the dropdown.


Prior to Upgrading EHCP Apache/Nginx Template Revert Method 2:

  • In the panel (when using the picante default theme), click on the "Main Options" tab.
  • Scroll down to the "System Operations" section.
  • Click on "Options".
  • Click on "Advanced Settings".
  • Under "Webservertype", change it to nginx by using clicking in the bubble.
  • Click "Submit Query" button to save your settings.

Upgrade your panel following the instructions provided on http://ehcpforce.tk/download.php

Post install, reset all of your custom web templates and configs by visiting this link in the panel (must be signed in as the admin user to run the below function - function is only runnable once you have the latest version):

{url_to_ehcp_panel_here}/index.php?op=resetallcustomtemplates

For example, here's a complete link for reference (may not work in your situation... use your panel URL):

https://localhost/ehcp/index.php?op=resetallcustomtemplates

A backup of all custom web configs will be saved in the EHCP directory (/var/www/new/ehcp) and everything will be reverted.

Change your "Webservertype" back to apache2 in the "Advanced Settings" page to continue to use Apache.  Start over with the default apache2 templates and import your custom settings for your custom templates.