How to make sure you have the latest install scripts.

Navigate to your J5 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.

TO BE CLEAR understand that the install folder is the location where your original install files are … NOT where your website is.

In my case I create j5 under home … so /home/j5 and in my j5 folder proceeded to download the base-setup file and run it.  You might not have called it j5 … you might have called it something else.  Make sure you get this … if not ask.

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