As I understand, Umbraco 11 is basically a .NET 7 application. It means it is able to run on Linux.
So I decided to deploy Umbraco 11 to Azure App Service For Linux.
But it not worked. I got an error message like below from log stream
2023-01-14T11:14:45.024580830Z Unhandled exception. System.TypeInitializationException: The type initializer for 'System.Runtime.Caching.MemoryMonitor' threw an exception.
2023-01-14T11:14:45.024636530Z ---> System.DllNotFoundException: Unable to load shared library 'kernel32.dll' or one of its dependencies.
I also got the same issue with Umbraco 10.3.2.
Anyone here know if Umbraco 11 or Umbraco 10 can work on Azure App Service For Linux ?
Umbraco 11 Not Worked On Azure App Service For Linux
Hi Everyone,
As I understand, Umbraco 11 is basically a .NET 7 application. It means it is able to run on Linux.
So I decided to deploy Umbraco 11 to Azure App Service For Linux.
But it not worked. I got an error message like below from log stream
2023-01-14T11:14:45.024580830Z Unhandled exception. System.TypeInitializationException: The type initializer for 'System.Runtime.Caching.MemoryMonitor' threw an exception.
2023-01-14T11:14:45.024636530Z ---> System.DllNotFoundException: Unable to load shared library 'kernel32.dll' or one of its dependencies.
I also got the same issue with Umbraco 10.3.2.
Anyone here know if Umbraco 11 or Umbraco 10 can work on Azure App Service For Linux ?
When you are building / publishing your app are you targeting Linux?
For example: dotnet build --runtime linux-x64
Thanks Conor,
Yes that is the root cause.
To make the umbraco 10 or 11 run on Linux, we need to set --runtime linux-x64 when we publish the project
Brilliant! Glad it's working for you now 😀
is working on a reply...