{"record":{"id":"daa2b4a5b5b3e25e","repo":"Flow-Launcher/Flow.Launcher","slug":"warning-everything-service-is-not-running","errorCode":null,"errorMessage":"Warning: Everything service is not running","messagePattern":"Warning: Everything service is not running","errorType":"exception","errorClass":"EngineNotAvailableException","httpStatus":null,"severity":"warning","filePath":"Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingSearchManager.cs","lineNumber":28,"sourceCode":"namespace Flow.Launcher.Plugin.Explorer.Search.Everything\n{\n    public class EverythingSearchManager : IIndexProvider, IContentIndexProvider, IPathIndexProvider\n    {\n        private static readonly string ClassName = nameof(EverythingSearchManager);\n\n        private Settings Settings { get; }\n\n        public EverythingSearchManager(Settings settings)\n        {\n            Settings = settings;\n        }\n\n        private async ValueTask ThrowIfEverythingNotAvailableAsync(CancellationToken token = default)\n        {\n            try\n            {\n                if (!await EverythingApi.IsEverythingRunningAsync(token))\n                    throw new EngineNotAvailableException(\n                        Enum.GetName(Settings.IndexSearchEngineOption.Everything)!,\n                        Localize.flowlauncher_plugin_everything_click_to_launch_or_install(),\n                        Localize.flowlauncher_plugin_everything_is_not_running(),\n                        Constants.EverythingErrorImagePath,\n                        ClickToInstallEverythingAsync);\n            }\n            catch (DllNotFoundException)\n            {\n                throw new EngineNotAvailableException(\n                    Enum.GetName(Settings.IndexSearchEngineOption.Everything)!,\n                    \"Please check whether your system is x86 or x64\",\n                    Constants.GeneralSearchErrorImagePath,\n                    Localize.flowlauncher_plugin_everything_sdk_issue());\n            }\n        }\n\n        private async ValueTask<bool> ClickToInstallEverythingAsync(ActionContext _)\n        {","sourceCodeStart":10,"sourceCodeEnd":46,"githubUrl":"https://github.com/Flow-Launcher/Flow.Launcher/blob/7fc63b07bbaa10a0f0b2601487913fcba9ed24b0/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingSearchManager.cs#L10-L46","documentation":"Thrown as EngineNotAvailableException(message=flowlauncher_plugin_everything_is_not_running()) when EverythingApi.IsEverythingRunningAsync(token) returns false. The Everything search engine process is not reachable over its IPC window, so the Explorer plugin cannot serve index queries. The exception carries a one-click Action (ClickToInstallEverythingAsync) so the UI can offer to launch/install Everything.","triggerScenarios":"Calling SearchAsync/ContentSearchAsync/EnumerateAsync on EverythingSearchManager while Everything.exe is not running, is running as a different user (so the IPC window handle is not visible), is running with the '-admin' flag from an elevated context the current process cannot see, or was killed mid-search.","commonSituations":"First run on a machine where Everything is installed but not started; Everything set to run as administrator while Flow Launcher runs unprivileged (or vice-versa) so the window handle cannot be found; Everything crashed or was autostart-disabled; the user is on a session where Everything is installed per-machine but the IPC uses a per-user name.","solutions":["Install Everything v1.5+ and ensure it auto-starts on login (Tools > Options > General > Start with Windows).","Run Flow Launcher and Everything at the same privilege level so the IPC window is visible.","Set Settings.EverythingInstalledPath to the absolute path of Everything.exe so ClickToInstallEverythingAsync can launch it.","If Everything cannot be a hard dependency, switch Settings.IndexSearchEngine to WindowsIndex or DirectEnumeration."],"exampleFix":"// before - everything missing breaks every search\nawait ThrowIfEverythingNotAvailableAsync(token);\n\n// after - retry once after launching, then degrade\ntry { await ThrowIfEverythingNotAvailableAsync(token); }\ncatch (EngineNotAvailableException) when (!launchAttempted)\n{\n    launchAttempted = true;\n    await ClickToInstallEverythingAsync(default);\n    await ThrowIfEverythingNotAvailableAsync(token);\n}","handlingStrategy":"try-catch","validationCode":"if (Settings.IndexSearchEngine == IndexSearchEngineOption.Everything\n    && !File.Exists(Settings.EverythingInstalledPath))\n    logger.Warn(\"Everything.exe path is not set or missing.\");","typeGuard":"static async Task<bool> IsEverythingReachableAsync(CancellationToken t) { try { return await EverythingApi.IsEverythingRunningAsync(t); } catch { return false; } }","tryCatchPattern":"try { await manager.SearchAsync(query, token); }\ncatch (EngineNotAvailableException ex) when (ex.EngineName == \"Everything\") { ShowEngineNotAvailableResult(ex); }","preventionTips":["Auto-start Everything on login.","Run Everything and Flow Launcher at the same privilege level.","Set EverythingInstalledPath explicitly.","Offer WindowsIndex as a fallback engine when Everything is unavailable."],"tags":["everything","search-engine","engine-not-available","interop","csharp"],"backgroundTag":null,"analyzedSha":"7fc63b07bbaa10a0f0b2601487913fcba9ed24b0","analyzedAt":"2026-08-13T14:54:20.914Z","schemaVersion":2},"datasetVersion":"2026-08-13T19:17:28.613Z"}