How to make sure you have the latest install scripts.

Navigate to your J4 install folder (THIS IS YOUR SETUP SCRIPTS FOLDER NOT THE WEBSITE !!)  or create one.  If you have a current folder delete all the install files within the folder first.

cd /your-jayfish-setup-folder

sudo rm *

Now download the latest base install script like this and then execute the base setup script.

wget http://www.jayfish.net/setup/base-setup.sh

sh base-setup.sh

 

1. A Basic update website has been released: How to I update my code without losing MySQL Data.

Navigate to your original install folder and run

sudo sh webupdate.sh

 
2. A Minor database update has been released: How do I update my code & MySQL adjustments without losing MySQL Data.

Navigate to your original install folder and run

sudo sh webupdate.sh

This type of update would include MySQL/MariaDB changes to be run specifically.  the “patchnumber” will be provided in relevant article.

wget http://www.jayfish.net/setup/patches/patchnumberXXX.sql

sudo mysql <patchnumberXXX.sql