Copied to clipboard

Flag this post as spam?

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


  • Ganesh Mitra 44 posts 194 karma points
    May 10, 2022 @ 07:59
    Ganesh Mitra
    0

    Hi,

    I have a site running with v8.6.3 with load balancing setup. Last few day my examine management section in umbraco setting broken due to error "App is shutting down so index batch operation is ignored".

    My master server already set up with

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

    AND

    public class MasterServerComposer : IUserComposer
    {
        public void Compose(Composition composition)
        {
            composition.SetServerRegistrar(new MasterServerRegistrar());
        }
    }
    
    public class MasterServerRegistrar : IServerRegistrar
    {
        public IEnumerable<IServerAddress> Registrations
        {
            get { return Enumerable.Empty<IServerAddress>(); }
        }
        public ServerRole GetCurrentServerRole()
        {
            return ServerRole.Master;
        }
        public string GetCurrentServerUmbracoApplicationUrl()
        {
            string path = "https://mydomain/umbraco";
    
            return path;
        }
    }
    

    And front end server with

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

    AND

    public class IgnoreLocalDbComposer : IUserComposer
    {
        public void Compose(Composition composition)
        {
            composition.Register(factory => new PublishedSnapshotServiceOptions
            {
                IgnoreLocalDb = true
            });
        }
    }
    

    After reupload web.config, umbraco Backoffice back to work again but again failed next 5-6 days.

    Can anybody help me out on this?

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft