Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anders Boholdt-Petersen 4 posts 74 karma points
    Mar 23, 2022 @ 21:43
    Anders Boholdt-Petersen
    0

    Errors when I will activate the health check in Umbraco 9 via appsettings.json

    Hi everyone

    I am totally new to Umbraco 9. I have installed Umbraco 9 via the Visual Studio 2022, uploaded the project to an webserver with IIS on my webhost, and after that installed Umbraco.

    I fine have setup the different settings that the build in security check recommend, e.g. the application URL, and also the SMTP-settings. I do that via the file called appsettings.json in the root of the installation. After that I restart the application pool via IIS Manager before the changes take effect.

    The only problem I now have is that I not can setup the health check notification.

    When I look on https://our.umbraco.com/documentation/reference/V9-Config/HealthChecks/ , I have tried to copy the example into the appsettings.json file. I insert the example under the "CMS" section in the code.

    When I after that save the changes, and restart the application pool, I see the following error when I open my website where Umbraco 9 is installed:

    HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure

    The code that I copy into the appsettings.json file under the "CMS" section is the following: "HealthChecks": { "DisabledChecks": [ { "Id": "D0F7599E-9B2A-4D9E-9883-81C7EDC5616F" } ], "Notification": { "Enabled": true, "FirstRunTime": "5 * * * *", "Period": "1.00:00:00", "NotificationMethods": { "email": { "Enabled": true, "Verbosity": "Detailed", "FailureOnly": false, "Settings": { "RecipientEmail": "test@test-domain.com" } } } } } }

    }

    Have anyone here an explanation about why I see the error, and how I can fix the error, so Umbraco 9 can send out e-mails regarding the health check?

    I have tried to modify some lines above, e.g. removed the last lines with }, but with the same results.

    Thanks in advance for your answer, and have a nice day.

    Regards, Anders

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies