My configuration was BitBucket and linked to Azure App Service via the Deployment Center and it auto pulls from my Master branch.
One fine day, the deployment failed and threw me this error.
I am not sure what caused the locked but here’s the solution but upon inspection of the logs, i received this.
Fatal: Unable to create ‘D:/home/site/repository/.git/index.lock’: File exists.Another git process seems to be running in this repository, e.g. an editor opened by ‘git commit’. Please make sure all processes are terminated then try again. If it still fails, a git processmay have crashed in this repository earlier: remove the file manually to continue. D:\Program Files\Git\cmd\git.exe checkout master –force
Go into your App Service > Console > Navigate to the folder and use rm command to remove it.
Thereafter, go back to your deployment center and click on Sync and it will work magically.
Just a note to myself and to any of you who faced the error like me earlier on..
“Cannot connect to localhost.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)”
I was thinking, its localhost and I used the right username / password combination ( Well, i was using Windows Authenication )… whats wrong? Took me a while to realise its because , for some reason, my MSSSQL Server Service got stopped.
I went to Start > All Programs > Microsoft SQL Server 2008 R2 > Configuration Tools > SQL Server Configuration Manager and right click on the stopped SQL Server and Start it.
Recently, I was trying to send some email with gmail to a group(whom I am one of the receiptant as well) but for some unknown reason then, I am not receiving the email that I sent out. I thought it didn’t get sent out so I resent again (this process repeated for 3-4 times)
Did a quick search, i realised its because of the decision that Google made on how this should work. Personally find it weird though.
Posting here, just in case anyone needs help.
When you send mail to any group or mailing list you subscribe to, Gmail automatically skips your inbox and archives the message to save you time and prevent clutter. The message will appear in your inbox if someone responds to it or if there is an error delivering the message. If you’d like to view your message, you can find it in Sent Mail or All Mail.