Copied to clipboard

Flag this post as spam?

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


  • Dhiren 60 posts 202 karma points
    Oct 10, 2023 @ 13:23
    Dhiren
    0

    Umbraco cannot run after deployment - Restart required

    I am facing following error after deployment to live site. Umbraco.Core.Exceptions.BootFailedException: Boot failed: Umbraco cannot run. See Umbraco's log file for more details.\n\n-> Umbraco.Core.Exceptions.BootFailedException: Boot failed.\n\n-> System.TimeoutException: Cannot acquire MainDom\n at Umbraco.Core.Runtime.MainDom.Acquire

    Configuration on which I have doubt are as below:

    <add key="Umbraco.Core.LocalTempStorage" value="EnvironmentTemp" />
        <add key="Umbraco.Examine.LuceneDirectoryFactory" value="Examine.LuceneEngine.Directories.SyncTempEnvDirectoryFactory, Examine" />
    

    Whenever I face this error after deployment, I have to stop my website and kill worker process and restart my site. After this step, my site works fine. but everytime after deployment, I have to follow these steps.

    My staging site is running on same server but I do not face this issue on staging site. It has same configuration as live.

    Environment/Hosting detail:

    • Windows Virtual Server
    • IIS Hosting
    • Umbraco 8.18.8

    If any one have faced this issue, please help me out on this.

  • Aday Rodriguez 3 posts 44 karma points
    Jan 11, 2024 @ 02:23
    Aday Rodriguez
    100

    I had the same issue now in umbraco 13 and it was solved by assigning full control permissions to IIS_IUSRS user on the hosting folder. Umbraco CMS requires access to delete, create, modify, and execute.

  • Amalie Wowern 144 posts 273 karma points MVP c-trib
    Jan 29, 2024 @ 13:20
    Amalie Wowern
    0

    Hi Aday

    Which folder is the hosting folder.

    I have the same problem with a solution i upgraded from 11->13

    I have assigned full controll to the umbraco project for iis_iusrs but it did not help

  • Aday Rodriguez 3 posts 44 karma points
    Jan 29, 2024 @ 15:12
    Aday Rodriguez
    0

    I'm hosting under c\inetpub\wwwroot\application_name. That's where .net core apps work best due to proper inherited permissions.

  • Simon Napper 115 posts 349 karma points
    Jan 29, 2024 @ 15:56
    Simon Napper
    0

    I had a similar issue with v8 and to be honest I never did get to the bottom of it!

    So as a workaround, I updated my deployment script to restart the worker process at the end of the deployment and that did the trick.

  • Adriano Fabri 469 posts 1633 karma points
    May 22, 2024 @ 09:50
    Adriano Fabri
    0

    Hi Simon, can you share the deployment script? I would like to compare it with mine

    I have an Umbraco v 8.18.4 installation and sometimes (randomly) my website goes into Boot Failed error.

    I have configured the website in a single VM with Windows Server Windows Server 2022 Standard and Microsoft SQL Server 2019 Enterprise

    Thank you

    Adriano

  • Simon Napper 115 posts 349 karma points
    May 22, 2024 @ 11:40
    Simon Napper
    1

    Ah it was a while ago and I don't have the exact script anymore, but you can achieve the same thing by restarting the application pool in IIS. I think this bit of Powershell should do the trick:

    Restart-WebAppPool -Name "YourAppPoolName"

Please Sign in or register to post replies

Write your reply to:

Draft