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

Azure deploy[BUG] #4411

Open
rollsr1 opened this issue Jul 16, 2024 · 5 comments
Open

Azure deploy[BUG] #4411

rollsr1 opened this issue Jul 16, 2024 · 5 comments

Comments

@rollsr1
Copy link

rollsr1 commented Jul 16, 2024

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
Copy link
Member

Have you tried the Azure deployment instructions documented here:

https://blazorhelpwebsite.com/ViewBlogPost/1

@rollsr1
Copy link
Author

rollsr1 commented Jul 18, 2024 via email

@sbwalker
Copy link
Member

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
Copy link
Author

rollsr1 commented Jul 19, 2024 via email

@eahughes3
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants