MIGRATE 1.1.4 => 2.1 #1156

Closed
opened 2025-11-02 03:50:25 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @tofulm on GitHub (Oct 16, 2017).

hello, I tried to migrate gitea 1.1.4 to 1.2.1. I have this mistake

  • Gitea version (or commit ref): 1.2.1

  • Operating system: debian 8

  • Database (use [x]):

    • PostgreSQL
    • [ x ] MySQL
    • MSSQL
    • SQLite
  • Log gist:
    [...itea/routers/init.go:56 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: DROP COLUMN a ct_user_name: Error 1091: Can't DROP 'act_user_name'; check that column/key exists

Originally created by @tofulm on GitHub (Oct 16, 2017). hello, I tried to migrate gitea 1.1.4 to 1.2.1. I have this mistake - Gitea version (or commit ref): 1.2.1 - Operating system: debian 8 - Database (use `[x]`): - [ ] PostgreSQL - [ x ] MySQL - [ ] MSSQL - [ ] SQLite - Log gist: [...itea/routers/init.go:56 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: DROP COLUMN a ct_user_name: Error 1091: Can't DROP 'act_user_name'; check that column/key exists
Author
Owner

@tofulm commented on GitHub (Oct 16, 2017):

I have migrated to 1.1.4 then back to 1.2.1 and migration is ok

@tofulm commented on GitHub (Oct 16, 2017): I have migrated to 1.1.4 then back to 1.2.1 and migration is ok
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1156