The warnings come from the localization service. So by itself - in many case - it’s not REALLY an issue because it’s mostly about some localization that fails.
The issue is indeed that there is no default culture set on Linux, and the OS of containers of Web Apps in Azure are Linux based. On normal requests, Umbraco can infer the UI culture or gets is through a header. On background jobs, there obviously is no request, so Umbraco has no idea what language to use.
I don’t know the exact detailt, but you can just set a default UI language:
-
In Azure, set a application setting of LANG to (for instance)
en_US.UTF-8. This effectively set the default language. -
If you want it to set it on the application level, before app.Run() set the default languages:
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo(“en-US”);
CultureInfo.DefaultThreadCurrentUICulture = new CultureInfo(“en-US”);
I haven’t tried it myself yet, but this should give you some pointers ![]()