We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading from version semaphore:v2.12.11-ansible2.16.5 to semaphore:v2.12.12-ansible2.16.5 is panic
OS: AME="Ubuntu" VERSION_ID="24.04" VERSION="24.04 LTS (Noble Numbat)"
KERNEL: 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
POD ENV: containers: - env: - name: SEMAPHORE_DB_DIALECT value: "bolt" - name: SEMAPHORE_ADMIN value: "admin" - name: SEMAPHORE_ADMIN_PASSWORD value: "admin" - name: SEMAPHORE_ADMIN_NAME value: Admin - name: SEMAPHORE_ADMIN_EMAIL value: admin@localhost image: semaphoreui/semaphore:v2.12.12-ansible2.16.5
ERROR: Generating setup file ... Executing semaphore setup
Hello! You will now be guided through a setup to:
What database to use: 1 - MySQL 2 - BoltDB 3 - PostgreSQL (default 1): db filename (default /home/semaphore/database.boltdb): Playbook path (default /tmp/semaphore): Public URL (optional, example: https://example.com/semaphore): Enable email alerts? (yes/no) (default no): Enable telegram alerts? (yes/no) (default no): Enable slack alerts? (yes/no) (default no): Enable Rocket.Chat alerts? (yes/no) (default no): Enable Microsoft Team Channel alerts? (yes/no) (default no): Enable LDAP authentication? (yes/no) (default no): Config output directory (default /home/semaphore): Running: mkdir -p /etc/semaphore.. Configuration written to /etc/semaphore/config.json.. Loading config Validating config Pinging db.. panic: timeout panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x1b8 pc=0xaa2f07]
goroutine 1 [running]: go.etcd.io/bbolt.(*DB).Close(0x0) /go/src/semaphore/vendor/go.etcd.io/bbolt/db.go:647 +0x47 github.com/semaphoreui/semaphore/db/bolt.(*BoltDb).Close(0xc0001af808, {0xcdbc83, 0x5}) /go/src/semaphore/db/bolt/BoltDb.go:181 +0x4d panic({0xbee560?, 0x1fe17d0?}) /usr/local/go/src/runtime/panic.go:770 +0x132 github.com/semaphoreui/semaphore/db/bolt.(*BoltDb).openDbFile(0xc0001af808) /go/src/semaphore/db/bolt/BoltDb.go:119 +0x1ab github.com/semaphoreui/semaphore/db/bolt.(*BoltDb).Connect(0xc0001af808, {0xcdbc83, 0x5}) /go/src/semaphore/db/bolt/BoltDb.go:148 +0x33 github.com/semaphoreui/semaphore/cli/cmd.doSetup() /go/src/semaphore/cli/cmd/setup.go:43 +0x16f github.com/semaphoreui/semaphore/cli/cmd.init.func10(0xc000181300?, {0xcdb7cb?, 0x4?, 0xcdb7cf?}) /go/src/semaphore/cli/cmd/setup.go:24 +0xf github.com/spf13/cobra.(*Command).execute(0x1ff84a0, {0xc000043700, 0x1, 0x1}) /go/src/semaphore/vendor/github.com/spf13/cobra/command.go:989 +0xab1 github.com/spf13/cobra.(*Command).ExecuteC(0x1ff7080) /go/src/semaphore/vendor/github.com/spf13/cobra/command.go:1117 +0x3ff github.com/spf13/cobra.(*Command).Execute(...) /go/src/semaphore/vendor/github.com/spf13/cobra/command.go:1041 github.com/semaphoreui/semaphore/cli/cmd.Execute() /go/src/semaphore/cli/cmd/root.go:57 +0xc5 main.main() /go/src/semaphore/cli/main.go:8 +0xf
Service (scheduled tasks, alerts), Other
Docker
BoltDB
No response
semaphore:v2.12.11-ansible2.16.5 to semaphore:v2.12.12-ansible2.16.5
The text was updated successfully, but these errors were encountered:
fiftin
No branches or pull requests
Issue
Upgrading from version semaphore:v2.12.11-ansible2.16.5 to semaphore:v2.12.12-ansible2.16.5 is panic
OS:
AME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
KERNEL:
6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
POD ENV:
containers:
- env:
- name: SEMAPHORE_DB_DIALECT
value: "bolt"
- name: SEMAPHORE_ADMIN
value: "admin"
- name: SEMAPHORE_ADMIN_PASSWORD
value: "admin"
- name: SEMAPHORE_ADMIN_NAME
value: Admin
- name: SEMAPHORE_ADMIN_EMAIL
value: admin@localhost
image: semaphoreui/semaphore:v2.12.12-ansible2.16.5
ERROR:
Generating setup file ...
Executing semaphore setup
Hello! You will now be guided through a setup to:
What database to use:
1 - MySQL
2 - BoltDB
3 - PostgreSQL
(default 1):
db filename (default /home/semaphore/database.boltdb):
Playbook path (default /tmp/semaphore):
Public URL (optional, example: https://example.com/semaphore):
Enable email alerts? (yes/no) (default no):
Enable telegram alerts? (yes/no) (default no):
Enable slack alerts? (yes/no) (default no):
Enable Rocket.Chat alerts? (yes/no) (default no):
Enable Microsoft Team Channel alerts? (yes/no) (default no):
Enable LDAP authentication? (yes/no) (default no):
Config output directory (default /home/semaphore):
Running: mkdir -p /etc/semaphore..
Configuration written to /etc/semaphore/config.json..
Loading config
Validating config
Pinging db..
panic: timeout
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1b8 pc=0xaa2f07]
goroutine 1 [running]:
go.etcd.io/bbolt.(*DB).Close(0x0)
/go/src/semaphore/vendor/go.etcd.io/bbolt/db.go:647 +0x47
github.com/semaphoreui/semaphore/db/bolt.(*BoltDb).Close(0xc0001af808, {0xcdbc83, 0x5})
/go/src/semaphore/db/bolt/BoltDb.go:181 +0x4d
panic({0xbee560?, 0x1fe17d0?})
/usr/local/go/src/runtime/panic.go:770 +0x132
github.com/semaphoreui/semaphore/db/bolt.(*BoltDb).openDbFile(0xc0001af808)
/go/src/semaphore/db/bolt/BoltDb.go:119 +0x1ab
github.com/semaphoreui/semaphore/db/bolt.(*BoltDb).Connect(0xc0001af808, {0xcdbc83, 0x5})
/go/src/semaphore/db/bolt/BoltDb.go:148 +0x33
github.com/semaphoreui/semaphore/cli/cmd.doSetup()
/go/src/semaphore/cli/cmd/setup.go:43 +0x16f
github.com/semaphoreui/semaphore/cli/cmd.init.func10(0xc000181300?, {0xcdb7cb?, 0x4?, 0xcdb7cf?})
/go/src/semaphore/cli/cmd/setup.go:24 +0xf
github.com/spf13/cobra.(*Command).execute(0x1ff84a0, {0xc000043700, 0x1, 0x1})
/go/src/semaphore/vendor/github.com/spf13/cobra/command.go:989 +0xab1
github.com/spf13/cobra.(*Command).ExecuteC(0x1ff7080)
/go/src/semaphore/vendor/github.com/spf13/cobra/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
/go/src/semaphore/vendor/github.com/spf13/cobra/command.go:1041
github.com/semaphoreui/semaphore/cli/cmd.Execute()
/go/src/semaphore/cli/cmd/root.go:57 +0xc5
main.main()
/go/src/semaphore/cli/main.go:8 +0xf
Impact
Service (scheduled tasks, alerts), Other
Installation method
Docker
Database
BoltDB
Browser
No response
Semaphore Version
semaphore:v2.12.11-ansible2.16.5 to semaphore:v2.12.12-ansible2.16.5
Ansible Version
Logs & errors
No response
Manual installation - system information
No response
Configuration
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: