I have to fix the documentation. The official helm chart is in the main repository. I am not a helm user, but perhaps you can comment on this PR to get it fixed?
I’ve fully deleted it from my k8s cluster and deployed it again
I use this command to deploy it helm install squidex squidex/squidex --set env.URLS__BASEURL=mydomain --set ingress.hostName=mydomain --namespace=mynamespace
When it is not yet deployed successfuly, it starts to check the livenessProbe parameter infinitely and pod restart, and I get CrashLoopBackOff error
I am installing ingress controller now, but everything takes a while, because i have configured a kubernetes with auto mode and the nodes are created on demand.
the error is Invalid URI: The format of the URI could not be determined.
I use squidex.mydomain.com URl
{
"logLevel": "Error",
"message": "An unexpected exception has occurred.",
"timestamp": "2021-09-14T17:59:00Z",
"app": {
"name": "Squidex",
"version": "5.8.0.0",
"sessionId": "64b8a4e2-7330-4103-9400-0e33c51b0048"
},
"web": {
"requestId": "00-237ac0471d83ee4b9efbe25d6cf40e3e-83900af63e824b46-00",
"requestPath": "/identity-server/setup",
"requestMethod": "GET"
},
"exception": {
"type": "System.UriFormatException",
"message": "Invalid URI: The format of the URI could not be determined.",
"stackTrace": " at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)\n at System.Uri..ctor(String uriString)\n at Squidex.Areas.IdentityServer.Config.IdentityServerServices.\u003C\u003Ec.\u003CAddSquidexIdentityServer\u003Eb__0_5(IServiceProvider services, OpenIddictServerOptions options) in /src/src/Squidex/Areas/IdentityServer/Config/IdentityServerServices.cs:line 129\n at Microsoft.Extensions.DependencyInjection.ConfigurationServiceExtensions.\u003C\u003Ec__DisplayClass1_1\u00601.\u003CConfigure\u003Eb__1(T o)\n at Microsoft.Extensions.Options.ConfigureOptions\u00601.Configure(TOptions options)\n at Microsoft.Extensions.Options.OptionsFactory\u00601.Create(String name)\n at Microsoft.Extensions.Options.OptionsMonitor\u00601.\u003C\u003Ec__DisplayClass11_0.\u003CGet\u003Eb__0()\n at System.Lazy\u00601.ViaFactory(LazyThreadSafetyMode mode)\n--- End of stack trace from previous location ---\n at System.Lazy\u00601.CreateValue()\n at OpenIddict.Server.OpenIddictServerFactory.CreateTransactionAsync()\n at OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandler.HandleRequestAsync()\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.\u003CInvoke\u003Eg__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.HandleException(HttpContext context, ExceptionDispatchInfo edi)\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.\u003CInvoke\u003Eg__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)\n at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)\n at Squidex.Web.Pipeline.LocalCacheMiddleware.InvokeAsync(HttpContext context, ILocalCache localCache) in /src/src/Squidex.Web/Pipeline/LocalCacheMiddleware.cs:line 27\n at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)\n at Squidex.Web.Pipeline.UsageMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) in /src/src/Squidex.Web/Pipeline/UsageMiddleware.cs:line 41\n at Squidex.Web.Pipeline.UsageMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) in /src/src/Squidex.Web/Pipeline/UsageMiddleware.cs:line 84\n at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.\u003C\u003Ec__DisplayClass6_1.\u003C\u003CUseMiddlewareInterface\u003Eb__1\u003Ed.MoveNext()\n--- End of stack trace from previous location ---\n at Squidex.Web.Pipeline.RequestLogPerformanceMiddleware.InvokeAsync(HttpContext context, ISemanticLog log) in /src/src/Squidex.Web/Pipeline/RequestLogPerformanceMiddleware.cs:line 49\n at Squidex.Web.Pipeline.RequestExceptionMiddleware.InvokeAsync(HttpContext context, IActionResultExecutor\u00601 writer, ISemanticLog log) in /src/src/Squidex.Web/Pipeline/RequestExceptionMiddleware.cs:line 42"
}
}
To be honest. I have no experience with ingresses. I have installed nginx ingress, but so far i cannot reach the instance. Do I have to do something else?
you can also add the env.TAG=5.9.0 for the latest version
helm install squidex squidex/squidex --set env.URLS__BASEURL=http://localhost/ --set env.TAG=5.9.0
@Sebastian you have to use this --set cmd: --set ingress.annotations."kubernetes\.io/ingress\.class"=nginx --set ingress."kubernetes\.io/tls-acme"=true
Or you can use a values file to specify all the values.