Skip to content

When you run the bot with Docker, an update replaces the bot’s image and keeps its data where it is. The lite setup restarts its one container, so the bot pauses for a short time. The full setup starts the new version next to the running one, and only stops the old one when the new one is ready.

Before you update

The new version can change the database when it starts. Make a complete backup first, and note the image you run now, so you can go back. For the full setup, you also need PowerShell to run the switchover script.

SetupWhat a complete backup holds
LiteThe nomnomzbot_lite_data volume, which also holds the key file the bot made. If you set the keys in .env, keep a copy of .env with it.
FullThe postgres_data volume (the database), the api_data volume (the bot’s files) and your .env file.

The steps are on Install with Docker: back up the lite data or back up the full setup.

Note the image you run now

For lite, run this command:

Shell
docker image inspect --format '{{index .RepoDigests 0}}' $(docker inspect --format '{{.Image}}' nomnomzbot-lite)

The full setup runs its bot in one of two containers, blue or green. To see which one runs, use this command:

Shell
docker ps --filter name=nomnomzbot-api- --format '{{.Names}}'

It prints nomnomzbot-api-blue or nomnomzbot-api-green. Use that name in this command; the example uses blue:

Shell
docker image inspect --format '{{index .RepoDigests 0}}' $(docker inspect --format '{{.Image}}' nomnomzbot-api-blue)

The command prints a line that starts with ghcr.io/nomercylabs/nomnomzbot@sha256:. That line names exactly this version, even after the release channel moves on, so keep it with your backup.

When the command prints an error instead, the bot runs an image built on your own machine. That image has no published version to go back to, but the full setup can keep it: If the full setup builds its own image shows how, so read it before you update.

Pick a release channel

A release channel is the image tag you run. It sets how often you get a new version.

Release channelImageWhen it gets a new version
stableghcr.io/nomercylabs/nomnomzbot:stableWhen NoMercy Labs starts a stable release. It takes the current beta version.
betaghcr.io/nomercylabs/nomnomzbot:betaEvery Monday at 04:00 UTC. It takes the current nightly version.
nightlyghcr.io/nomercylabs/nomnomzbot:nightlyEvery night at 03:00 UTC. It takes the newest build that passed its tests.

Pick stable when the bot runs your streams and you want the fewest surprises.

Set the release channel with API_IMAGE in .env, for example:

API_IMAGE=ghcr.io/nomercylabs/nomnomzbot:beta

When API_IMAGE is empty, the lite setup runs the stable release channel. The full setup then builds its own image on your machine from the project files, so it never gets a release. For the full setup, set API_IMAGE to a release channel image before you update.

Stay on one exact release

Each release also has its own tag, such as stable-2026.10.26-12. The tag is the release channel, the date and a run number. Put that tag in API_IMAGE to stay on exactly that release.

Stable tags are the release names on the releases page. Beta and nightly tags are on the tags page of the project.

Update the lite setup

To change the release channel, set API_IMAGE in .env first. Then run these commands in the project folder:

Shell
docker compose -f docker-compose.lite.yml pull
docker compose -f docker-compose.lite.yml up -d

Docker downloads the newest image of your release channel and starts the bot again on the same volume. Run docker compose -f docker-compose.lite.yml ps after about a minute. The update worked when the status of the bot shows healthy. While the bot starts, the status shows starting; if it is not healthy after two minutes, read If the update fails.

Update the full setup

  1. Set API_IMAGE in .env to the image of your release channel.

  2. Run the switchover script from the project folder in PowerShell. The script waits up to 120 seconds for the new version to be ready. On a slow machine, give it more time with .\scripts\switchover.ps1 -ReadyTimeoutSec 180 instead.

    PowerShell
    .\scripts\switchover.ps1

    The script downloads the image and starts the new version next to the old one.

The update worked when the script ends with SWITCHOVER: DONE: by then the new version is ready and the old one has stopped.

If the full setup builds its own image

When API_IMAGE is empty, the bot runs nomnomzbot-api:local, an image built on your machine. It has no published version, so the docker image inspect command prints an error instead of a line to go back to. Docker keeps that image under its name until you build again, so you can still go back to it.

  1. Back up both volumes and .env, as Back up the full setup describes.
  2. Set API_IMAGE in .env to a release channel image, such as ghcr.io/nomercylabs/nomnomzbot:stable.
  3. Run .\scripts\switchover.ps1. With a release channel image, the script downloads it and builds nothing, so the old image stays.

To go back to your own build, follow the steps to go back in the full setup below, with one change: in the API_IMAGE step, make API_IMAGE empty again. Do not add --build to the start command, or Docker replaces the old image with a new build.

Check the result

Check that the bot’s containers are running and healthy. For lite, use docker compose -f docker-compose.lite.yml ps. For full, use docker compose --profile green ps, which lists the running bot together with the database, cache and proxy containers.

Then open the dashboard at http://localhost:5080, or at the address you set as API_BASE_URL in .env. In your Twitch chat, type a simple command such as !accountage, and check that the bot answers. Also try an integration you rely on during a stream, such as music or an overlay, before you go live. To read the bot’s logs, use the log commands on Install with Docker.

If the update fails

In the lite setup, a status of unhealthy, or starting after two minutes, means the new version did not start, so read the logs for its startup error. When you can fix the error in .env, fix it and run the up -d command again. When you cannot fix it, or the bot is healthy but your data or settings look wrong, go back to the image you noted.

If the new full-setup version is not ready in time, the script stops it and the old version keeps running. The script then shows a line that starts with SWITCHOVER: FAILED. Read that message and the new container’s logs before you try again.

If the new version started, it may have changed the database, so going back to the older image alone is not enough. Restore the backup from before the update, with the same encryption key, and run the image you noted.

To go back in the lite setup:

  1. Set API_IMAGE in .env to the line you noted, such as ghcr.io/nomercylabs/nomnomzbot@sha256: followed by its code.
  2. Follow Restore a lite backup. Its last step starts the bot on the restored data with the older image.

To go back in the full setup, restore into new volumes and keep the previous volumes until you have checked the result:

  1. Stop the stack with docker compose --profile green stop.
  2. Restore both volumes from your backup into new volumes, as the end of Back up the full setup describes.
  3. Set API_IMAGE in .env to the line you noted.
  4. Start the stack with docker compose up -d. This starts the blue bot with the database, cache and proxy. The green bot stays stopped, and both colors use the same data, so blue is right even when green ran before.
  5. Run docker ps --filter name=nomnomzbot-api- --format '{{.Names}}'. It prints only nomnomzbot-api-blue.

See when an update exists

The System page in the admin area of the dashboard has an Updates card. It “Checks GitHub every few hours for a newer stable release.”

The card showsMeaning
New version, the release name, its date and What changedWhat changed opens the release page, which lists the update steps for your kind of install. Make your backup first, as this page describes.
“This bot runs the newest stable release.”You have nothing to do. The card also shows this when you run a beta or nightly version that is newer than the latest stable release.
“No stable release to compare with yet, or this build has no version to compare.”Compare by hand: the releases page lists every stable release with its date.
“GitHub did not answer the update check.”Select Try again, or come back later. The check runs in your browser, so the bot keeps running as before.

The card compares with the stable release channel only. Nightly and beta versions get image tags but no release page on GitHub.

Update without Docker

When you run the bot from the release archive, an update is a new archive. Archives come with stable releases only. Your data folder is separate from the program folder, so it stays in place.

  1. Stop the bot: on Windows choose Stop NomNomzBot from the tray icon, and on Linux or macOS press Ctrl+C in its terminal.
  2. Back up the data folder.
  3. Open the latest release on GitHub, download the new archive for your computer and unpack it. It makes a new folder named after the new version.
  4. Start the program from the new folder: nomnomz.exe on Windows, or ./nomnomz on Linux or macOS. Use the whole new folder, because the dashboard files come in the archive next to the program.

The bot finds its data folder again and opens with your settings. When it works, you can delete the old program folder.