bitbucket-git push,clone,pull got error 500

问题描述 投票:0回答:1

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

我无法进行推,克隆,拉...什么也没有。

当我单击位存储桶上的任何存储库时,出现错误500,如图所示。

我该怎么做才能解决此问题?

The error I got in bitbucket

git bitbucket bitbucket-server http-status-code-500
1个回答
0
投票

错误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

然后您可以查看尝试访问该存储库时发生的情况。

© www.soinside.com 2019 - 2024. All rights reserved.