Git 从bitbucket部署失败,显示错误。如何找到Azure D:驱动器以删除文件?
致命:无法创建“D:/home/site/repository/.git/index.lock”:文件存在。如果当前没有其他git进程在运行,这可能意味着先前在此存储库中有一个git进程崩溃。确保没有其他git进程正在运行,并手动删除该文件以继续。D:\ProgramFiles(x86)\Git\cmd\Git.exe签出-强制 我不明白最后一句话:它是在告诉我运行“git checkout develop--force”吗?在我的机器上?我没有连接D:驱动器Git 从bitbucket部署失败,显示错误。如何找到Azure D:驱动器以删除文件?,git,azure,Git,Azure,致命:无法创建“D:/home/site/repository/.git/index.lock”:文件存在。如果当前没有其他git进程在运行,这可能意味着先前在此存储库中有一个git进程崩溃。确保没有其他git进程正在运行,并手动删除该文件以继续。D:\ProgramFiles(x86)\Git\cmd\Git.exe签出-强制 我不明白最后一句话:它是在告诉我运行“git checkout develop--force”吗?在我的机器上?我没有连接D:驱动器 我从其他分支进行的部署工作正常(或
我从其他分支进行的部署工作正常(或者已经…,我还没有对它们进行新的提交)我对所有这些都是新手。是的,我正在从Bitbucket Git repo进行连续部署,在本例中,是从开发分支到仅针对该分支的应用程序服务。master和releaase分支机构拥有自己的应用程序服务web应用程序;这些部署工作正常。从使用develop分支的应用程序服务开始,我找到了kudu诊断控制台:
D:\home\site\repository\.git>dir
Volume in drive D is Windows
Volume Serial Number is AC5B-1C2E
Directory of D:\home\site\repository\.git
05/15/2017 09:48 PM <DIR> hooks
05/15/2017 09:48 PM <DIR> info
05/15/2017 09:48 PM <DIR> logs
05/15/2017 09:48 PM <DIR> objects
05/15/2017 09:48 PM <DIR> refs
05/15/2017 09:48 PM 560 config
05/15/2017 09:48 PM 73 description
05/15/2017 09:48 PM 97 FETCH_HEAD
05/15/2017 09:48 PM 24 HEAD
05/15/2017 09:48 PM 11,071 index
05/15/2017 09:48 PM 156 web.config
6 File(s) 11,981 bytes
然后我又试着部署了一次
Synchronization Request Submitted 10:07 PM
The repository for web app moneyplandev is being updated.
但它又失败了。已看到此活动日志输出:
Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling ASP.NET Core Web Application deployment.
Restoring packages for D:\home\site\repository\MvcWebApp.csproj...
Installing System.Xml.XPath.XDocument 4.0.1.
Installing System.Diagnostics.FileVersionInfo 4.0.0.
Installing System.Xml.XmlDocument 4.0.1.
Installing Microsoft.CodeAnalysis.Analyzers 1.1.0.
Installing Microsoft.NETCore.DotNetHost 1.0.1.
Installing System.ComponentModel.TypeConverter 4.1.0.
请注意,MvcWebApp.csproj文件名与(重命名的)项目名不同。已更正此问题,并尝试再次部署。现在得到了这个错误
Failed to set up deployment source
Failed to set up deployment source for web app moneyplandev, using
Bitbucket. {"Code":"BadRequest","Message":"Repository
'UpdateSiteSourceControl' operation failed with System.Net.WebException:
There is not enough space on the disk.\r\n at System.IO....
现在怎么办?我对这一切都不熟悉。是的,我正在从Bitbucket Git repo进行连续部署,在本例中,是从开发分支到仅针对该分支的应用程序服务。master和releaase分支机构拥有自己的应用程序服务web应用程序;这些部署工作正常。从使用develop分支的应用程序服务开始,我找到了kudu诊断控制台:
D:\home\site\repository\.git>dir
Volume in drive D is Windows
Volume Serial Number is AC5B-1C2E
Directory of D:\home\site\repository\.git
05/15/2017 09:48 PM <DIR> hooks
05/15/2017 09:48 PM <DIR> info
05/15/2017 09:48 PM <DIR> logs
05/15/2017 09:48 PM <DIR> objects
05/15/2017 09:48 PM <DIR> refs
05/15/2017 09:48 PM 560 config
05/15/2017 09:48 PM 73 description
05/15/2017 09:48 PM 97 FETCH_HEAD
05/15/2017 09:48 PM 24 HEAD
05/15/2017 09:48 PM 11,071 index
05/15/2017 09:48 PM 156 web.config
6 File(s) 11,981 bytes
然后我又试着部署了一次
Synchronization Request Submitted 10:07 PM
The repository for web app moneyplandev is being updated.
但它又失败了。已看到此活动日志输出:
Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling ASP.NET Core Web Application deployment.
Restoring packages for D:\home\site\repository\MvcWebApp.csproj...
Installing System.Xml.XPath.XDocument 4.0.1.
Installing System.Diagnostics.FileVersionInfo 4.0.0.
Installing System.Xml.XmlDocument 4.0.1.
Installing Microsoft.CodeAnalysis.Analyzers 1.1.0.
Installing Microsoft.NETCore.DotNetHost 1.0.1.
Installing System.ComponentModel.TypeConverter 4.1.0.
请注意,MvcWebApp.csproj文件名与(重命名的)项目名不同。已更正此问题,并尝试再次部署。现在得到了这个错误
Failed to set up deployment source
Failed to set up deployment source for web app moneyplandev, using
Bitbucket. {"Code":"BadRequest","Message":"Repository
'UpdateSiteSourceControl' operation failed with System.Net.WebException:
There is not enough space on the disk.\r\n at System.IO....
现在怎么办?通过从免费级别升级到基本级别以获得更多文件存储空间来修复。我刚刚超过了1GB的可用级别阈值。所以现在我的爱好项目花费55美元/月而不是免费的。只需使用React为Web应用程序编写ASP.NET核心代码的成本。每一分钱都值得。通过从免费级别升级到基本级别以获得更多文件存储空间来修复。我刚刚超过了1GB的可用级别阈值。所以现在我的爱好项目花费55美元/月而不是免费的。只需使用React为Web应用程序编写ASP.NET核心代码的成本。每一分钱都值得。我假设您已经从Bitbucket Git repo?D:/home/site/启用了连续部署,看起来像是应用服务部署虚拟目录路径。你能通过kudu控制台检查一下吗?yourappname.scm.azurewebsites.net。在kudu控制台中,您可以通过调试控制台浏览到该目录。我将我的评论作为答案放入其中,以便对其进行格式化。我假设您已从Bitbucket Git repo?D:/home/site/启用了连续部署,它看起来像一个应用服务部署虚拟目录路径。你能通过kudu控制台检查一下吗?yourappname.scm.azurewebsites.net。在kudu控制台中,您可以通过调试控制台浏览到目录。我将我的评论作为答案输入,以便对其进行格式化。