Skip to content
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

[staging-UK] DB out of sync, can't stage master #12375

Open
filipefurtad0 opened this issue Apr 12, 2024 · 2 comments
Open

[staging-UK] DB out of sync, can't stage master #12375

filipefurtad0 opened this issue Apr 12, 2024 · 2 comments
Labels
no-staging-UK A tag which does not trigger deployments, indicating a server is being used

Comments

@filipefurtad0
Copy link
Contributor

Description

It seems the DB on staging-UK is out of sync making it unusable: while the server is up, we can't seem to stage PRs / master.

Expected Behavior

We should be able to stage PRs/master-branch.

Actual Behaviour

Staging fails on staging-UK.

Steps to Reproduce

  1. Run a deploy job for staging-UK, on github-actions.

Possible Fix

Not a fix but see reference on this Slack thread / issue.

@dacook dacook self-assigned this Apr 18, 2024
@dacook
Copy link
Member

dacook commented Apr 18, 2024

DuplicateColumn: ERROR:  column \"primary_taxon_id\" of relation \"spree_variants\" already exists

I think a previous version of that PR was staged on this server at some point, and maybe the migrations have been regenerated with a new ID since.

@dacook dacook added the no-staging-UK A tag which does not trigger deployments, indicating a server is being used label Apr 18, 2024
@dacook dacook removed their assignment Apr 18, 2024
@dacook
Copy link
Member

dacook commented Apr 18, 2024

The solution is to do:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-staging-UK A tag which does not trigger deployments, indicating a server is being used
Projects
Status: In Progress ⚙
Development

No branches or pull requests

2 participants