Skip to content
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

Upgrading failed due to deletion of previous 2 App services installation #752

Open
marteltran opened this issue Aug 19, 2024 · 2 comments
Open
Labels
Application:UpgradeScripts Application:UpgradeScripts bug Something isn't working issue-stage:triage The issue is under triage by the team

Comments

@marteltran
Copy link

Describe the bug
I follow the instruction to delete previous old version of Admin & Portal App services in order to run the "Upgrade.ps1" script.
However I got the below error:

ERROR: Failed to connect to MSI. Please make sure MSI is configured correctly.
Get Token request returned: <Response [400]>
Upgrade.ps1:
Line |
8 | .\Upgrade.ps1 `
| ~~~~~~~~~~~~~~~
| Cannot bind argument to parameter 'Source' because it is an empty string.

To Reproduce
Steps to reproduce the behavior:

  1. Fork the code
  2. Open PowerShell
  3. Run the "Upgrade.ps1" script

wget https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh; chmod +x dotnet-install.sh;
./dotnet-install.sh -version 6.0.417; $ENV:PATH="$HOME/.dotnet:$ENV:PATH";
dotnet tool install --global dotnet-ef --version 6.0.1; git clone https://github.com/<your_fork_path>/Commercial-Marketplace-SaaS-Accelerator.git;
cd ./Commercial-Marketplace-SaaS-Accelerator/deployment; .\Upgrade.ps1
-WebAppNamePrefix "<your_prefix>" `
-ResourceGroupForDeployment "<your_resource>"

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Are you using the CloudShell? Yes
  • If not using the CloudShell:
    • OS: [e.g. iOS]
    • PowerShell version
    • Modules installed

Additional context
Add any other context about the problem here.

@fthorntonai fthorntonai added bug Something isn't working issue-stage:triage The issue is under triage by the team and removed issue-stage:triage The issue is under triage by the team labels Sep 25, 2024
@santhoshb-msft
Copy link
Contributor

@marteltran can you point me to where the instructions ask you to delete the app services to run the upgrade?

@fthorntonai fthorntonai added the Application:UpgradeScripts Application:UpgradeScripts label Oct 3, 2024
@marteltran
Copy link
Author

marteltran commented Oct 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Application:UpgradeScripts Application:UpgradeScripts bug Something isn't working issue-stage:triage The issue is under triage by the team
Projects
None yet
Development

No branches or pull requests

3 participants