mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #901] [Bug] 二进制文件部署时无法正确创建 pb_data #614
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#614
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Inflorescentia on GitHub (Aug 2, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/901
软件版本 / Release Version
v0.3.25
缺陷描述 / Description
依照 FHS 部署二进制文件后启动失败。看起来是因为
pb_data没有创建在工作目录。详见复现步骤。复现步骤 / Steps to reproduce
/usr/local/bin/下certimate.servicesudo systemctl start certimate.serviceERROR [CERTIMATE] Start failed. err="mkdir /usr/local/bin/pb_data: permission denied"日志 / Logs
No response
其他 / Miscellaneous
No response
贡献 / Contribution
@Inflorescentia commented on GitHub (Aug 3, 2025):
已提交 PR
@usual2970 commented on GitHub (Aug 4, 2025):
@Inflorescentia commented on GitHub (Aug 4, 2025):
/usr/local/bin/certimate下创建目录存放数数据是不推荐的做法。--dir /var/lib/certimate/pb_data,但会报错flag provided but not defined: -dir。不过我的需求很小众,就不重开了
@tbc0309 commented on GitHub (Oct 27, 2025):
正确格式:./certimate --dir=/volume1/pb_data --http=0.0.0.0:8191 serve