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/j5/base-setup.sh

sh base-setup.sh

1. A Basic update webcode / python code update.  Strictly NO database changes are made.

Navigate to your original install folder and run

sudo sh update-website-code-only.sh

 

2. A Basic update website has been released: How to I update my code and will update MySQL new tables.

Navigate to your original install folder and run

sudo sh webupdate.sh

 
3. 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 make sure your database schema is up to date, run the following from your base install location. (Setup files you downloaded)

sudo mysql jayfish <patch.sql