Web interface says "Migration Failed" while migration is in progress #10166

Open
opened 2025-11-02 09:00:04 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @drsybren on GitHub (Jan 27, 2023).

Description

While gitea restore-repo is running, visiting the repository in the web interface will show an upside-down teacup with the text "Migration failed."

The visuals express a much more dire situation than is actually the case. While the import is running, it would be much friendlier to display "This repository is being migrated", instead of the definitive "has failed".

To make matters worse, the web interface also shows a "Delete This Repository" button. I haven't dared pressing it while the migration is going, but I'm fairly sure it'll actually make the migration fail.

Note that importing the migrated data from Blender's old tracker takes several minutes on my development machine. This is not a screen that is only visible for a few milliseconds.

Gitea Version

9cc15d18df

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image

Git Version

No response

Operating System

No response

How are you running Gitea?

Self-built from Git.

Database

PostgreSQL

Originally created by @drsybren on GitHub (Jan 27, 2023). ### Description While `gitea restore-repo` is running, visiting the repository in the web interface will show an upside-down teacup with the text "Migration failed." The visuals express a much more dire situation than is actually the case. While the import is running, it would be much friendlier to display "This repository is being migrated", instead of the definitive "has failed". To make matters worse, the web interface also shows a "Delete This Repository" button. I haven't dared pressing it while the migration is going, but I'm fairly sure it'll actually **make** the migration fail. Note that importing the migrated data from Blender's old tracker takes several minutes on my development machine. This is not a screen that is only visible for a few milliseconds. ### Gitea Version 9cc15d18dfe25f5e0a7569ffb6203e9a4dbb2404 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots ![image](https://user-images.githubusercontent.com/122987084/215116366-e06715b6-863a-44a0-adfb-0fa2f39818eb.png) ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? Self-built from Git. ### Database PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 09:00:04 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10166