2013-11-27 140 views
2

我將Azure上的網站鏈接到Github存儲庫,它工作良好一段時間。最近,它開始部署失敗與日誌。使用Github源代碼管理在Windows Azure上部署失敗

error: refs/heads/master does not point to a valid object! 
error: refs/tags/v1.2.0 does not point to a valid object! 
error: refs/tags/v1.3.0 does not point to a valid object! 
error: refs/tags/v1.4.0 does not point to a valid object! 
error: refs/tags/v1.6.0 does not point to a valid object! 
error: refs/tags/v1.7.0 does not point to a valid object! 
error: refs/heads/master does not point to a valid object! 
error: refs/tags/v1.2.0 does not point to a valid object! 
error: refs/tags/v1.3.0 does not point to a valid object! 
error: refs/tags/v1.4.0 does not point to a valid object! 
error: refs/tags/v1.6.0 does not point to a valid object! 
error: refs/tags/v1.7.0 does not point to a valid object! 
error: refs/heads/master does not point to a valid object! 
error: refs/tags/v1.2.0 does not point to a valid object! 
error: refs/tags/v1.3.0 does not point to a valid object! 
error: refs/tags/v1.4.0 does not point to a valid object! 
error: refs/tags/v1.6.0 does not point to a valid object! 
error: refs/tags/v1.7.0 does not point to a valid object! 
error: refs/heads/master does not point to a valid object! 
error: refs/tags/v1.2.0 does not point to a valid object! 
error: refs/tags/v1.3.0 does not point to a valid object! 
error: refs/tags/v1.4.0 does not point to a valid object! 
error: refs/tags/v1.6.0 does not point to a valid object! 
error: refs/tags/v1.7.0 does not point to a valid object! 
error: Could not read 4a49af0a0cb64a0a0415734b11772d6df18561fb 
error: Could not read 5fe173ec7c37d3674f9c70b992333503c214ba10 
error: Could not read 390c8cbd527c8e707c51e25142e54421f4dd3948 
error: Could not read 32f081f8b901425fd1e8898478f0551970bee0f5 
error: Could not read 4fdf82f47ded8df543443a6b692d0a16b7d8ad51 
error: Could not read 0f1c8929f6885f3df3a0009136891c46c9f98378 
error: Could not read 6050db408f473e144d557c619e0bf749fbbbaa75 
remote: Counting objects: 1132, done.[K 
remote: Compressing objects: 0% (1/261) [K 
remote: Compressing objects: 1% (3/261) [K 
remote: Compressing objects: 2% (6/261) [K 

回答

2

這聽起來像是你的git repo在Azure上可能存在一些損壞。要進行調查,請使用Kudu Console。在控制檯中,轉至site\repository文件夾並運行基本的git命令,如git status以查看它們的價格。

如果這沒有幫助,您可以轉到Azure門戶的Dashboard選項卡並刪除您的git repo,然後重新連接到github。

+1

我試圖斷開連接並連接到Github多次,沒有幫助。我可以從Kudu控制檯刪除site \ respository目錄嗎?謝謝。 – dotnetrocks

+0

是的,您當然可以嘗試刪除存儲庫文件夾。但從Github上斷開的行爲應該已經做到了。斷開連接後(重新連接前)可能需要檢查Kudu控制檯。 –

+0

刪除存儲庫文件夾的內容(並額外測量wwwroot文件夾)並重新連接github終於爲我做了詭計 – mkimmet

相關問題