CHAT_OUTPUT_BEGIN
COMMAND_ID=GITEA-READER-LOCAL-SERVICE-FAILURE-247
STATUS=OK
RC=0
HOST=pve01
MODE=read-only
COMPONENT=cluster-audit
REFERENCE_REGISTER_CHECK=OK
REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e
ERROR_REGISTER_CHECK=OK
ERROR_REGISTER_SHA256=08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752
COMMAND_SHA256=ae1aaf0ada77397917d1e1194489455154bf3eb1429ec650e682c33461b84596
DUPLICATE_FAILED_COMMAND_BLOCKED=false
EXECUTION_STARTED=true
CHANGES_MADE=false
SANITIZED=yes
SECRETS_INCLUDED=no
PRIVATE_ADDRESSES_INCLUDED=no
RAW_EVIDENCE_SHA256=195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171
SANITIZED_OUTPUT_SHA256=195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171
OUTPUT_BEGIN
PREVIOUS_COMMAND_ID=GITEA-READER-LOCAL-SERVICE-INSTALL-246
=== EXACT_RAW_LOG ===
Created symlink '/etc/systemd/system/multi-user.target.wants/homelab-reader.service' → '/etc/systemd/system/homelab-reader.service'.
curl: (7) Failed to connect to 127.0.0.1 port 8788 after 0 ms: Could not connect to server
Traceback (most recent call last):
  File "<string>", line 158, in <module>
    health=subprocess.check_output(["/usr/bin/curl","-fsS",f"http://127.0.0.1:8788/{cap}/health"],text=True)
  File "/usr/lib/python3.13/subprocess.py", line 472, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
               **kwargs).stdout
               ^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/curl', '-fsS', 'http://127.0.0.1:8788/5a2edc1b3a3140d935e48ca0c0123849372dedff6fe55a48d25db7ab4de593b2/health']' returned non-zero exit status 7.
=== SERVICE_STATE ===
Result=success
ExecMainCode=0
ExecMainStatus=0
Id=homelab-reader.service
LoadState=not-found
ActiveState=inactive
SubState=dead
FragmentPath=
=== SERVICE_JOURNAL ===
2026-07-22T22:51:00+03:00 pve01 systemd[1]: Started homelab-reader.service - Homelab immutable capability reader.
2026-07-22T22:51:00+03:00 pve01 systemd[1]: Stopping homelab-reader.service - Homelab immutable capability reader...
2026-07-22T22:51:00+03:00 pve01 systemd[1]: homelab-reader.service: Deactivated successfully.
2026-07-22T22:51:00+03:00 pve01 systemd[1]: Stopped homelab-reader.service - Homelab immutable capability reader.
=== PORT_8788 ===
=== READER_FILES ===
ls: cannot access '/var/lib/homelab-reader': No such file or directory
ls: cannot access '/var/lib/homelab-reader/results': No such file or directory
ls: cannot access '/var/lib/homelab-reader/manifest.json': No such file or directory
ls: cannot access '/usr/local/sbin/homelab-reader-server': No such file or directory
ls: cannot access '/etc/systemd/system/homelab-reader.service': No such file or directory
=== PYTHON_SYNTAX ===
CHANGES_MADE=NO

OUTPUT_END
CHAT_OUTPUT_END
