Light Docs

Upgrade

Learn how to upgrade store versions with minimal downtime and no data-loss.

Using upgrade.sh script (simplest)

Starting v1.8.0, along with install.sh, you may use upgrade.sh to upgrade the version automatically. All you need to do is provide the exact path to the new version's .zip file downloaded from BuiltByBit and uploaded onto your server.

Upload the new version zip to your store directory.

Run bash upgrade.sh "<zip file name>.zip", for example bash upgrade.sh "Light Store v1.9.0.zip".

Using Docker

Download the new zip from the BuiltByBit page

Shut down the store:

docker compose down

On the remote machine, delete all old source folders:

rm -rf app/ database/ resources/ config/ routes/

Upload the new zip and unzip, like in the installation procedure

Run compose up to start

docker compose up -d --build

Manually

Download the new zip from the BuiltByBit page

On the remote machine, delete all old source folders:

rm -rf app/ database/ resources/ config/ routes/

Upload the new zip and unzip, like in the installation procedure

Follow installation steps for building assets.