diff --git a/How-to-Upgrade.md b/How-to-Upgrade.md index 30adc93..a79c6e7 100644 --- a/How-to-Upgrade.md +++ b/How-to-Upgrade.md @@ -12,21 +12,16 @@ Upgrading from one OpenSupports version to another consists in replacing the cur 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 -$ export MYSQL_USER=your_mysql_user -$ export MYSQL_PASSWORD=your_mysql_password -$ cd version_upgrades/4.1.2 -$ php 4.1.2.php -``` -5. After script in run, remove the folder `version_upgrades` +4. Go to the folder `version_upgrades/4.1.2/` and run the script with `php 4.1.2.php` +5. After script in done, remove the folder `version_upgrades` 6. Upgrade should be complete. If you had some issues, feel free to open a ticket here at github. ## Upgrade v4.1.2 -> v4.1.3 -_Documentation in Progress_ - -Please wait until we're finished with the upgrade script for `v4.1.3`. \ No newline at end of file +1. Do a database backup before upgrading for safety +2. Download the upgrade [zip file](https://github.com/opensupports/opensupports/releases/download/v4.1.3/opensupports_v4.1.3_update.zip) +3. Replace the OpenSupports files in your server with the content of the zip file. +4. Go to the folder `version_upgrades/4.1.2/` and run the script with `php 4.1.3.php` +5. After script in done, remove the folder `version_upgrades` +6. Upgrade should be complete. If you had some issues, feel free to open a ticket here at github.