This commit is contained in:
2022-03-11 20:38:56 +00:00
parent 5228570ee4
commit 9ab4cbdd52
2 changed files with 16 additions and 5 deletions

View File

@@ -112,8 +112,20 @@ to here: /var/www/html/ayanova.com/docs
LINUX MANUAL UPGRADE PROCEDURE
From AyaNova folder
# LINUX MANUAL UPGRADE PROCEDURE
From /var/ayanova folder
Download new version (the -O will overwrite so no need to delete existing one):
sudo curl -O https://www.ayanova.com/download/ayanova-linux-x64-server.zip
Run this one-liner to update and restart:
sudo systemctl stop ayanova.service && rm *.dll && rm -r ./resource && rm -r ./wwwroot && unzip -o ayanova-linux-x64-server.zip -x "config.json" && sudo systemctl start ayanova.service
OLD step by step instructions:
sudo systemctl stop ayanova.service
rm *.dll
rm -r ./resource
@@ -121,9 +133,6 @@ rm -r ./wwwroot
unzip -o ayanova-linux-x64-server.zip -x "config.json"
sudo systemctl start ayanova.service
Single liner (tested, works, so fast it's surprising):
sudo systemctl stop ayanova.service && rm *.dll && rm -r ./resource && rm -r ./wwwroot && unzip -o ayanova-linux-x64-server.zip -x "config.json" && sudo systemctl start ayanova.service