Database version check: Could not complete operation in a failed transaction

I am getting the following error when trying to start the satellite:

storj_satellite_1       | 2020-02-23T23:54:33.418Z	FATAL	satellite/main.go:259	failed satellite database version check: validate db version query error: migrate: pq: Could not complete operation in a failed transaction
storj_satellite_1       | main.cmdRun
storj_satellite_1       | 	/go/src/storj.io/storj/cmd/satellite/main.go:259
storj_satellite_1       | storj.io/storj/pkg/process.cleanup.func1.2
storj_satellite_1       | 	/go/src/storj.io/storj/pkg/process/exec_conf.go:307
storj_satellite_1       | storj.io/storj/pkg/process.cleanup.func1
storj_satellite_1       | 	/go/src/storj.io/storj/pkg/process/exec_conf.go:325
storj_satellite_1       | github.com/spf13/cobra.(*Command).execute
storj_satellite_1       | 	/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826
storj_satellite_1       | github.com/spf13/cobra.(*Command).ExecuteC
storj_satellite_1       | 	/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914
storj_satellite_1       | github.com/spf13/cobra.(*Command).Execute
storj_satellite_1       | 	/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
storj_satellite_1       | storj.io/storj/pkg/process.ExecWithCustomConfig
storj_satellite_1       | 	/go/src/storj.io/storj/pkg/process/exec_conf.go:84
storj_satellite_1       | storj.io/storj/pkg/process.ExecCustomDebug
storj_satellite_1       | 	/go/src/storj.io/storj/pkg/process/exec_conf.go:66
storj_satellite_1       | main.main
storj_satellite_1       | 	/go/src/storj.io/storj/cmd/satellite/main.go:455
storj_satellite_1       | runtime.main
storj_satellite_1       | 	/usr/local/go/src/runtime/proc.go:203

I am using the storjlabs/satellite:latest docker image with a slightly modified config file (entered database addresses etc).

I was told to ask for help here instead of creating a github issue, because apparently this “works as expected”.