Update Gaia
Update Gaia to the newest version with the installer or with Docker Compose, without losing data.
On this page
Updating keeps your settings and data. They live in .env and in the gaia-data Docker volume, and neither is replaced.
With the installer#
Run the same command you installed with.
Linux, macOS or WSL:
curl -fsSL https://raw.githubusercontent.com/darkzmaj/Gaia-Discord-Bot/main/install.sh | bashWindows PowerShell:
irm https://raw.githubusercontent.com/darkzmaj/Gaia-Discord-Bot/main/install.ps1 | iexBecause .env already exists, the installer asks nothing. It pulls the newest code, fetches the new image and restarts Gaia.
With Docker Compose#
In the install folder, by default ~/gaia-discord-bot:
docker compose pull && docker compose up -dWhat happens on start#
- Database changes are applied automatically.
- The slash commands are synchronised with Discord.
You do not need to run anything else. To follow the start, run docker compose logs -f and look for the Gaia started line with the version.
From 1.0.1 to 2.0.0#
Version 2.0.0 changes how logging works.
- Remove these lines from
.env:LOG_WEBHOOK_URL,LOG_GUILD,LOG_GUILD_CHANNEL,MEMBER_LOG_WEBHOOK_URLandMEMBER_LOG_CHANNEL. Gaia no longer reads them, and the webhook URLs are secrets you should not keep around. You can delete those webhooks in Discord. - Update as above.
- In each server, the owner runs
/adminand answers Logging Setup. Until then, nothing from that server is logged. - Pick the activity and member log channels in
/admin, Logs.
See Logs.
Check your version#
The Gaia started log line includes version. Release notes are in the changelog. Only the latest release receives security fixes.
Source: Gaia v2.0.0 README, CHANGELOG.md, install.sh, install.ps1, SECURITY.md and src/bot.rs; v1.0.1 .env.example; checked 9 November 2026.