Replies: 1 comment
-
|
can you fix this error? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
reinstall for v7 (latest) gave me Database initialization error: unknown database type: "file:storages/whatsapp.db?_foreign_keys=on".
I'm on Armbian 23.05, Docker version 28.2.2, build e6534b4
Reproduction Steps
docker psshows the container keep restartingLog Output

whatsapp_go_1 | map[]
whatsapp_go_1 | 05:54:51.897 [Main ERROR] Database initialization error: unknown database type: "file:storages/whatsapp.db?_foreign_keys=on". Currently only sqlite3(file:) and postgres are supported
whatsapp_go_1 | panic: Database initialization error: unknown database type: "file:storages/whatsapp.db?_foreign_keys=on". Currently only sqlite3(file:) and postgres are supported
whatsapp_go_1 |
whatsapp_go_1 | goroutine 1 [running]:
whatsapp_go_1 | github.com/aldinokemal/go-whatsapp-web-multidevice/infrastructure/whatsapp.InitWaDB({0x1388d60, 0x1ca7be0})
whatsapp_go_1 | /whatsapp/infrastructure/whatsapp/init.go:63 +0x214
whatsapp_go_1 | github.com/aldinokemal/go-whatsapp-web-multidevice/cmd.initApp()
whatsapp_go_1 | /whatsapp/cmd/root.go:210 +0x128
whatsapp_go_1 | github.com/spf13/cobra.(*Command).preRun(...)
whatsapp_go_1 | /go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1049
whatsapp_go_1 | github.com/spf13/cobra.(*Command).execute(0x1b41240, {0x1ca7be0, 0x0, 0x0})
whatsapp_go_1 | /go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:959 +0x434
whatsapp_go_1 | github.com/spf13/cobra.(*Command).ExecuteC(0x1b41500)
whatsapp_go_1 | /go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1148 +0x384
whatsapp_go_1 | github.com/spf13/cobra.(*Command).Execute(...)
whatsapp_go_1 | /go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1071
whatsapp_go_1 | github.com/aldinokemal/go-whatsapp-web-multidevice/cmd.Execute({0x1b66868?}, {0x40000021c0?})
whatsapp_go_1 | /whatsapp/cmd/root.go:226 +0x64
whatsapp_go_1 | main.main()
whatsapp_go_1 | /whatsapp/main.go:15 +0x2c
Beta Was this translation helpful? Give feedback.
All reactions