woodpecker/cmd/server
6543 f02789c74a
Fix bug where db file is posible moved outside of docker volume (#496)
#494 introduced a bug, where a migration function can remove the sqlite3 file outside of the mounted docker volume.
that would result in a data lose after a container recreate.

this fix it by only rename the file if in same folder else just use the old path as fallback and put warnings into the log

Co-authored-by: Anbraten <anton@ju60.de>
2021-10-30 14:53:24 +02:00
..
flags.go Change paths to use woodpecker instead of drone (#494) 2021-10-28 14:02:43 -05:00
main.go Upgrade urfave/cli to v2 (#483) 2021-10-27 21:03:14 +02:00
server.go Upgrade urfave/cli to v2 (#483) 2021-10-27 21:03:14 +02:00
setup.go Fix bug where db file is posible moved outside of docker volume (#496) 2021-10-30 14:53:24 +02:00