Skip to content

fix(bootstrap): refuse a 0.1.0 platform still on Gitea instead of starting Forgejo on its data #134

Open

Description

@Teg79

Problem

A platform installed with urbex 0.1.0 runs Gitea 1.24. Since #116 the forge role deploys Forgejo 15, and urbex bootstrap with a build of today's main starts it on Gitea's data volume. Forgejo refuses the database and exits:

Migration Error: Your database (migration version: 321) is for a newer Forgejo, you can not use the newer database for this old Forgejo release (305).
Forgejo will exit to keep your database safe and unchanged.

The data is untouched, but the forge stays down: builds and webhooks stop. I reproduced it locally with gitea/gitea:1.24 (1.24.7) and codeberg.org/forgejo/forgejo:15.0.11 on one volume. ADR-0034 says such platforms aren't migrated in place; nothing in the CLI stops the bootstrap.

Expected result

Decided by Teg (v0.2.0 from main, with this guard), via the PM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions