New users don’t need this guide. Run
docker compose up and you’re ready.FATAL: database files are incompatible with server, follow the steps below.
Migration steps
1
Back up your data
While your v15 container is still running:
2
Remove the old volume
The internal file structure changed in v18. You must delete the old volume:
3
Start the database
Pull the latest changes and start only the database:
4
Restore your data
Wait a few seconds for the database to initialize, then restore:
5
Start the application
Troubleshooting
Container fails with 'database files are incompatible'
Container fails with 'database files are incompatible'
You didn’t remove the old volume. Run:This removes all data and starts fresh. If you need to preserve data, follow the full migration steps above.
Restore fails with 'relation already exists'
Restore fails with 'relation already exists'
The application started before the restore and created empty tables. Remove the volume and try again from step 2: