Upgrade failed from 1.0.1 to 1.4.1 #1766

Closed
opened 2025-11-02 04:12:40 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @misterpoesy on GitHub (May 8, 2018).

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

Description

I want to upgrade from 1.0.1 to the latest(1.4.1), and many repositories in use now. I just download the 'gitea-1.4.1-windows-4.0-amd64.exe' and run in gitea folder. It exit and error logs shown as below:

`2018/05/08 17:08:11 [I] Log Mode: File(Info)
2018/05/08 17:08:11 [I] XORM Log Mode: File(Info)
2018/05/08 17:08:11 [I] Cache Service Enabled
2018/05/08 17:08:11 [I] Session Service Enabled
2018/05/08 17:08:11 [I] Mail Service Enabled
2018/05/08 17:08:11 [I] Migration: use new avatar path name for security reason
2018/05/08 17:08:11 [W] ignore avatar 01f07ce8fd534b19284c34bfae34538a rename: strconv.ParseInt: parsing "01f07ce8fd534b19284c34bfae34538a": invalid syntax
2018/05/08 17:08:11 [W] ignore avatar 0283b0742248498f786d0a333e8b52ae rename: strconv.ParseInt: parsing "0283b0742248498f786d0a333e8b52ae": invalid syntax
......
2018/05/08 17:08:11 [W] ignore avatar 046adc086fa4b14734da8b50dbdd033f rename: strconv.ParseInt: parsing "046adc086fa4b14734da8b50dbdd033f": invalid syntax

2018/05/08 17:08:11 [...itea/routers/init.go:60 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: Avatar user is not exist
`

Screenshots

Originally created by @misterpoesy on GitHub (May 8, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): - Git version: 2.11 - Operating system: Windows 2008 R2 - Database (use `[x]`): - [ ] PostgreSQL - [ x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ x] Not relevant - Log gist: ## Description I want to upgrade from 1.0.1 to the latest(1.4.1), and many repositories in use now. I just download the 'gitea-1.4.1-windows-4.0-amd64.exe' and run in gitea folder. It exit and error logs shown as below: `2018/05/08 17:08:11 [I] Log Mode: File(Info) 2018/05/08 17:08:11 [I] XORM Log Mode: File(Info) 2018/05/08 17:08:11 [I] Cache Service Enabled 2018/05/08 17:08:11 [I] Session Service Enabled 2018/05/08 17:08:11 [I] Mail Service Enabled 2018/05/08 17:08:11 [I] Migration: use new avatar path name for security reason 2018/05/08 17:08:11 [W] ignore avatar 01f07ce8fd534b19284c34bfae34538a rename: strconv.ParseInt: parsing "01f07ce8fd534b19284c34bfae34538a": invalid syntax 2018/05/08 17:08:11 [W] ignore avatar 0283b0742248498f786d0a333e8b52ae rename: strconv.ParseInt: parsing "0283b0742248498f786d0a333e8b52ae": invalid syntax ...... 2018/05/08 17:08:11 [W] ignore avatar 046adc086fa4b14734da8b50dbdd033f rename: strconv.ParseInt: parsing "046adc086fa4b14734da8b50dbdd033f": invalid syntax **2018/05/08 17:08:11 [...itea/routers/init.go:60 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: Avatar user is not exist** ` ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/question label 2025-11-02 04:12:40 -06:00
Author
Owner

@daviian commented on GitHub (May 8, 2018):

@misterpoesy Looks like you already did that migration some time ago!? Otherwise the avatar name would be an integer.

@daviian commented on GitHub (May 8, 2018): @misterpoesy Looks like you already did that migration some time ago!? Otherwise the avatar name would be an integer.
Author
Owner

@misterpoesy commented on GitHub (May 9, 2018):

@daviian I sovled my problem refer to #1794,upgrade from 1.0.1 -> 1.2 -> 1.3 -> 1.4. (┬_┬)

@misterpoesy commented on GitHub (May 9, 2018): @daviian I sovled my problem refer to #1794,upgrade from 1.0.1 -> 1.2 -> 1.3 -> 1.4. (┬_┬)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1766