Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure web deploy/publish keeps getting stuck

every time I try to publish my web app to azure it gets stuck, how can I determine what the problem is? logs etc, I cant see anything but the output but thats not enough to diagnose the issue.

enter image description here

like image 762
Farhad-Taran Avatar asked Sep 25 '15 20:09

Farhad-Taran


People also ask

How long does it take to deploy Azure Web App?

Sometimes it takes 5 minutes (=fast) and sometimes it takes more than 30 minutes (=slow).

How do I publish my Azure Web App?

Create or open an Azure cloud service project in Visual Studio. In Solution Explorer, right-click the project, and, from the context menu, select Convert > Convert to Azure Cloud Service Project. In Solution Explorer, right-click the newly created Azure project, and, from the context menu, select Publish.

What is publish deploy?

Publishing creates the set of files that are needed to run your application. To deploy the files, copy them to the target machine.


2 Answers

So the way I got around this issue was to set the visual studio parallel build settings to 1.

this would force visual studio to build each individual project one after the other, and this way you would be able to diagnose if there is something going wrong during the build stage or not.

fortunately for me nothing was wrong with the build stage and my project got published fine.

like image 129
Farhad-Taran Avatar answered Sep 28 '22 02:09

Farhad-Taran


Same thing I have faced many times, process stuck while publishing Web app.This is related to network speed. May be at that time your network speed is slow. Please make sure while your will going to publish your network speed should be high. This is work for me.

like image 32
Neeraj Sharma Avatar answered Sep 28 '22 01:09

Neeraj Sharma