This commit is contained in:
2022-03-31 00:37:21 +00:00
parent f6d44be52b
commit 337624ded4
11 changed files with 69 additions and 19 deletions

View File

@@ -0,0 +1,61 @@
# AyaNova Windows IIS hosted platform upgrade
The upgrade process involves stopping the AyaNova IIS site, replacing the AyaNova program files with the latest version and restarting the AyaNova IIS site.
These instructions assume the original installation steps 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\. Download setup file
[https://www.ayanova.com/download/ayanova-windows-x64-lan-setup.exe](https://www.ayanova.com/download/ayanova-windows-x64-lan-setup.exe)
### 3\. Stop the AyaNova IIS site
Stop the AyaNova site in the IIS manager:
![image stop IIS site](img/ops-upgrade-windows-iis-stop-site.png)
### 4\. Setup
Run the setup file downloaded in step 2 above.
**IMPORTANT**: You MUST NOT CHECK the option 'Start AyaNova server when Windows starts'
![SCREENSHOT OF setup window un checked server start with windows](img/ops-install-windows-lan-uncheck.png)
This is because IIS will be responsible for starting and stopping AyaNova. If you do select start with windows re-run the installer and uncheck it and finish the installation again.
Click next to continue to the next step:
You will be prompted to go to the asp.net core download page:
![SCREENSHOT OF question about setup asp.net](img/ops-install-windows-lan-aspnetcore.png)
Select No.
You will next be prompted to go the PostgreSQL installer page:
![SCREENSHOT OF question about setup pgsql](img/ops-install-windows-lan-postgressql.png)
Select No.
The files will be updated and a final prompt will appear and ask if you want to overwrite the config.json file during setup:
![image prompt overwrite config.json file](img/ops-upgrade-windows-single-overwrite-config-prompt.png)
Select **Keep the existing file**.
If you select the overwrite option by accident you will need to re-edit the config.json file as you did during the [initial installation](ops-install-windows-iis.md#5-ayanova-server-configuration) once installation has completed before restarting the IIS AyaNova site.
### 5\. Start the AyaNova IIS site
Start the AyaNova site in the IIS manager:
![image start IIS site](img/ops-upgrade-windows-iis-start-site.png)
Open the AyaNova web app as you normally would, the login form will open in your browser and after a short delay you should see the page refresh and the new version number be displayed at the bottom of the login form.