No page redirection is performed at the completion of the migration repository #11753

Closed
opened 2025-11-02 09:46:41 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @CaiCandong on GitHub (Sep 30, 2023).

Description

I have located the problem: when migration is compend, the end_time in the database is not updated.
Maybe regression of #27089

2023/09/30 17:15:29 ...ices/task/migrate.go:58:func1() [E] FinishMigrateTask[31] by DoerID[1] to RepoID[59] for OwnerID[1] failed: context canceled
2023/09/30 17:15:29 ...ices/task/migrate.go:61:func1() [E] runMigrateTask[31] by DoerID[1] to RepoID[59] for OwnerID[1] failed: context canceled
2023/09/30 17:15:29 ...ices/task/migrate.go:68:func1() [E] Task UpdateCols failed: context canceled
2023/09/30 17:15:29 ...ervices/task/task.go:53:handler() [E] Run task failed: context canceled
2023/09/30 17:15:29 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/task/31 for [::1]:55198, 200 OK in 16.9ms @ user/task.go:16(user.TaskStatus)

https://github.com/go-gitea/gitea/assets/50507092/0fd68496-0ce6-4afa-a894-7bb73116e80c

(O9W@2ZHSUI3OFH {@1$HD1

Gitea Version

try.gitea.io

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

try.gitea.io

Database

None

Originally created by @CaiCandong on GitHub (Sep 30, 2023). ### Description I have located the problem: when migration is compend, the `end_time` in the database is not updated. Maybe regression of #27089 ``` 2023/09/30 17:15:29 ...ices/task/migrate.go:58:func1() [E] FinishMigrateTask[31] by DoerID[1] to RepoID[59] for OwnerID[1] failed: context canceled 2023/09/30 17:15:29 ...ices/task/migrate.go:61:func1() [E] runMigrateTask[31] by DoerID[1] to RepoID[59] for OwnerID[1] failed: context canceled 2023/09/30 17:15:29 ...ices/task/migrate.go:68:func1() [E] Task UpdateCols failed: context canceled 2023/09/30 17:15:29 ...ervices/task/task.go:53:handler() [E] Run task failed: context canceled 2023/09/30 17:15:29 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/task/31 for [::1]:55198, 200 OK in 16.9ms @ user/task.go:16(user.TaskStatus) ``` https://github.com/go-gitea/gitea/assets/50507092/0fd68496-0ce6-4afa-a894-7bb73116e80c ![(O9W@2ZHSUI3OFH {@1$HD1](https://github.com/go-gitea/gitea/assets/50507092/c6d43b1b-5274-450c-881d-999d46038159) ### Gitea Version try.gitea.io ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? try.gitea.io ### Database None
GiteaMirror added the type/bug label 2025-11-02 09:46:42 -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#11753