Drone1.0.0-rc.1 error: cannot find user: no such column: user_machine

Hi,I use docker to deploy drone 1.0.0-rc.1 + gogs. However, there were some errors when logging in with the gogs account. I don’t know how to solve it. I want to know some configuration about drone 1.0.0-rc.1 + gogs. I think the official documentation is not detailed enough.

{"level":"error","login":"my-account","msg":"cannot find user: no such column: user_machine","time":"2018-11-19T16:06:39Z"}

did you try to upgrade an old 0.8 instance? the databases are not currently compatible, so you should not upgrade an existing database until a migration utility is available. More details here: https://readme.drone.io/releases/1.0.0-rc.1/#upgrading-important

No. . . I deployed the drone for the first time. I found the documentation on the docker deployment drone&gogs not detailed enough, which caused me to take a long time to troubleshoot the error.

I am sorry that my English is very poor.

I have the same problem, and would like to understand what my options are (I have a database from a 0.8 instance).

The link you suggested, https://readme.drone.io/releases/1.0.0-rc.1/#upgrading-important seems to be broken.

Is there some upgrade tool already? Or would I need to stay with Drone 0.8 if I want to keep that database?

Thank you!

Ok – I found the migration tool here: https://github.com/drone/drone-migrate/blob/master/README.md

I would be nice if the documentation had a reference to it.

Also, in the instructions for the migration tool it is not mentioned that I’d need to create the database first (I had to, using PostgreSQL).