Sqlite3 data base could not be validated

I have installed “Spook” and attended to most of the repairs. There are two I am unsure of what the mean??

The ones I was able to fix were automations with ghost entities and automations were usually disabled anyway so I though a disabled automation was just dormant but obviously has some impact??
I need another break before I continue. Sitting too long.. :slightly_frowning_face:

Step 15.

count: 6
entities:
  - update.tuya_lock_monitor_update
  - automation.fd_tamper_notification_mobile_phone
  - automation.office_movement
  - automation.pool_water_test
  - automation.foyer_light_relay_unavailable
  - automation.workshop_ups_status_discharging_notification

Step 15.

count: 6
entities:
  - update.tuya_lock_monitor_update
  - automation.fd_tamper_notification_mobile_phone
  - automation.office_movement
  - automation.pool_water_test
  - automation.foyer_light_relay_unavailable
  - automation.workshop_ups_status_discharging_notification

Step 17.
When I try to do this step it cannot find the entities identified in step 14?
Step 18 & 19 as I said they are still reporting???
Step 20

## System Information

version | core-2026.8.2
-- | --
installation_type | Home Assistant OS
dev | false
hassio | true
docker | true
container_arch | amd64
user | root
virtualenv | false
python_version | 3.14.6
os_name | Linux
os_version | 6.18.39-haos
arch | x86_64
timezone | Australia/Brisbane
config_dir | /config

<details><summary>Home Assistant Cloud</summary>

logged_in | true
-- | --
subscription_expiration | January 2, 2027 at 10:00 AM
relayer_connected | true
relayer_region | ap-southeast-1
remote_enabled | true
remote_connected | true
remote_server | ap-southeast-1-1.ui.nabu.casa
alexa_enabled | true
google_enabled | true
cloud_ice_servers_enabled | true
certificate_status | ready
instance_id | c293b45ae1534217acd2582c2321011d
iot_state | connected
iot_tries | 0
certificate_expire_date | October 16, 2026 at 11:15 PM
certificate_fingerprint | 44d4676ee30d14833740aa466372b347b1768138
certificate_alternative_names | undefined
can_reach_cert_server | ok
can_reach_cloud_auth | ok
can_reach_cloud | ok

</details>

<details><summary>HACS</summary>

GitHub API | ok
-- | --
GitHub Content | ok
GitHub Web | ok
HACS Data | ok
GitHub API Calls Remaining | 5000
Installed Version | 2.0.5
Stage | running
Available Repositories | 3927
Downloaded Repositories | 11

</details>

<details><summary>Home Assistant Supervisor</summary>

host_os | Home Assistant OS 18.2
-- | --
update_channel | stable
supervisor_version | supervisor-2026.07.5
agent_version | 1.10.0
docker_version | 29.6.2
disk_total | 228.5 GB
disk_used | 53.2 GB
nameservers | 2001:8001:6236:f400::1, 192.168.0.1
healthy | true
supported | true
host_connectivity | true
supervisor_connectivity | true
ntp_synchronized | true
virtualization | 
board | generic-x86-64
disk_life_time | 9 %
supervisor_api | ok
version_api | ok
installed_addons | File editor (6.1.0), Z-Wave JS (1.7.1), Samba share with features (12.10.0.1), ESPHome Device Builder (2026.7.4), InfluxDB (5.0.2), Grafana (12.1.0), Mosquitto broker (7.1.0), Terminal & SSH (10.3.0)

</details>

<details><summary>Dashboards</summary>

dashboards | 4
-- | --
resources | 7
views | 15
mode | storage

</details>

<details><summary>Network Configuration</summary>

adapters | lo (disabled), eno1 (enabled, default, auto), hassio (disabled), docker0 (disabled), veth4cd4ac2 (disabled), veth0ad4f58 (disabled), veth3f1167d (disabled), veth78e908c (disabled), veth3c4b432 (disabled), vetheb9338d (disabled), veth7557f1f (disabled), veth8df6196 (disabled), veth73b050b (disabled), veth7746845 (disabled), veth986e7d3 (disabled)
-- | --
ipv4_addresses | lo (127.0.0.1/8), eno1 (192.168.0.204/24), hassio (172.30.32.1/23), docker0 (172.30.232.1/23), veth4cd4ac2 (), veth0ad4f58 (), veth3f1167d (), veth78e908c (), veth3c4b432 (), vetheb9338d (), veth7557f1f (), veth8df6196 (), veth73b050b (), veth7746845 (), veth986e7d3 ()
ipv6_addresses | lo (::1/128), eno1 (2001:8001:6236:f400:acca:1f11:cb54:9074/64, fd96:f09b:4de:cb2:1e1f:b454:188b:b92a/64, fe80::dafb:e3f2:6435:2e01/64), hassio (fd0c:ac1e:2100::1/48, fe80::d0be:b4ff:febf:4e7b/64), docker0 (fd3e:ad21:bcaa::1/64, fe80::70d9:2bff:fed1:97cc/64), veth4cd4ac2 (fe80::be:81ff:fed5:2366/64), veth0ad4f58 (fe80::8cef:ff:fe03:fd88/64), veth3f1167d (fe80::f459:81ff:fec5:4458/64), veth78e908c (fe80::7853:37ff:fe49:8d7f/64), veth3c4b432 (fe80::88c:a9ff:fe97:3656/64), vetheb9338d (fe80::1c66:6cff:fe82:721f/64), veth7557f1f (fe80::d44c:25ff:fe5c:9b20/64), veth8df6196 (fe80::c13:83ff:fe1e:c693/64), veth73b050b (fe80::70f8:aeff:fe0b:d62/64), veth7746845 (fe80::5056:c0ff:fedd:26b3/64), veth986e7d3 (fe80::84eb:d6ff:fec7:7c73/64)
announce_addresses | 192.168.0.204, 2001:8001:6236:f400:acca:1f11:cb54:9074, fd96:f09b:4de:cb2:1e1f:b454:188b:b92a, fe80::dafb:e3f2:6435:2e01

</details>

<details><summary>Recorder</summary>

oldest_recorder_run | August 10, 2026 at 6:33 AM
-- | --
current_recorder_run | August 16, 2026 at 9:55 AM
estimated_db_size | 654.50 MiB
database_engine | sqlite
database_version | 3.53.2

</details>

<details><summary>Sonoff</summary>

version | 3.12.2 (871119a)
-- | --
cloud_online | 10 / 13
local_online | 8 / 9

</details>

Data base size has decreased by 154,344KB.

I feel I have a powerful tool but I really don’t know what I am doing. :slightly_smiling_face:the system seems to be still functioning

This is from the HA DOCO.

H.265 also works in Edge on Windows when “HEVC Video Extensions” is installed.

0n my HIKVision Cameras I have 3 channels Channel 1 and 3 are H265 and channel 2 is H264.
I only just noticed this restriction of the Edge Browser and this is what I am using to view HA. So I paid my$1.45 AU for the extension and hopefully this may help with errors in log file???

I just read that Chrome relies on this extension to be installed in Windows for H265

Just looked at the Log File and Guess what??

Logger: homeassistant.components.stream.stream.camera.hikvision_ds_2de3304w_de_thirdstream
Source: components/stream/__init__.py:492
Integration: Stream (documentation, issues)
First occurred: 4:11:18 PM (2 occurrences)
Last logged: 4:22:34 PM

Error from stream worker: Error opening stream (Invalid data found when processing input, rtsp://****:****@192.168.0.190:554/Streaming/Channels/103?transportmode=unicast&profile=Profile_3)

Logger: homeassistant.components.stream.stream.camera.hikvision_ds_2cd2085g1_i_mainstream
Source: components/stream/__init__.py:492
Integration: Stream (documentation, issues)
First occurred: 4:16:12 PM (1 occurrence)
Last logged: 4:16:12 PM

Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.65:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1)

This is my Back door Camera and Balcony camera but others are the same.

I read this on AI

Enable Digest/basic to ensure HA can successfully login and I have done this

I have given the User I created “operator” rights

Well HA just restarted again.
It stayed up from 2026-08-16 09:56 to 2026-08-17 17:42.

Logger: homeassistant.components.recorder.util
Source: components/recorder/util.py:271
Integration: Recorder (documentation, issues)
First occurred: 5:42:30 PM (1 occurrence)
Last logged: 5:42:30 PM

The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly

In your post just after step 10, the following has a lot of entries for “sensor.indivual_sums”. What integration is this associated with - I’m noting the spelling of ‘individual’ is missing two letters - possibly deliberately, possibly not? (Hint: Look in Settings/Devices and Services/Entities, and you can search there)

It seems the pruning has reduced the database size somewhat. Once the purge database routines convert some of the data to long term statistics, it should shrink even further. When you go to Settings/Tools/Statistics, are there any Entities listed on the right hand side that have a “Fix Issue” next to them (hint: click on the issue column heading to sort them by that). Does that list correspond to that listed by you earlier? If you don’t need that data to be retained for that entity, click on the ‘fix issues’ button and delete the long term history data. Repeat for all unwanted entities. Of course, don’t purge entities you want to keep statistics for.

Is there anything just prior to the latest crash in the system error logs to indicate a crashed task, memory, disk, or other errors? That is what we need to isolate, as it appears the database error we initially started with is a consequence of that. Look in the other error logs you previously downloaded - any events prior to crash that are similar?

For clarity, the database checking subroutines run every time you start your system. Have there been any times between the time it last crashed and this time where you have restarted the system and the validated error has NOT appeared? Was 2026-08-16 09:56 the time it crashed before, or the time it was last restarted by you?

Spook really rummages around and finds lots of obscure tidbits that don’t quite match up. Click on the Spook message and it will tell you where to look, and what is the problem (probably dashboards and entities that need to be disabled or deleted). Do you have any missing entries on those two dashboards listed when you open them from Settings/Dashboards? Do they correspond to disabled or unused entities? Those prompt will disappear once you remedy the underlying issue, and Spook will sit there in the background, silently checking all is well.

Other than the two entries about your cameras that appear in the system log you have quoted, are there any recurring errors being logged? Is your Hikvision Integration now working properly?

What HACS addons/integrations do you have installed?

What Have I downloaded in HACS
Screenshot of my HACS

“sensor.indivual_sums”
I have tracked this down to a Helper but don’t remember if I created it or it was done for me by some process??

I saw this in the HA core log. It appears that something is missing form the file that contains the RF433 codes for the ceiling fan but the advice is not to edit the created files??

Logger: homeassistant.components.fan
Source: helpers/entity_platform.py:499
Integration: Fan (documentation, issues)
First occurred: August 18, 2026 at 10:32:41 PM (1 occurrence)
Last logged: August 18, 2026 at 10:32:41 PM

Error while setting up smartir platform for fan: 'manufacturer'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 499, in _async_setup_platform
    await asyncio.shield(awaitable)
  File "/config/custom_components/smartir/fan.py", line 86, in async_setup_platform
    async_add_entities([SmartIRFan(
                        ~~~~~~~~~~^
        hass, config, device_data
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )])
    ^
  File "/config/custom_components/smartir/fan.py", line 100, in __init__
    self._manufacturer = device_data['manufacturer']
                         ~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'manufacturer'

15:41hrs 19/8/2026
I have since removed(commented out) this smartir FAN code from configuration.yaml as it looked like it was causing this error. I can do without it and if it proves to be the issue then I know where to start.
Restarted HA

Probably created a while ago for your energy dashboard, a total of all entities to be reported. Have a look in that dashboard and see if it is mentioned there, and does it reflect all your power consumption sensors, with no power sensor omissions or references to missing entities? It may be superfluous (it should just automagically add all the individual power sensors) in which case remove it from the dashboard and from entities too.

Did the startup checking routine add to the system log for any database errors about the time you restarted?

I have downloaded the log but cannot see any database errors. I did a search for database and it found none.

Fingers crossed it survives the database maintenance tonight.

Well you should have crossed them better…
It fell Over again


llback(frame_name, result)
  File "/usr/local/lib/python3.14/site-packages/bellows/ezsp/__init__.py", line 593, in handle_callback
    LOGGER.exception("Exception running handler", exc_info=e)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1555, in exception
    self.error(msg, *args, exc_info=exc_info, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1663, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args,
                             exc_info, func, extra, sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1632, in makeRecord
    rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func,
                         sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 355, in __init__
    self.threadName = threading.current_thread().name
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/threading.py", line 1143, in name
    assert self._initialized, "Thread.__init__() not called"
           ^^^^^^^^^^^^^^^^^
None: Thread.__init__() not called
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.14/asyncio/events.py", line 94, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.14/site-packages/bellows/thread.py", line 112, in check_result_wrapper
    result = call()
  File "/usr/local/lib/python3.14/site-packages/bellows/ezsp/__init__.py", line 375, in frame_received
    LOGGER.warning("Failed to parse frame, ignoring")
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1532, in warning
    self._log(WARNING, msg, args, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1663, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args,
                             exc_info, func, extra, sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1632, in makeRecord
    rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func,
                         sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 355, in __init__
    self.threadName = threading.current_thread().name
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/threading.py", line 1143, in name
    assert self._initialized, "Thread.__init__() not called"
           ^^^^^^^^^^^^^^^^^
None: Thread.__init__() not called
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 1937, in call_exception_handler
    ctx.run(self._exception_handler, self, context)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 239, in _async_loop_exception_handler
    logger.error(
    ...<4 lines>...
    )
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1663, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args,
                             exc_info, func, extra, sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1632, in makeRecord
    rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func,
                         sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 355, in __init__
    self.threadName = threading.current_thread().name
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/threading.py", line 1143, in name
    assert self._initialized, "Thread.__init__() not called"
           ^^^^^^^^^^^^^^^^^
None: Thread.__init__() not called
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 1946, in call_exception_handler
    self.default_exception_handler({
    ...<3 lines>...
    })
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 1885, in default_exception_handler
    logger.error('\n'.join(log_lines), exc_info=exc_info)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1663, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args,
                             exc_info, func, extra, sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1632, in makeRecord
    rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func,
                         sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 355, in __init__
    self.threadName = threading.current_thread().name
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/threading.py", line 1143, in name
    assert self._initialized, "Thread.__init__() not called"
           ^^^^^^^^^^^^^^^^^
None: Thread.__init__() not called
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/runner.py", line 290, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 706, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 677, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 2056, in _run_once
    handle._run()
  File "/usr/local/lib/python3.14/asyncio/events.py", line 138, in _run
    return super()._run()
           ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/asyncio/events.py", line 109, in _run
    self._loop.call_exception_handler(context)
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 1956, in call_exception_handler
    logger.error('Exception in default exception handler '
    ...<2 lines>...
                 exc_info=True)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1663, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args,
                             exc_info, func, extra, sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1632, in makeRecord
    rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func,
                         sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 355, in __init__
    self.threadName = threading.current_thread().name
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/threading.py", line 1143, in name
    assert self._initialized, "Thread.__init__() not called"
           ^^^^^^^^^^^^^^^^^
None: Thread.__init__() not called
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 341, in _async_dispatch_entity_id_event
    hass.async_run_hass_job(job, event)
  File "/usr/src/homeassistant/homeassistant/core.py", line 935, in async_run_hass_job
    hassjob.target(*args)
  File "/usr/src/homeassistant/homeassistant/components/utility_meter/sensor.py", line 500, in async_reading
    _LOGGER.warning(
    ...<4 lines>...
    )
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1532, in warning
    self._log(WARNING, msg, args, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1663, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args,
                             exc_info, func, extra, sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1632, in makeRecord
    rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func,
                         sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 355, in __init__
    self.threadName = threading.current_thread().name
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/threading.py", line 1143, in name
    assert self._initialized, "Thread.__init__() not called"
           ^^^^^^^^^^^^^^^^^
None: Thread.__init__() not called
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1678, in _async_dispatch
    self._hass.async_run_hass_job(job, event)
  File "/usr/src/homeassistant/homeassistant/core.py", line 935, in async_run_hass_job
    hassjob.target(*args)
  File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 343, in _async_dispatch_entity_id_event
    _LOGGER.exception(
    ...<3 lines>...
    )
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1555, in exception
    self.error(msg, *args, exc_info=exc_info, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1663, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args,
                             exc_info, func, extra, sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1632, in makeRecord
    rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func,
                         sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 355, in __init__
    self.threadName = threading.current_thread().name
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/threading.py", line 1143, in name
    assert self._initialized, "Thread.__init__() not called"
           ^^^^^^^^^^^^^^^^^
None: Thread.__init__() not called
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 202, in async_update_listeners
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/shelly/entity.py", line 388, in _update_callback
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1061, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1294, in _async_write_ha_state
    self.hass.states.async_set_internal(
    ...<7 lines>...
    )
  File "/usr/src/homeassistant/homeassistant/core.py", line 2531, in async_set_internal
    self._bus.async_fire_internal(
    ...<4 lines>...
    )
  File "/usr/src/homeassistant/homeassistant/core.py", line 1635, in async_fire_internal
    self._async_dispatch(event_type, event_data, origin, context, time_fired)
  File "/usr/src/homeassistant/homeassistant/core.py", line 1680, in _async_dispatch
    _LOGGER.exception("Error running job: %s", job)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1555, in exception
    self.error(msg, *args, exc_info=exc_info, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1663, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args,
                             exc_info, func, extra, sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1632, in makeRecord
    rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func,
                         sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 355, in __init__
    self.threadName = threading.current_thread().name
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/threading.py", line 1143, in name
    assert self._initialized, "Thread.__init__() not called"
           ^^^^^^^^^^^^^^^^^
None: Thread.__init__() not called
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.14/asyncio/events.py", line 94, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.14/asyncio/selector_events.py", line 1258, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/usr/local/lib/python3.14/site-packages/aioshelly/block_device/coap.py", line 220, in datagram_received
    self.subscriptions[device_id](msg)
  File "/usr/local/lib/python3.14/site-packages/aioshelly/block_device/device.py", line 223, in _coap_message_received
    self._update_listener(self, BlockUpdateType.ONLINE)
  File "/usr/src/homeassistant/homeassistant/components/shelly/coordinator.py", line 467, in _async_handle_update
    self.async_set_updated_data(None)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 620, in async_set_updated_data
    self.async_update_listeners()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in async_update_listeners
    self.logger.exception(
    ...<3 lines>...
    )
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1555, in exception
    self.error(msg, *args, exc_info=exc_info, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1663, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args,
                             exc_info, func, extra, sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1632, in makeRecord
    rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func,
                         sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 355, in __init__
    self.threadName = threading.current_thread().name
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/threading.py", line 1143, in name
    assert self._initialized, "Thread.__init__() not called"
           ^^^^^^^^^^^^^^^^^
None: Thread.__init__() not called
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 1937, in call_exception_handler
    ctx.run(self._exception_handler, self, context)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 239, in _async_loop_exception_handler
    logger.error(
    ...<4 lines>...
    )
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1663, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args,
                             exc_info, func, extra, sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1632, in makeRecord
    rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func,
                         sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 355, in __init__
    self.threadName = threading.current_thread().name
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/threading.py", line 1143, in name
    assert self._initialized, "Thread.__init__() not called"
           ^^^^^^^^^^^^^^^^^
None: Thread.__init__() not called
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 1946, in call_exception_handler
    self.default_exception_handler({
    ...<3 lines>...
    })
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 1885, in default_exception_handler
    logger.error('\n'.join(log_lines), exc_info=exc_info)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1663, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args,
                             exc_info, func, extra, sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1632, in makeRecord
    rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func,
                         sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 355, in __init__
    self.threadName = threading.current_thread().name
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/threading.py", line 1143, in name
    assert self._initialized, "Thread.__init__() not called"
           ^^^^^^^^^^^^^^^^^
None: Thread.__init__() not called
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/runner.py", line 293, in run
    _cancel_all_tasks_with_timeout(loop, TASK_CANCELATION_TIMEOUT)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 312, in _cancel_all_tasks_with_timeout
    loop.run_until_complete(asyncio.wait(to_cancel, timeout=timeout))
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 706, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 677, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 2056, in _run_once
    handle._run()
  File "/usr/local/lib/python3.14/asyncio/events.py", line 109, in _run
    self._loop.call_exception_handler(context)
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 1956, in call_exception_handler
    logger.error('Exception in default exception handler '
    ...<2 lines>...
                 exc_info=True)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1663, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args,
                             exc_info, func, extra, sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1632, in makeRecord
    rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func,
                         sinfo)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 355, in __init__
    self.threadName = threading.current_thread().name
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/threading.py", line 1143, in name
    assert self._initialized, "Thread.__init__() not called"
           ^^^^^^^^^^^^^^^^^
None: Thread.__init__() not called
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "<frozen runpy>", line 203, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 227, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 213, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 298, in run
    loop.close()
  File "/usr/local/lib/python3.14/asyncio/unix_events.py", line 71, in close
    super().close()
  File "/usr/local/lib/python3.14/asyncio/selector_events.py", line 105, in close
    super().close()
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 750, in close
    executor.shutdown(wait=False)
  File "/usr/src/homeassistant/homeassistant/util/executor.py", line 76, in shutdown
    self.join_threads_or_timeout()
  File "/usr/src/homeassistant/homeassistant/util/executor.py", line 91, in join_threads_or_timeout
    remaining_threads -= join_or_interrupt_threads(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^
  File "/usr/src/homeassistant/homeassistant/util/executor.py", line 43, in join_or_interrupt_threads
    thread.join(timeout=timeout_per_thread)
  File "/usr/local/lib/python3.14/threading.py", line 1124, in join
    raise RuntimeError("cannot join thread before it is started")
None: cannot join thread before it is started
Exception ignored on threading shutdown:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/thread.py", line 24, in deadlock_safe_shutdown
    and thread.is_alive()
  File "/usr/local/lib/python3.14/threading.py", line 1185, in is_alive
    assert self._initialized, "Thread.__init__() not called"
AssertionError: Thread.__init__() not called
Exception ignored in atexit callback <bound method finalize._exitfunc of <class 'weakref.finalize'>>:
Traceback (most recent call last):
  File "/usr/local/lib/python3.14/weakref.py", line 568, in _exitfunc
    sys.excepthook(*sys.exc_info())
  File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 631, in <lambda>
    sys.excepthook = lambda *args: logging.getLogger().exception(
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1555, in exception
2026-08-20 11:28:33.868 ERROR (stream_worker) [root] Uncaught thread exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.14/threading.py", line 1082, in _bootstrap_inner
    self._context.run(self.run)
  File "/usr/local/lib/python3.14/threading.py", line 1024, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 482, in _run_worker
    stream_worker(
    ...<6 lines>...
    )
  File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 756, in stream_worker
    muxer.mux_packet(packet)
  File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 304, in mux_packet
    self.check_flush_part(packet)
  File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 343, in check_flush_part
    self.flush(packet, last_part=False)
  File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 393, in flush
    self._hass.loop.call_soon_threadsafe(
    ...<17 lines>...
    )
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 872, in call_soon_threadsafe
    self._check_closed()
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 550, in _check_closed
    raise RuntimeError('Event loop is closed')
None: Event loop is closed
    self.error(msg, *args, exc_info=exc_info, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1663, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args,
  File "/usr/local/lib/python3.14/logging/__init__.py", line 1632, in makeRecord
    rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func,
  File "/usr/local/lib/python3.14/logging/__init__.py", line 355, in __init__
    self.threadName = threading.current_thread().name
  File "/usr/local/lib/python3.14/threading.py", line 1143, in name
    assert self._initialized, "Thread.__init__() not called"
AssertionError: Thread.__init__() not called
Exception ignored in atexit callback <function shutdown at 0x36af84ee290>:
Traceback (most recent call last):
  File "/usr/local/lib/python3.14/logging/__init__.py", line 2246, in shutdown
    h.close()
  File "/usr/src/homeassistant/homeassistant/util/logging.py", line 124, in close
    self.listener.stop()
  File "/usr/local/lib/python3.14/logging/handlers.py", line 1644, in stop
    self._thread.join()
  File "/usr/local/lib/python3.14/threading.py", line 1124, in join
    raise RuntimeError("cannot join thread before it is started")
RuntimeError: cannot join thread before it is started
[01:28:37] INFO: Home Assistant Core finish process exit code 1
[01:28:37] INFO: Home Assistant Core service shutdown

I think I need to delete the cameras and start again with them. They went for ages with no problem now this.
I had the HIKVision integration and ONVIF running. I have deleted the HIKVision Integration and will use only the ONVIF.
I cannot see the need for both and ONVIF is usually supported on most cameras.
I still think I need to reinstall all but one camera on ONVIF as there are still permission issues in the log.
Anyway… Time for other things just now. get back to it when I can but it is running.
I also just did a purge and pack

I have been getting this for a while too… Have no idea what it is referring to but it does reference cameras..

Logger: aiohttp.server
Source: /usr/local/lib/python3.14/site-packages/aiohttp/web_protocol.py:546
First occurred: 6:04:40 AM (1 occurrence)
Last logged: 6:04:40 AM

Error handling request from 127.0.0.1
Traceback (most recent call last):
  File "/usr/local/lib/python3.14/site-packages/go2rtc_client/exceptions.py", line 56, in _func
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/site-packages/go2rtc_client/rest.py", line 249, in get_jpeg_snapshot
    resp = await self._client.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        "GET", f"{_API_PREFIX}/frame.jpeg", params=params
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.14/site-packages/go2rtc_client/rest.py", line 67, in request
    resp.raise_for_status()
    ~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.14/site-packages/aiohttp/client_reqrep.py", line 655, in raise_for_status
    raise ClientResponseError(
    ...<5 lines>...
    )
aiohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url='http://localhost:11984/api/frame.jpeg?src=onvif_60%253A56%253Aee%253A54%253A35%253Aec%2523Profile_0&width=1026&height=576'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.14/site-packages/aiohttp/web_protocol.py", line 575, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/site-packages/aiohttp/web_app.py", line 559, in _handle
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 96, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 80, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 24, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 88, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 261, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 39, in headers_middleware
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 92, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 875, in get
    return await self.handle(request, camera)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 894, in handle
    image = await _async_get_image(
            ^^^^^^^^^^^^^^^^^^^^^^^
    ...<4 lines>...
    )
    ^
  File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 188, in _async_get_image
    await _async_get_stream_image(
        camera, width=width, height=height, wait_for_next_keyframe=False
    )
  File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 235, in _async_get_stream_image
    image := await provider.async_get_image(camera, width=width, height=height)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/go2rtc/__init__.py", line 362, in async_get_image
    return await self._rest_client.get_jpeg_snapshot(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        get_camera_identifier(camera), width, height
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.14/site-packages/go2rtc_client/exceptions.py", line 66, in _func
    raise Go2RtcClientError from exc
go2rtc_client.exceptions.Go2RtcClientError

I saw lots of red in the HA core log coming from the cameras.
I have disabled all of the HIKVision cameras just to see if errors go away.

With all my HIKVision cameras disabled I still get this in my logs???

2026-08-21 11:24:32.961 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.hikvision_ds_2cd2065g1_i_substream] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/102?transportmode=unicast&profile=Profile_2)
2026-08-21 11:26:41.104 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.hikvision_ds_2cd2065g1_i_mainstream] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1)
2026-08-21 11:27:30.736 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.pool_pool_camera] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/1)
2026-08-21 11:27:37.964 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.hikvision_ds_2cd2065g1_i_substream] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/102?transportmode=unicast&profile=Profile_2)
2026-08-21 11:28:00.343 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.hikvision_ds_2cd2065g1_i_thirdstream] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/103?transportmode=unicast&profile=Profile_3)
2026-08-21 11:30:28.000 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [3163231500528] Error handling message: Camera not found (home_assistant_error) Ron Taylor from fe80::b635:3361:b70f:5a43 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 Edg/151.0.0.0)
2026-08-21 11:30:28.003 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [3163231500528] Error handling message: Camera not found (home_assistant_error) Ron Taylor from fe80::b635:3361:b70f:5a43 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 Edg/151.0.0.0)
2026-08-21 11:31:32.984 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.hikvision_ds_2cd2065g1_i_substream] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/102?transportmode=unicast&profile=Profile_2)
2026-08-21 11:33:21.148 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.hikvision_ds_2cd2065g1_i_mainstream] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1)
2026-08-21 11:33:40.864 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.pool_pool_camera] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/1)
2026-08-21 11:34:17.989 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.hikvision_ds_2cd2065g1_i_substream] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/102?transportmode=unicast&profile=Profile_2)
2026-08-21 11:34:40.429 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.hikvision_ds_2cd2065g1_i_thirdstream] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/103?transportmode=unicast&profile=Profile_3)
2026-08-21 11:38:43.008 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.hikvision_ds_2cd2065g1_i_substream] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/102?transportmode=unicast&profile=Profile_2)
2026-08-21 11:40:00.903 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.pool_pool_camera] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/1)
2026-08-21 11:40:11.291 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.hikvision_ds_2cd2065g1_i_mainstream] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1)
2026-08-21 11:41:08.016 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.hikvision_ds_2cd2065g1_i_substream] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/102?transportmode=unicast&profile=Profile_2)
2026-08-21 11:41:30.629 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.hikvision_ds_2cd2065g1_i_thirdstream] Error from stream worker: Error opening stream (Server returned 5XX Server Error reply, rtsp://****:****@192.168.0.45:554/Streaming/Channels/103?transportmode=unicast&profile=Profile_3)

I had to remove all my cameras from my dashboard due to the errors above causing massive errors and I am wondering if this PATCH in the latest 2026.8.3 might fix???

My HA has now been up for 24hrs and logs are looking much better so I will give it another day and then install this patch as installing the patch will cause a restart and I want to see if it does stay up for 48hrs (Midday 23-08-2026 +10 GMT AU)

Something I just realised. I have 7 cameras (6xHIKVision and 1x Sonoff PT2). I forgot about the Sonoff PT2 Camera. It does not have a web interface but does use ONVIF/RTSP. This camera is not giving any errors and is still working on the HA dashboard.
WHY?

It looks like the go2rtc integration is trying to get a snapshot and failing, and this has ongoing downstream consequences.

I think it might do one overnight on a Sunday as well (It says it does it every second Sunday, but not sure if this is the second one). Wait and see.

A lot of entries in that error log you posted. After you deleted your database, how did you recreate everything? By hand, autoconfiguration, or with a restore?

Try that new core update as it may also remedy some of your go2rtc issues.