gpt4 book ai didi

git - bitbucket - git push、clone、pull 出现错误 500

转载 作者:行者123 更新时间:2023-12-04 10:37:05 24 4
gpt4 key购买 nike

我的 git 服务器在独立网络上。昨天我增加了我的服务器空间,之后我无法访问 bitbucket 中的文件。

我不能做推,克隆, pull ......什么都没有。

当我点击位桶上的任何存储库时,我收到错误 500,如图所示。

我能做些什么来解决这个问题?

The error I got in bitbucket

最佳答案

错误 500 表示服务器端出现错误。

您需要inspect your BitBucket server logs ,假设您已在 <Bitbucket home directory>/shared/bitbucket.properties 中激活所述日志

logging.logger.ROOT=DEBUG
logging.logger.com.atlassian.bitbucket=DEBUG

或者,在运行时:
curl -u <ADMIN_USERNAME> -v -X PUT -d "" -H "Content-Type: application/json" <BASE_URL>/rest/api/latest/logs/rootLogger/debug
curl -u <ADMIN_USERNAME> -v -X PUT -d "" -H "Content-Type: application/json" <BASE_URL>/rest/api/latest/logs/logger/com.atlassian.bitbucket/debug

然后,当您尝试访问该存储库时,您可以看到发生了什么。

关于git - bitbucket - git push、clone、pull 出现错误 500,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60124761/

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