You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
5 years ago
|
|
||
|
# EasyScheduler upgrade documentation
|
||
|
|
||
5 years ago
|
## 1. Back up the previous version of the files and database
|
||
5 years ago
|
|
||
|
## 2. Stop all services of escheduler
|
||
|
|
||
|
`sh ./script/stop_all.sh`
|
||
|
|
||
|
## 3. Download the new version of the installation package
|
||
|
|
||
5 years ago
|
- [gitee](https://gitee.com/easyscheduler/EasyScheduler/attach_files), download the latest version of the front and back installation packages (backend referred to as escheduler-backend, front end referred to as escheduler-ui)
|
||
5 years ago
|
- The following upgrade operations need to be performed in the new version of the directory
|
||
|
|
||
|
## 4. Database upgrade
|
||
|
- Modify the following properties in conf/dao/data_source.properties
|
||
|
|
||
|
```
|
||
|
spring.datasource.url
|
||
|
spring.datasource.username
|
||
|
spring.datasource.password
|
||
|
```
|
||
|
|
||
|
- Execute database upgrade script
|
||
|
|
||
|
`sh ./script/upgrade_escheduler.sh`
|
||
|
|
||
|
## 5. Backend service upgrade
|
||
|
|
||
5 years ago
|
- Modify the content of the install.sh configuration and execute the upgrade script
|
||
5 years ago
|
|
||
|
`sh install.sh`
|
||
|
|
||
|
## 6. Frontend service upgrade
|
||
5 years ago
|
|
||
5 years ago
|
- Overwrite the previous version of the dist directory
|
||
|
- Restart the nginx service
|
||
|
|
||
|
`systemctl restart nginx`
|