我的git服务器位于独立网络上。昨天我增加了服务器空间,此后我无权访问bitbucket中的文件。
我无法进行推,克隆,拉...什么也没有。
当我单击位存储桶上的任何存储库时,出现错误500,如图所示。
我该怎么做才能解决此问题?
错误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
然后您可以查看尝试访问该存储库时发生的情况。