Skip to content

My new problem after updating Ubuntu to 17.04 #1496

Closed
@Lourens-Rich

Description

@Lourens-Rich

I decided to update my instance and Golang environment. Used this commit: 237270e

./gitea web
2017/04/16 00:15:10 [T] Custom path: /home/git/go/src/code.gitea.io/gitea/custom
2017/04/16 00:15:10 [T] Log path: /home/git/go/src/github.com/gogits/gogs/log
2017/04/16 00:15:10 [I] Gitea v1.1.0+dev
{0 0} &{version migrations.Version [id version] map[id:[0xc4202de600] version:[0xc4202de6c0]] [0xc4202de600 0xc4202de6c0] map[] [id] id map[]    <nil>  } <nil>
cat ~/go/src/github.com/gogits/gogs/log/gitea.log 
2017/04/16 00:16:59 [I] Log Mode: File(Info)
2017/04/16 00:16:59 [I] XORM Log Mode: File(Info)
2017/04/16 00:16:59 [I] Cache Service Enabled
2017/04/16 00:16:59 [I] Session Service Enabled
2017/04/16 00:16:59 [I] Migration: change mirror interval from hours to time.Duration
2017/04/16 00:16:59 [...itea/routers/init.go:54 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: update mirror interval failed: Error 1264: Out of range value for column 'interval' at row 1
cat ~/go/src/github.com/gogits/gogs/log/xorm.log
2017/04/16 00:16:59 [I] PING DATABASE mysql
2017/04/16 00:16:59 [I] [SQL] SELECT `TABLE_NAME` from `INFORMATION_SCHEMA`.`TABLES` WHERE `TABLE_SCHEMA`=? and `TABLE_NAME`=? [gogs version]
2017/04/16 00:16:59 [I][sql]SELECT `COLUMN_NAME` FROM `INFORMATION_SCHEMA`.`COLUMNS` WHERE `TABLE_SCHEMA` = ? AND `TABLE_NAME` = ? AND `COLUMN_NAME` = ?[gogs version id]
2017/04/16 00:16:59 [I][sql]SELECT `COLUMN_NAME` FROM `INFORMATION_SCHEMA`.`COLUMNS` WHERE `TABLE_SCHEMA` = ? AND `TABLE_NAME` = ? AND `COLUMN_NAME` = ?[gogs version version]
2017/04/16 00:16:59 [I] [SQL] SELECT `id`, `version` FROM `version` WHERE `id`=? LIMIT 1 [1]
2017/04/16 00:16:59 [I] [SQL] BEGIN TRANSACTION
2017/04/16 00:16:59 [I] [SQL] SELECT * FROM `mirror`
2017/04/16 00:16:59 [I] [SQL] UPDATE `mirror` SET `interval` = ? WHERE `id`=? [8h0m0s 1]
2017/04/16 00:16:59 [I] [SQL] ROLL BACK

Sorry, could you help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions