Comments (4)
It looks like the main issue encountered was that the website was not found in Azure. The scripts will detect the azure site and pull the location and resource group from that site to create the Redis Cache. To change the defaults for these values, you can modify lines 38 and 39 in the PublishOnAzure.ps1 file.
To fix the error with your site not being found, you can change lines 28 and 29 in the deployment config Excel file, on the config tab, to be just the name of the web app in Azure. IE, if the site is located at https://ExampleSite.azurewebsites.net (this is the value for lines 7/8 respectively), then the name of that web app is going to be ExampleSite (the value for lines 28/29 respectively).
from mattercenter.
I am running into the same error. The second error that is, the fact that my website cannot be found in Azure. I am sure the websites are there. Also, the Test-AzureName -Website $AzureSite in the PreRequisitesScript.ps1 gives a True, so the names of my websites in the Excel file are correct. Anyone any idea? Here's the error:
10/01/2016 20:55:48 - Step 10: Publishing files to Azure/IIS
10/01/2016 20:55:48 - Please enter your Azure credentials for Azure Resource Management
10/01/2016 20:57:12 - Creating Redis cache
10/01/2016 20:57:14 - Please enter your Azure credentials for Azure service management
10/01/2016 20:57:24 - Publishing web service on Azure
Publish-AzureWebsiteProject : The website sushi-matterservice was not found. Please specify a valid website name.
At C:\Projects\MatterCenter\deployments\Scripts\PublishOnAzure.ps1:45 char:2
-
Publish-AzureWebsiteProject -Name $ExcelValues[1] -Package $Servi ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : CloseError: (:) [Publish-AzureWebsiteProject], CloudException
- FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Websites.PublishAzureWebsiteProject
10/01/2016 20:57:26 - Publishing web site on Azure
Publish-AzureWebsiteProject : The website sushi-mattercenter was not found. Please specify a valid website name.
At C:\Projects\MatterCenter\deployments\Scripts\PublishOnAzure.ps1:47 char:2
-
Publish-AzureWebsiteProject -Name $ExcelValues[0] -Package $Websi ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : CloseError: (:) [Publish-AzureWebsiteProject], CloudException
- FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Websites.PublishAzureWebsiteProject
10/01/2016 20:57:26 - Updating App settings for website
Cannot index into a null array.
False
10/01/2016 20:57:28 - Publishing files to Azure or creating Azure Redis cache failed
from mattercenter.
Never mind... Select-AzureSubscription to the rescue. It could help to set the right subscription as default :) (feel bit stupid now, although still find it weird that Test works on non-default subscriptions too, but Publish doesn't)
from mattercenter.
I am seeing a similar error, but I have verified that I am pointing to the correct subscription.
from mattercenter.
Related Issues (20)
- Edit Matter/Document Libraries HOT 1
- Create a docker container
- How to change tenant when setting up MatterCenter.
- Web Job Creation Fails HOT 2
- install mattercenter.
- Request to a downlevel service failed and Updating Office, Outlook and SharePoint App schema files failed issue
- Error at step 10. ErrorCode: 500 ClassName: SPOAuthorization
- Unable to create matter Step 2/3 fails HOT 1
- MMC plugin for office 365 can't login
- Error 500 - Creating Matter
- Request to a downlevel service failed
- MatterCenterHome.aspx / "Error occurred while creating web part" HOT 1
- Open Powershell as administrator and navigate to <<download location>>\tree\master\cloud\src\solution\Deployment\Scripts and run Deploy-AzureResourceGroup.ps1
- Finding permissions for step 8
- Oops. 500 Internal Server Error
- Error MSB4226 The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VisualStudio\v16.0\DotNet\Microsoft.DotNet.Props" was not found.
- What i need to specify inside this xlsx "MCDeploymentConfig"
- Deploy.ps1 will return this error "Message: The underlying connection was closed: An unexpected error occurred on a send."
- This repo is missing a LICENSE file
- This repo is missing important files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mattercenter.