Hi @adam
just tried to upgrade to 4.0.0 and the server won’t start anymore with following error.
with the default settings it doesn’t have this problem, so I believe I use settings within the appsettings that doesn’t work anymore.
Windows authentication is enabled with authentication.ps1 instead of the appsettings.
Git two-way sync is enabled and saved within the db
{
"Kestrel": {
"Endpoints": {
"HTTP": {
"Url": "http://*:5000"
},
"HTTPS": {
"Url": "https://*:443",
"Certificate": {
"Path": "cert.pfx",
"Password": "****"
}
}
},
"RedirectToHttps": "false",
"UseHttpSys": "false",
"BasePath": ""
},
"ApplicationInsights": {
"InstrumentationKey": ""
},
"Logging": {
"Path": "%PROGRAMDATA%/PowerShellUniversal/log.txt",
"RetainedFileCountLimit": 31,
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information",
"Grpc": "Information"
}
},
"AllowedHosts": "*",
"CorsHosts": "",
"Plugins": [
"UniversalAutomation.LiteDBv5"
],
"Data": {
"RepositoryPath": "%ProgramData%\\UniversalAutomation\\Repository",
"ConnectionString": "filename=%ProgramData%\\UniversalAutomation\\database.db",
"GitRemote": "",
"GitUserName": "",
"GitPassword": "",
"GitBranch": "",
"GitSyncBehavior": "",
"GitInitializeBehavior": "",
"GitSyncInterval": "",
"ConfigurationScript": ""
},
"Api": {
"Url": "",
"GrpcPort": 0
},
"Authentication": {
"Windows": {
"Enabled": "false"
},
"WSFed": {
"Enabled": "false",
"MetadataAddress": "",
"Wtrealm": "",
"CallbackPath": "/auth/signin-wsfed",
"Wreply": "",
"UseTokenLifetime": true,
"CorrelationCookieSameSite": ""
},
"OIDC": {
"Enabled": "false",
"CallbackPath": "/auth/signin-oidc",
"ClientID": "",
"ClientSecret": "",
"Resource": "",
"Authority": "",
"ResponseType": "",
"SaveTokens": "false",
"CorrelationCookieSameSite": "",
"UseTokenLifetime": true,
"Scope": "openid profile groups",
"GetUserInfo": false
},
"ClientCertificate": {
"Enabled": "false"
},
"SessionTimeout": "25"
},
"Jwt": {
"SigningKey": "PleaseUseYourOwnSigningKeyHere",
"Issuer": "IronmanSoftware",
"Audience": "PowerShellUniversal"
},
"UniversalAutomation": {
"JobHandshakeTimeout": 5,
"JobDebugging": false,
"ContinueJobOnServerStop": false
},
"UniversalDashboard": {
"AssetsFolder": "%ProgramData%\\PowerShellUniversal\\Dashboard",
"DashboardStartupTimeout": 10
},
"Secrets": {
"SecretStore": {
"Password": "PSUSecretStore"
}
},
"ShowDevTools": false,
"HideAdminConsole": false,
"Profiling": false
}