-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy issue #261
Comments
Hi, thanks for raising the issue! Do you have error details for the template deployment and was this deployed using the Deploy to Azure button in the dev branch? |
I didn't see any error details. Where would I look to find that?
Yes I was using the dev branch using deploy button
…On Mon., Apr. 20, 2020, 16:21 Grace Zhang, ***@***.***> wrote:
Hi, thanks for raising the issue! Do you have error details for the
template deployment and was this deployed using the Deploy to Azure button
in the dev branch?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#261 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACQEQI3H7OF3MBF6WWHUG3RNSVELANCNFSM4MLR4BGQ>
.
|
If you click deploy after using the button, there should be a link next to the "Deployment Failed" message that says "View Error". If you click that link, there should be a popup that gives the error details. If that doesn't provide any additional details, you can also go to the Azure portal and to the resource group that you are attempting to deploy to. There should be header called "Deployments" under "Settings" on the left side navigation bar, and if you click it, it will provide a summary of which resources failed to create and a link to "Operation details", which provide detailed summaries of why the particular resource failed. |
Just tried that, and all the past event are success. Will try deploy again and see what happens. |
One doubt I had - when I create a App Service Plan - should the OS be linux or windows? |
Ive tried it again, and no further details were given. When I click View Error, a similar message to the one at the top is provided. Ive checked deployments and there are no entries for the deployment showing up in the resource group I selected. |
The OS for the App Service Plan should be linux! Another thing you could try if you use Powershell and have the tracking id from the message, is to run |
Okay. Would you like me to put the return here? or shall I send it to your team via email? Do you have a dev team alias I can reach out on? |
It looks like the main error is "The specified app service plan was not found." Can you confirm the instructions for how to set the server_farm_id PS - The input labels are very confusing and the documentation on some fields and where to get them are missing. |
Managed to get past when I changed the region. Deploying started .. up to "Updating Microsoft.DocumentDB/databaseAccounts" Failed with this error
|
Adding any errors/details here on this issue would be great so others can also refer to it if they get similar errors! The server_farm_id refers to the Azure App Service Plan and is usually in the following format: The 'DatabaseAccount name already exists' error may be because a previous deploy attempt successfully created the cosmosDB. If you check under the 'Deployments' header in the resource group, creating a new cosmosDB might have failed because it was already deployed before, but the other resources should be able to use the existing database account and successfully deploy. |
I have checked and there is no Cosmos DB that exists with that name.
|
I had to deploy it, to let it fail, then edit the template manually so I can change the database name in the variables. I redeployed, and the cosmosDB was created. Everything was running, but when I went to the site I get ":( Application Error". Clearly there are quite a few bugs, and I think I will let the project mature a bit before I try again. |
Thank you for the comments, I will fix the CosmosDB bug and update the documentation with the issues that you ran into. I have encountered "Application Error" before and I was able to fix it by restarting the Azure App Service, but I'll test the deployment process again and document any fixes to errors I encounter. |
Is there any updates on this issue? |
I got the following error when deploying the CMS
The template deployment '1b12de26-3045-40f1-b7e3-142fd7fdf8cd' is not valid according to the validation procedure. The tracking id is '684a1893-d5e9-4622-8082-2fa6f7b1ad78'. See inner errors for details.
The text was updated successfully, but these errors were encountered: