Upgrading Fire

Stop Fire if it is running

Stop Fire with the below command from the directory in which it is installed:

run-fire-server.sh stop

Download the new fire tgz file

Download Fire tgz file from:

- https://www.sparkflows.io/download  OR

- https://www.sparkflows.io/archives

Unpack it

Unpack the tgz file with below on unix/linux:

tar xvf fire-x.y.z.tgz

Upgrade the H2 or MySQL database

  • If you have updated the conf/db.properties file, copy it from your old location to the new directory

  • Backup your existing H2 db files. By default they are in your home directory as firedb.mv.db

  • If you are using MySQL, backup the fire database in MySQL.

  • Execute the following commands on the Command Line to upgrade the Fire database:

    cd <install_dir>/fire-x.y.z
    
    ./create-h2-db.sh      OR     ./create-mysql-db.sh
    

the above command creates or updates the existing db if one already exists

Restart Fire

Restart the Fire Server:

run-fire-server.sh start