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
Upgrade the H2 or MySQL database¶
If you have updated the
conf/db.propertiesfile, copy it from your old location to the new directoryBackup your existing H2 db files. By default they are in your home directory as
firedb.mv.dbIf 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