Skip to content

[dtq-dev-93] Deploy: standard 7.6 → 9 upgrade without database repair - #1748

Merged
Kasinhou merged 1 commit into
dtq-dev-93from
93/fe-deploy-standard-upgrade
Nov 24, 2026
Merged

Kasinhou merged 1 commit into
dtq-dev-93from
93/fe-deploy-standard-upgrade

Conversation

@Kasinhou

@Kasinhou Kasinhou commented Nov 24, 2026 •

Copy link
Copy Markdown

Problem description

Depends on: dataquest-dev/DSpace#1737

The import ran database repair && migrate ignored. repair hid that a clarin-v7 database cannot be upgraded, and our dev dump came from dtq-dev, which does not have the problem.

Analysis

  • Migration step: ./dspace database migrate ignored && ./dspace database info, without repair.
  • DUMP_PATH default: /opt/dspace-envs/8603/dump/dspace_lindat_dump_26.11.19.sql (anonymized LINDAT dump) instead of dspace_dev5_dump_26.07.16.sql.

Problems

Merge after DSpace#1737 and the rebuild of the dtq-dev-93 image, otherwise the import fails with "not resolved locally". The dump must be on dev-6 first.

🤖 Generated with Claude Code

Run `dspace database migrate ignored` (plus `database info`) instead of
`database repair && migrate ignored`. The backend now resolves every
CLARIN 7.6 migration, so repair is no longer needed and would only hide
a real upgrade failure.

Import the anonymized LINDAT dump (dspace_lindat_dump_26.11.19.sql)
by default. It comes from clarin-v7 with the renamed migrations that
the previous dev5 dump never had.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Approval is deferred because the migration depends on an unmerged backend change, a rebuilt image, and an external LINDAT dump that require runtime validation.

No open issues 🎉

What changed in this PR

Updates the DSpace deployment workflow for the standard 7.6 → 9 migration and imports the anonymized LINDAT database dump.

Changes:

  • Replaces the default development dump with the 2026-11-19 LINDAT dump.
  • Runs database migrate ignored followed by database info instead of repairing Flyway history.
  • Updates probe diagnostics to reflect the new migration flow.
File Description
.github/​workflows/​deploy.yml Updates dump defaults, migration commands, and database-state diagnostics for the LINDAT deployment.

Review effort: Lite

@Kasinhou
Kasinhou merged commit ad87999 into dtq-dev-93 Nov 24, 2026
8 checks passed
@Kasinhou Kasinhou changed the title [dtq-dev-93] Deploy: standard 7.6 → 9 upgrade without database repair, import the LINDAT dump [dtq-dev-93] Deploy: standard 7.6 → 9 upgrade without database repair Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants