This commit is contained in:
@@ -1,9 +1,34 @@
|
||||
# AyaNova linux platform upgrade
|
||||
# AyaNova linux server platform upgrade
|
||||
|
||||
The linux upgrade process involves replacing the AyaNova program files with the latest version and restarting the AyaNova server.
|
||||
The linux server upgrade process involves replacing the AyaNova program files with the latest version and restarting the AyaNova server.
|
||||
|
||||
The following commands should be run from the shell in the AyaNova server folder.
|
||||
These instructions assume the installation instructions were followed without changes, if you had to make changes adjust accordingly.
|
||||
|
||||
### 1\. Backup
|
||||
|
||||
Before proceeding, [make a backup](ops-form-backup.md) of the database **and** the attachment files and store it in a safe place.
|
||||
|
||||
If you do not have a fresh backup there will be no way to recover from potential data loss or damage.
|
||||
|
||||
### 2\. Upgrade
|
||||
|
||||
The following shell script will automatically stop the AyaNova server service, remove the old AyaNova files, download and unzip the latest AyaNova files then start the server service.
|
||||
|
||||
Run the following shell commands:
|
||||
|
||||
```bash
|
||||
sudo curl -O https://www.ayanova.com/download/ayanova-linux-x64-server.zip
|
||||
```
|
||||
cd /var/ayanova && \
|
||||
sudo systemctl stop ayanova.service && \
|
||||
sudo curl -O https://www.ayanova.com/download/ayanova-linux-x64-server.zip && \
|
||||
sudo rm *.dll && \
|
||||
sudo rm -r ./resource && \
|
||||
sudo rm -r ./wwwroot && \
|
||||
sudo unzip -o ayanova-linux-x64-server.zip -x "config.json" && \
|
||||
sudo systemctl start ayanova.service
|
||||
```
|
||||
|
||||
If there is an issue or error break apart the commands and execute each one individually to find the error.
|
||||
|
||||
AyaNova should restart on it's own and perform any database schema updates if required automatically.
|
||||
|
||||
Open the login form in your browser and after a short delay you should see the new version number at the bottom of the login form.
|
||||
|
||||
Reference in New Issue
Block a user