-
-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SELF-HOSTED] Error migrations when upgrading from 1.2.0 into 1.2.1 #1309
Comments
Do you think you could read out the
|
I just tried a full replication, running a container based on the Grist docker image tagged 1.2.0, and then switching to 1.2.1. The migrations table seemed to update in an orderly fashion, with two more rows getting added:
The |
home.sqlite3 is replaced by PostgreSQL database. The migrations table have already a line with id 36 and name ActivationEnabled1722529827161. So it was already enabled. I had to delete this record and remove the enable_at column in activations table before pull grist 1.2.1 docker image. |
Hmm. Not sure why it would attempt to run ActivationEnabled1722529827161 again if the migrations log clearly showed it had already run. Haven't seen that happen before. Will leave this issue open in case others have a similar problem and this encourages them to report it. |
Describe the problem
INSERT INTO "migrations"("timestamp", "name") VALUES ($1, $2)',
parameters: [ 1727747249153, 'Configs1727747249153' ],
driverError: error: duplicated key violating constraint key « PK_8c82d7f526340ab734260ea46be » id 36 already exists (migration name: ActivationEnabled1722529827161
'ALTER TABLE "activations" ADD "enabled_at" TIMESTAMP WITH TIME ZONE',
driverError: error: column « enabled_at »from relation « activations » already exists
Additional information
The text was updated successfully, but these errors were encountered: