Skip to content

Database is locked #3

@sfoxdev

Description

@sfoxdev

Can't start application

GO111MODULE=on go run main.go
GoAdmin is now running.
Running in "debug" mode. Switch to "release" mode in production.

panic: database is locked

goroutine 1 [running]:
github.com/GoAdminGroup/go-admin/plugins/admin/models.SiteModel.Init(0x117241c, 0xc, 0x162a660, 0xc0002040e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /root/go/pkg/mod/github.com/!go!admin!group/go-admin@v1.2.14/plugins/admin/models/site.go:60 +0x505
github.com/GoAdminGroup/go-admin/engine.(*Engine).Use(0xc000467480, 0x11571e0, 0xc000492140, 0xc0004cdb68, 0x1)
        /root/go/pkg/mod/github.com/!go!admin!group/go-admin@v1.2.14/engine/engine.go:77 +0x2e6
main.main()
        /test/filemanager/example/main.go:63 +0x785
exit status 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions