Updated How to Upgrade (markdown)

Ivan Diaz 2018-01-22 09:02:37 -03:00
parent a6ee223da1
commit ff1653eb77
1 changed files with 11 additions and 10 deletions

@ -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.