oqtane / oqtane.framework

CMS & Application Framework for Blazor & .NET MAUI
http://www.oqtane.org
MIT License
1.83k stars 529 forks source link

Azure deploy[BUG] #4411

Open rollsr1 opened 1 month ago

rollsr1 commented 1 month ago

Oqtane Info

Version - #.#.# Render Mode - Static Interactivity - Server Database - SQL Server

Describe the bug

Deploy to azure keeps failing

Expected Behavior

Steps To Reproduce

Anything else?

sbwalker commented 1 month ago

Have you tried the Azure deployment instructions documented here:

https://blazorhelpwebsite.com/ViewBlogPost/1

rollsr1 commented 1 month ago

This is the deployment error i get.

{"code":"ResourceDeploymentFailure","target":"/subscriptions/a05f10e0-7745-4c04-9bf0-81b0bb3f4940/resourceGroups/pqressource/providers/Microsoft.Web/sites/Pipsqweekweb/sourcecontrols/web","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'."}


From: Shaun Walker @.> Sent: Wednesday, July 17, 2024 9:44 PM To: oqtane/oqtane.framework @.> Cc: rollsr1 @.>; Author @.> Subject: Re: [oqtane/oqtane.framework] Azure deploy[BUG] (Issue #4411)

Have you tried the Azure deployment instructions documented here:

https://blazorhelpwebsite.com/ViewBlogPost/1

— Reply to this email directly, view it on GitHubhttps://github.com/oqtane/oqtane.framework/issues/4411#issuecomment-2234248858, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJYG7CZR4IT5362BQ5CVKY3ZM3JUXAVCNFSM6AAAAABK6SQACOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZUGI2DQOBVHA. You are receiving this because you authored the thread.Message ID: @.***>

sbwalker commented 1 month ago

That error looks like it is from from the Deploy to Azure button approach. Have you tried the manual Azure deployment instructions documented here: https://blazorhelpwebsite.com/ViewBlogPost/1

rollsr1 commented 1 month ago

I will give it a go 🙂


From: Shaun Walker @.> Sent: Thursday, July 18, 2024 6:49 PM To: oqtane/oqtane.framework @.> Cc: rollsr1 @.>; Author @.> Subject: Re: [oqtane/oqtane.framework] Azure deploy[BUG] (Issue #4411)

That error looks like it is from from the Deploy to Azure button approach. Have you tried the manual Azure deployment instructions documented here: https://blazorhelpwebsite.com/ViewBlogPost/1

— Reply to this email directly, view it on GitHubhttps://github.com/oqtane/oqtane.framework/issues/4411#issuecomment-2237161968, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJYG7C7IEENTHWOHTIFFLALZM754FAVCNFSM6AAAAABK6SQACOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZXGE3DCOJWHA. You are receiving this because you authored the thread.Message ID: @.***>

eahughes3 commented 1 month ago

This is the error I get when I install 5.1.2 release following the instructions to manually install in Azure: image

This is message when trying to login as Host for the first time on a clean install in Azure Linux WebApp. I have a 5.1.1 version running just fine in Azure on a Linux WebApp and Azure SQL server. I tried a fresh install of 5.1.1 and did not have this issue in the same WebApp instance.

Here is the Log Stream: 2024-07-21T11:41:18.762074912Z: [INFO] info: Microsoft.AspNetCore.Hosting.Diagnostics[1] 2024-07-21T11:41:18.762123212Z: [INFO] Request starting HTTP/1.1 GET http://avinosoftoqtane-fzafbfgwaaa0drgt.centralus-01.azurewebsites.net/ - - - 2024-07-21T11:41:18.766249668Z: [INFO] info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] 2024-07-21T11:41:18.766360870Z: [INFO] Executing endpoint 'Fallback {path:nonfile}' 2024-07-21T11:41:18.776207704Z: [INFO] info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[2] 2024-07-21T11:41:18.776286305Z: [INFO] Authorization failed. These requirements were not met: 2024-07-21T11:41:18.776296205Z: [INFO] RolesAuthorizationRequirement:User.IsInRole must be true for one of the following roles: (Registered Users) 2024-07-21T11:41:18.777923327Z: [INFO] info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[2] 2024-07-21T11:41:18.777944327Z: [INFO] Authorization failed. These requirements were not met: 2024-07-21T11:41:18.777950027Z: [INFO] RolesAuthorizationRequirement:User.IsInRole must be true for one of the following roles: (Registered Users) 2024-07-21T11:41:18.780603163Z: [INFO] info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] 2024-07-21T11:41:18.780624164Z: [INFO] Executed endpoint 'Fallback {path:nonfile}' 2024-07-21T11:41:18.781648278Z: [INFO] info: Microsoft.AspNetCore.Hosting.Diagnostics[2] 2024-07-21T11:41:18.781666678Z: [INFO] Request finished HTTP/1.1 GET https://avinosoftoqtane-fzafbfgwaaa0drgt.centralus-01.azurewebsites.net/ - 200 - text/html;+charset=utf-8 17.1939ms