mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-31 01:35:15 +02:00
Updated How to Upgrade (markdown)
parent
a6ee223da1
commit
ff1653eb77
@ -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.
|
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
|
## Upgrade v4.0b => v4.1
|
||||||
|
1. Do a database backup before upgrading for safety
|
||||||
1. Download the upgrade [zip file](https://github.com/opensupports/opensupports/releases/download/v4.1.0/opensupports_v4.1_update.zip)
|
2. 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. 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. 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.
|
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
|
## 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)
|
1. Do a database backup before upgrading for safety
|
||||||
2. Replace the OpenSupports files in your server with the content of the zip file.
|
2. Download the upgrade [zip file](https://github.com/opensupports/opensupports/releases/download/v4.1.2/opensupports_v4.1.2_update.zip)
|
||||||
3. Set up the environment variables of the database and run 4.2.1.php
|
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_SERVER=your_mysql_server
|
||||||
$ export MYSQL_DB=your_mysql_database
|
$ export MYSQL_DB=your_mysql_database
|
||||||
@ -20,5 +21,5 @@ $ export MYSQL_PASSWORD=your_mysql_password
|
|||||||
$ cd version_upgrades/4.1.2
|
$ cd version_upgrades/4.1.2
|
||||||
$ php 4.1.2.php
|
$ php 4.1.2.php
|
||||||
```
|
```
|
||||||
4. After script in run, remove the folder `version_upgrades`
|
5. 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.
|
6. Upgrade should be complete. If you had some issues, feel free to open a ticket here at github.
|
Loading…
x
Reference in New Issue
Block a user