You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of Komodo v1.18.0, official support for SQLite and the original PostgreSQL backend (used with FerretDB v1) has been removed.
This guide walks you through migrating your Komodo instance to FerretDB v2, which uses a custom PostgreSQL backend and offers improved performance and long-term support.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
🛠️ Komodo Migration Guide: SQLite / PostgreSQL → FerretDB v2
As of Komodo v1.18.0, official support for SQLite and the original PostgreSQL backend (used with FerretDB v1) has been removed.
This guide walks you through migrating your Komodo instance to FerretDB v2, which uses a custom PostgreSQL backend and offers improved performance and long-term support.
Official Guide: https://github.com/moghtech/komodo/blob/main/bin/util/docs/copy-database.md#ferretdb-v2-update-guide
❗ Why migrate?
✅ Prerequisites
/opt/komodo
sqlite.compose.yaml
postgres.compose.yaml
🔁 Migration Steps
1. Extend your existing Compose file
Edit your existing
sqlite.compose.yaml
orpostgres.compose.yaml
and add the following new services:2. Add the migration utility
Add the following service to perform a one-time database copy:
3. Extend the volume section
At the bottom of your Compose file, ensure these volumes are defined:
4. Start the migration
Run:
cd /opt/komodo docker compose -p komodo --env-file compose.env -f YOUR_COMPOSE_FILE.yaml up -d
Wait for the
copy_database
service to finish (it will stop automatically).5. Rename and switch to FerretDB v2
After the migration completes, rename your compose file:
mv /opt/komodo/sqlite.compose.yaml /opt/komodo/ferretdb.compose.yaml # or mv /opt/komodo/postgres.compose.yaml /opt/komodo/ferretdb.compose.yaml
Then edit the renamed file and:
ferretdb
,postgres
, andcopy_database
services.core
service, set the new database address:Start Komodo using the renamed configuration:
6. Verify the new setup
Access your instance in the browser:
Check that everything works correctly and your data has been migrated.
You may also remove unused Docker volumes or containers as needed:
🔗 Official Docs
🛑 Important
All community-based update scripts will block automatic updates if legacy
sqlite.compose.yaml
orpostgres.compose.yaml
are detected.Migration is required before upgrading to Komodo v1.18.0 and newer.
Beta Was this translation helpful? Give feedback.
All reactions