Skip to content

运行一段时间后docker自动停止,提示数据库模式版本与服务器版本不匹配。请考虑回滚到之前的服务器版本或解决数据库迁移问题。这咋解决? #34

@sarsmark-git

Description

@sarsmark-git

2025/07/30 12:59PM INF github.com/portainer/portainer/api/cmd/portainer/main.go:310 > encryption key file not present | filename=portainer
2025/07/30 12:59PM INF github.com/portainer/portainer/api/cmd/portainer/main.go:334 > proceeding without encryption key |
2025/07/30 12:59PM INF github.com/portainer/portainer/api/database/boltdb/db.go:133 > loading PortainerDB | filename=portainer.db
2025/07/30 12:59PM FTL github.com/portainer/portainer/api/cmd/portainer/main.go:345 > The database schema version does not align with the server version. Please consider reverting to the previous server version or addressing the database migration issue. |
2025/07/30 01:00PM INF github.com/portainer/portainer/api/cmd/portainer/main.go:310 > encryption key file not present | filename=portainer
2025/07/30 01:00PM INF github.com/portainer/portainer/api/cmd/portainer/main.go:334 > proceeding without encryption key |
2025/07/30 01:00PM INF github.com/portainer/portainer/api/database/boltdb/db.go:133 > loading PortainerDB | filename=portainer.db
2025/07/30 01:00PM FTL github.com/portainer/portainer/api/cmd/portainer/main.go:345 > The database schema version does not align with the server version. Please consider reverting to the previous server version or addressing the database migration issue. |
2025/07/30 01:40PM INF github.com/portainer/portainer/api/cmd/portainer/main.go:310 > encryption key file not present | filename=portainer
2025/07/30 01:40PM INF github.com/portainer/portainer/api/cmd/portainer/main.go:334 > proceeding without encryption key |
2025/07/30 01:40PM INF github.com/portainer/portainer/api/database/boltdb/db.go:133 > loading PortainerDB | filename=portainer.db
2025/07/30 01:40PM FTL github.com/portainer/portainer/api/cmd/portainer/main.go:345 > The database schema version does not align with the server version. Please consider reverting to the previous server version or addressing the database migration issue. |

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions