Light Docs

Upgrading Light Store

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

Using upgrade.sh script (simplest)

To update, 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 nortex.dev or BuiltByBit and uploaded onto your server.

Upload the new version zip to your store directory. (Do not unzip it manually)

bash upgrade.sh "<zip file name>.zip" # e.g. bash upgrade.sh "Light Store v1.2.3.zip"

Using Docker

Download the new zip from nortex.dev or the BuiltByBit page.

Shut down the store:

docker compose down

Delete all old source folders:

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

Upload the new zip and unzip using 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 using unzip, like in the installation procedure.

Follow installation steps for building assets.

On this page