Error migrating from version 1.4.3 to version 1.7 #2787

Closed
opened 2025-11-02 04:48:28 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @rafaeldeda on GitHub (Jan 21, 2019).

  • Gitea version (or commit ref): 1.4.3
  • Git version: 2.16.4
  • Operating system: Linux CentOS 7 x64
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Guys, we're having trouble migrating Gitea version 1.4.3 to version 1.7. The following is an image illustrating this problem. Emphasize that this problem was reported in issue 4360 (still open) and to reinforce this problem, reopen as a new issue. I did the drop index manually as suggested but when I try to migrate a timeout occurs as mentioned in issue 4360 reported by the employee vinnyaju. I await good news.
Note: Open this new issue as a way to get the attention of the community by the time the issue 4360 is open.

"2019/01/21 09:32:41 [...itea/routers/init.go:61 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate:
Drop table issue columns [assignee_id]: mssql: ALTER TABLE DROP COLUMN assignee_id failed because one or more objects access this column."

Thank you!

Screenshots

capturar

Originally created by @rafaeldeda on GitHub (Jan 21, 2019). - Gitea version (or commit ref): 1.4.3 - Git version: 2.16.4 - Operating system: Linux CentOS 7 x64 - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [X] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [X] No - [ ] Not relevant - Log gist: ## Description Guys, we're having trouble migrating Gitea version 1.4.3 to version 1.7. The following is an image illustrating this problem. Emphasize that this problem was reported in issue 4360 (still open) and to reinforce this problem, reopen as a new issue. I did the drop index manually as suggested but when I try to migrate a timeout occurs as mentioned in issue 4360 reported by the employee vinnyaju. I await good news. Note: Open this new issue as a way to get the attention of the community by the time the issue 4360 is open. "2019/01/21 09:32:41 [...itea/routers/init.go:61 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: Drop table `issue` columns [assignee_id]: mssql: ALTER TABLE DROP COLUMN assignee_id failed because one or more objects access this column." Thank you! ## Screenshots ![capturar](https://user-images.githubusercontent.com/6736940/51476718-7dc1bb80-1d6d-11e9-8756-8a2d5ec3de88.PNG)
GiteaMirror added the issue/duplicate label 2025-11-02 04:48:28 -06:00
Author
Owner

@lunny commented on GitHub (Jan 21, 2019):

duplicated with #4360

@lunny commented on GitHub (Jan 21, 2019): duplicated with #4360
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2787