gpt4 book ai didi

git - 尝试备份 Gitlab 时出错

转载 作者:太空狗 更新时间:2023-10-29 14:22:56 25 4
gpt4 key购买 nike

当我尝试使用命令在我的服务器上备份我的 Gitlab 实例时

gitlab-ci-rake backup:create

我收到以下错误:

/usr/bin/gitlab-ci-rake error: could not load /opt/gitlab/etc/gitlab-ci/gitlab-ci-rc
Either you are not allowed to read the file, or it does not exist yet.
You can generate it with: sudo gitlab-ctl reconfigure

所以我尝试了 reconfigure 命令,但没有任何更改。

有人知道我该如何解决这个问题吗?或者有没有其他方法可以在没有此命令的情况下进行备份?

提前致谢。

最佳答案

我遇到了一些问题,当我以 root 身份备份并显示此错误时。

所以我将登录更改为另一个用户(不是root)并成功备份

关于git - 尝试备份 Gitlab 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33719687/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com