{"record":{"id":"93519afc49f300ae","repo":"diegosouzapw/OmniRoute","slug":"startup-backup-schedule-job-failed-to-start-non","errorCode":null,"errorMessage":"[STARTUP] backup schedule job failed to start (non-fatal):","messagePattern":"\\[STARTUP\\] backup schedule job failed to start \\(non-fatal\\):","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/instrumentation-node.ts","lineNumber":677,"sourceCode":"      // Reads the DB settings synchronously (non-blocking, never fatal). Must\n      // run after the DB is ready AND after getSettings/applyRuntimeSettings so\n      // memory backend config is hydrated.\n      import(\"@/lib/memory/index\")\n        .then((m) => m.initMemoryBackends())\n        .catch((err: unknown) => {\n          const msg = err instanceof Error ? err.message : String(err);\n          console.warn(\"[STARTUP] memory backend initialization failed (non-fatal):\", msg);\n        }),\n\n      // Backup schedule (#8513): execute `backup-schedule.json` cron server-side.\n      // Reads the schedule written by `omniroute backup auto enable` and fires\n      // `runBackupCommand` when the cron expression matches. Self-gated: no-op\n      // when no schedule file exists or the schedule is disabled. Never fatal.\n      import(\"@/lib/jobs/backupScheduleJob\")\n        .then((m) => m.startBackupScheduleJob())\n        .catch((err: unknown) => {\n          const msg = err instanceof Error ? err.message : String(err);\n          console.warn(\"[STARTUP] backup schedule job failed to start (non-fatal):\", msg);\n        }),\n\n      // Real-time dashboard WebSocket daemon (port 20132): powers Combo Studio Live,\n      // the Home live-pulse, and Live Compression. Side-effect import triggers the\n      // flag-gated auto-start (OMNIROUTE_ENABLE_LIVE_WS, default ON).\n      import(\"@/server/ws/liveServer\")\n        .then(() => {\n          console.log(\"[STARTUP] Live dashboard WebSocket daemon bootstrap invoked\");\n        })\n        .catch((err: unknown) => {\n          const msg = err instanceof Error ? err.message : String(err);\n          console.warn(\n            \"[STARTUP] Live dashboard WebSocket daemon failed to start (non-fatal):\",\n            msg\n          );\n        }),\n    ]);\n  }","sourceCodeStart":659,"sourceCodeEnd":695,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/instrumentation-node.ts#L659-L695","documentation":"Error \"[STARTUP] backup schedule job failed to start (non-fatal):\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/instrumentation-node.ts:677 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}