From ff1653eb77a6ce663a3c24bd0a51606817cdab89 Mon Sep 17 00:00:00 2001 From: Ivan Diaz Date: Mon, 22 Jan 2018 09:02:37 -0300 Subject: [PATCH] Updated How to Upgrade (markdown) --- How-to-Upgrade.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/How-to-Upgrade.md b/How-to-Upgrade.md index a972416..2d4ccaa 100644 --- a/How-to-Upgrade.md +++ b/How-to-Upgrade.md @@ -1,17 +1,18 @@ Upgrading from one OpenSupports version to another consists in replacing the current files on your server and sometimes run a `.sql` script to upgrade your MySQL database. ## Upgrade v4.0b => v4.1 - -1. Download the upgrade [zip file](https://github.com/opensupports/opensupports/releases/download/v4.1.0/opensupports_v4.1_update.zip) -2. Replace the OpenSupports files in your server with the content of the zip file. -3. Execute [this script](https://github.com/opensupports/opensupports/blob/master/version_upgrades/4.1.0/4.1.0.sql) in your OpenSupports' MySQL database. -4. Upgrade should be complete. If you had some issues, feel free to open a ticket here at github. +1. Do a database backup before upgrading for safety +2. Download the upgrade [zip file](https://github.com/opensupports/opensupports/releases/download/v4.1.0/opensupports_v4.1_update.zip) +3. Replace the OpenSupports files in your server with the content of the zip file. +4. Execute [this script](https://github.com/opensupports/opensupports/blob/master/version_upgrades/4.1.0/4.1.0.sql) in your OpenSupports' MySQL database. +5. Upgrade should be complete. If you had some issues, feel free to open a ticket here at github. ## Upgrade v4.1.1 -> v4.1.2 -1. Download the upgrade [zip file](https://github.com/opensupports/opensupports/releases/download/v4.1.2/opensupports_v4.1.2_update.zip) -2. Replace the OpenSupports files in your server with the content of the zip file. -3. Set up the environment variables of the database and run 4.2.1.php +1. Do a database backup before upgrading for safety +2. Download the upgrade [zip file](https://github.com/opensupports/opensupports/releases/download/v4.1.2/opensupports_v4.1.2_update.zip) +3. Replace the OpenSupports files in your server with the content of the zip file. +4. Set up the environment variables of the database and run 4.2.1.php ``` $ export MYSQL_SERVER=your_mysql_server $ export MYSQL_DB=your_mysql_database @@ -20,5 +21,5 @@ $ export MYSQL_PASSWORD=your_mysql_password $ cd version_upgrades/4.1.2 $ php 4.1.2.php ``` -4. After script in run, remove the folder `version_upgrades` -5. Upgrade should be complete. If you had some issues, feel free to open a ticket here at github. +5. After script in run, remove the folder `version_upgrades` +6. Upgrade should be complete. If you had some issues, feel free to open a ticket here at github. \ No newline at end of file