Skip to content

Problem: panic after upgrade from 2.15.0 to 2.16.10 #3203

@sas1024

Description

@sas1024

Issue

I've running Semaphore UI v2.15.0 in Docker.

After upgrading Semaphore UI to v2.16.10 all DB migrations was completed successfully, but then Semaphore fail to start with errors.

Impact

Docker

Installation method

Docker

Database

Postgres

Browser

Chrome

Semaphore Version

v2.16.10

Ansible Version

Logs & errors

Starting semaphore server
panic: cannot assign value of type string to map element of type ["-u semaphore -b"]

goroutine 1 [running]:
github.com/semaphoreui/semaphore/cli/cmd.createStoreWithMigrationVersion({0xfd8d3e, 0x4}, 0x0, 0x0)
	/go/src/semaphore/cli/cmd/root.go:243 +0xd7
github.com/semaphoreui/semaphore/cli/cmd.createStore(...)
	/go/src/semaphore/cli/cmd/root.go:252
github.com/semaphoreui/semaphore/cli/cmd.runService()
	/go/src/semaphore/cli/cmd/root.go:74 +0x45
github.com/semaphoreui/semaphore/cli/cmd.init.func9(0xc000133000?, {0xfd8d7e?, 0x4?, 0xfd8d82?})
	/go/src/semaphore/cli/cmd/server.go:18 +0xf
github.com/spf13/cobra.(*Command).execute(0x3063f60, {0xc00011ea20, 0x2, 0x2})
	/go/src/semaphore/vendor/github.com/spf13/cobra/command.go:1019 +0xa91
github.com/spf13/cobra.(*Command).ExecuteC(0x3062ee0)
	/go/src/semaphore/vendor/github.com/spf13/cobra/command.go:1148 +0x46f
github.com/spf13/cobra.(*Command).Execute(...)
	/go/src/semaphore/vendor/github.com/spf13/cobra/command.go:1071
github.com/semaphoreui/semaphore/cli/cmd.Execute()
	/go/src/semaphore/cli/cmd/root.go:67 +0xc5
main.main()
	/go/src/semaphore/cli/main.go:8 +0xf

Manual installation - system information

No response

Configuration

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions