[GH-ISSUE #1128] [Bug] 新装v0.4.11出现报错 #760

Closed
opened 2026-03-03 01:05:47 +03:00 by kerem · 1 comment
Owner

Originally created by @SwissRollC on GitHub (Dec 27, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/1128

Release Version / 软件版本

v0.4.11

Description / 缺陷描述

新装0.4.11出现报错,新装0.4.10无错误,先安装0.4.10初始化数据库,再升级0.4.11无错误

Steps to reproduce / 复现步骤

任意新目录做data的映射安装最新版本,就会出现

Logs / 日志

INFO [CERTIMATE] migration v0.4.11: go ...
Error: failed to apply migration 1766592000_upgrade_v0.4.11.go: sql: no rows in result set

Miscellaneous / 其他

No response

Contribution / 贡献代码

  • I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR!
Originally created by @SwissRollC on GitHub (Dec 27, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/1128 ### Release Version / 软件版本 v0.4.11 ### Description / 缺陷描述 新装0.4.11出现报错,新装0.4.10无错误,先安装0.4.10初始化数据库,再升级0.4.11无错误 ### Steps to reproduce / 复现步骤 任意新目录做data的映射安装最新版本,就会出现 ### Logs / 日志 ``` INFO [CERTIMATE] migration v0.4.11: go ... Error: failed to apply migration 1766592000_upgrade_v0.4.11.go: sql: no rows in result set ``` ### Miscellaneous / 其他 _No response_ ### Contribution / 贡献代码 - [ ] I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR!
kerem 2026-03-03 01:05:47 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@snakexgc commented on GitHub (Dec 27, 2025):

使用docker compose进行全新部署的时候,同样遇到了这个问题。
直接使用官网的docker部署方式进行部署即可复现

  certimate:
    image: certimate/certimate:latest

错误日志:

2025/12/27 18:45:32 INFO [CERTIMATE] migration v0.4.11: go ...
Error: failed to apply migration 1766592000_upgrade_v0.4.11.go: sql: no rows in result set
<!-- gh-comment-id:3693899297 --> @snakexgc commented on GitHub (Dec 27, 2025): 使用docker compose进行全新部署的时候,同样遇到了这个问题。 直接使用官网的docker部署方式进行部署即可复现 ``` certimate: image: certimate/certimate:latest ``` 错误日志: ``` 2025/12/27 18:45:32 INFO [CERTIMATE] migration v0.4.11: go ... Error: failed to apply migration 1766592000_upgrade_v0.4.11.go: sql: no rows in result set ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#760
No description provided.