-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
备份失败 #4637
Labels
triage/needs-information
Indicates an issue needs more information in order to work on it.
Comments
/triage needs-information 请提供日志以供判断。 |
f2c-ci-robot
bot
added
the
triage/needs-information
Indicates an issue needs more information in order to work on it.
label
Sep 20, 2023
需要把鼠标悬停在红色原点上,看看具体的错误信息。 |
@jiahe-tan-u 目测是 Halo 的工作目录 Nginx 相关的目录导致无法备份。我建议:
version: "3"
services:
halo:
image: halohub/halo:2.9
container_name: halo
restart: on-failure:3
depends_on:
halodb:
condition: service_healthy
networks:
halo_network:
volumes:
- - ./:/root/.halo2
+ - ./halo2:/root/.halo2 |
感谢回答,已经不考虑这个问题了 |
/close |
@ruibaby: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
f2c-ci-robot bot
pushed a commit
to halo-dev/docs
that referenced
this issue
Sep 27, 2023
#### What this PR does / why we need it: 目前 Halo 容器挂载目录配置 `./:/root/.halo2` 容易让用户无意在 Halo 工作目录添加一些其他无关目录,例如:Nginx 也挂载到当前目录。这可能会导致无法正常使用备份功能。目前也无法预知未来可能会发生什么样的错误。 #### Which issue(s) this PR fixes: Fixes halo-dev/halo#4637 #### Does this PR introduce a user-facing change? ```release-note 修改 Halo 容器工作目录挂载目标目录为 ./halo2 ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
是什么版本出现了此问题?
2.9
使用的什么数据库?
MySQL 8.x
使用的哪种方式部署?
Docker Compose
在线站点地址
No response
发生了什么?
点击创建备份备份失败
相关日志输出
No response
附加信息
The text was updated successfully, but these errors were encountered: