Updating Selu
Selu is actively developed, and updates bring new features, bug fixes, and security patches. Updating is straightforward since everything runs in Docker containers.
Before you update
Section titled “Before you update”- Check the changelog — Review what’s new at selu.dev/changelog. Look for any breaking changes or migration notes.
- Back up your database — This is the most important step. Run:
docker compose exec selu-db pg_dump -U postgres selu > backup-$(date +%Y%m%d).sql- Note your current version — Useful if you need to roll back:
docker compose exec selu-server selu --versionUpdating
Section titled “Updating”Pull the latest images and recreate the containers:
docker compose pulldocker compose up -dSelu handles database migrations automatically on startup. Your settings, credentials, and conversation history are preserved.
If you prefer to control exactly which version you run, edit your docker-compose.yml:
services: selu-server: image: ghcr.io/selu/selu-server:1.5.0Then run:
docker compose up -dUpdating agents
Section titled “Updating agents”Agents update independently from the Selu server. When an agent update is available, you’ll see a notification in the dashboard under Settings → Agents.
To update an agent:
- Go to Settings → Agents and find the agent with an available update.
- Click Update and review the changelog.
- Confirm the update. Selu pulls the new image and restarts the agent’s container.
The agent’s configuration and settings are preserved across updates.
Rolling back
Section titled “Rolling back”If something goes wrong after an update, you can roll back:
- Restore the previous image:
docker compose downEdit docker-compose.yml to pin the previous version, then:
docker compose up -d- Restore the database (only if needed):
docker compose exec -i selu-db psql -U postgres selu < backup-20260301.sqlAutomatic update checks
Section titled “Automatic update checks”Selu checks for updates daily and shows a banner in the dashboard when a new version is available. This check only fetches version metadata — it never downloads or installs anything automatically.
You can disable this under Settings → System → Update Checks.
Staying informed
Section titled “Staying informed”- Changelog — selu.dev/changelog for detailed release notes.
- Community — Join the discussion in the Selu community to hear about updates and share experiences.