edgedb / edgedb-docker

Official Docker Image packaging for EdgeDB
81 stars 16 forks source link

version is incompatible #77

Closed hitrust closed 11 months ago

hitrust commented 1 year ago

image: edgedb/edgedb

issue: 2023-07-13 09:25:58 Details: The database instance was initialized with EdgeDB version 2, which is incompatible with this version 3 2023-07-13 09:25:58 Hint: You need to recreate the instance and upgrade using dump/restore.

elprans commented 11 months ago

This is expected behavior. You cannot run a newer major version of the server against a data directory created by an older server (or vice versa). Instead, create a dump from version 2, start a version 3 container on a fresh directory and run edgedb restore against it.

hitrust commented 11 months ago

Got it