{
  "schema_version": 1,
  "channel": "homelab-runtime",
  "command_id": "GITEA-READER-LOCAL-SERVICE-FAILURE-247",
  "status": "OK",
  "rc": 0,
  "host": "pve01",
  "mode": "read-only",
  "component": "cluster-audit",
  "started_at_utc": "2026-07-22T19:52:35Z",
  "finished_at_utc": "2026-07-22T19:52:36Z",
  "reference_register_checked": true,
  "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e",
  "error_register_checked": true,
  "error_register_sha256": "08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752",
  "command_sha256": "ae1aaf0ada77397917d1e1194489455154bf3eb1429ec650e682c33461b84596",
  "duplicate_failed_command_blocked": false,
  "block_reason": null,
  "execution_started": true,
  "changes_made": false,
  "sanitized": true,
  "secrets_included": false,
  "private_addresses_included": false,
  "raw_evidence_retained_locally": true,
  "raw_evidence_sha256": "195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171",
  "sanitized_output_sha256": "195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171",
  "output_truncated_in_json": false,
  "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt",
  "output": "PREVIOUS_COMMAND_ID=GITEA-READER-LOCAL-SERVICE-INSTALL-246\n=== EXACT_RAW_LOG ===\nCreated symlink '/etc/systemd/system/multi-user.target.wants/homelab-reader.service' → '/etc/systemd/system/homelab-reader.service'.\ncurl: (7) Failed to connect to 127.0.0.1 port 8788 after 0 ms: Could not connect to server\nTraceback (most recent call last):\n  File \"<string>\", line 158, in <module>\n    health=subprocess.check_output([\"/usr/bin/curl\",\"-fsS\",f\"http://127.0.0.1:8788/{cap}/health\"],text=True)\n  File \"/usr/lib/python3.13/subprocess.py\", line 472, in check_output\n    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n           ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n               **kwargs).stdout\n               ^^^^^^^^^\n  File \"/usr/lib/python3.13/subprocess.py\", line 577, in run\n    raise CalledProcessError(retcode, process.args,\n                             output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command '['/usr/bin/curl', '-fsS', 'http://127.0.0.1:8788/5a2edc1b3a3140d935e48ca0c0123849372dedff6fe55a48d25db7ab4de593b2/health']' returned non-zero exit status 7.\n=== SERVICE_STATE ===\nResult=success\nExecMainCode=0\nExecMainStatus=0\nId=homelab-reader.service\nLoadState=not-found\nActiveState=inactive\nSubState=dead\nFragmentPath=\n=== SERVICE_JOURNAL ===\n2026-07-22T22:51:00+03:00 pve01 systemd[1]: Started homelab-reader.service - Homelab immutable capability reader.\n2026-07-22T22:51:00+03:00 pve01 systemd[1]: Stopping homelab-reader.service - Homelab immutable capability reader...\n2026-07-22T22:51:00+03:00 pve01 systemd[1]: homelab-reader.service: Deactivated successfully.\n2026-07-22T22:51:00+03:00 pve01 systemd[1]: Stopped homelab-reader.service - Homelab immutable capability reader.\n=== PORT_8788 ===\n=== READER_FILES ===\nls: cannot access '/var/lib/homelab-reader': No such file or directory\nls: cannot access '/var/lib/homelab-reader/results': No such file or directory\nls: cannot access '/var/lib/homelab-reader/manifest.json': No such file or directory\nls: cannot access '/usr/local/sbin/homelab-reader-server': No such file or directory\nls: cannot access '/etc/systemd/system/homelab-reader.service': No such file or directory\n=== PYTHON_SYNTAX ===\nCHANGES_MADE=NO\n"
}
