New issue
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
notifiers hard crash with traceback #269
Comments
Interestingly, I'm on the latest version, not the version listed here. ~ statping update 2 [12:01:49]
root @ netops in ~ 0 [12:06:03] |
Looks like update nor the one-liner install script update statping so I did it manually. Problem remains. ~ statping -p 9876 130 [12:09:58] goroutine 36 [running]: |
Here is a sanitized version (removed user, removed telegram code) dump of my database. I authorize all the devs to use the information inside for testing. The password to the file is "traceback". The link will expire on 2 March. https://e.pcloud.link/publink/show?code=XZONveZHyEtVybJkUzdoC3jDcNhKfpHnavk |
~ statping -p 9876 3 [12:01:33]INFO[0000] Starting Statping v0.90.74 type=cmd
INFO[0000] Attempting to read config file at: /root/config.yml type=configs
INFO[0000] Database mysql connection was successful. type=configs
INFO[0000] Migrating Database Tables... type=configs
INFO[0000] Migrating App to version: 0.90.74 (2352cae) type=configs
INFO[0000] Statping Database Tables Migrated type=configs
INFO[0000] Database Indexes Created type=configs
INFO[0000] Error Reporting initiated, thank you!
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0xb85da3]
goroutine 8 [running]:
github.com/statping/statping/types/services.UpdateNotifiers()
/source/types/services/notifications.go:17 +0xa3
github.com/statping/statping/notifiers.InitNotifiers()
/source/notifiers/notifiers.go:43 +0x1d7
main.InitApp(0x21fde20, 0xc000403580)
/source/cmd/main.go:156 +0x5b
main.mainProcess(0xc00000c3c0, 0x0)
/source/cmd/main.go:130 +0x28
main.start()
/source/cmd/main.go:115 +0x33e
main.glob..func1(0x2fda620, 0xc0002eb480, 0x0, 0x2)
/source/cmd/commands.go:19 +0x25
github.com/spf13/cobra.(*Command).execute(0x2fda620, 0xc0000aa160, 0x2, 0x2, 0x2fda620, 0xc0000aa160)
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:846 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0x2fda620, 0xc00009e0c0, 0x0, 0x0)
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887
main.Execute()
/source/cmd/commands.go:204 +0x2f
created by main.main
/source/cmd/main.go:67 +0x37
The text was updated successfully, but these errors were encountered: