woodpecker-ci / woodpecker

Woodpecker is a simple, yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
4.28k stars 369 forks source link

woodpecker server docker image will not start after pulling latest #4333

Closed pixielark closed 1 week ago

pixielark commented 1 week ago

Component

server

Describe the bug

woodpecker server docker image will not start after pulling latest showing erro

2024-11-06T18:53:01Z INF log level: info 

2024-11-06T18:53:01Z ERR migration step 'create-table-users' missing, please upgrade to last stable v0.14.x version first 

2024-11-06T18:53:01Z ERR error running server | error=can't setup store: could not migrate datastore: migration xorm failed: legacy migration step missing

Steps to reproduce

update woodpecker server docker from previou 2.7.2 release

Expected behavior

server should start

System Info

v2.7.3

Additional context

No response

Validations

zc-devs commented 1 week ago

If you try to downgrade from next (#4323), then it won't work. Recover database from backup (2.7) or live with next version (with 3.0 eventually).

pixielark commented 1 week ago

I see, thanks for the explaination I will for now stick with next, was forced to update agent to next due to the grpc mismatch issue but wasn't aware that agent modified DB