Unable to update ha core from 2024.2.4 to 2024.7.4

I’m trying and failing to update ha core from 2024.2.4 to 2024.7.4.

I’m running Home Assistant Supervised

When I try in the UI the status changes to ‘updating’ it spins for a minute or so then finishes with Installed version remaining at 2024.2.4
If I try in the terminal using ‘ha core update’ I see
Processing…
… for a minute or so, then
Processing… Done
… and
Command completed successfully.
but again the version remains at 2024.2.4

In configuration.yaml I set
logger:
default: info
logs:
homeassistant.core: debug

…then tried an update via the UI again but all I see in the logs is:

2024-08-03 17:28:04.404 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=update, service=install, service_data=entity_id=update.home_assistant_core_update, backup=True, version=2024.7.4>
2024-08-03 17:28:04.405 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=update.home_assistant_core_update, old_state=<state update.home_assistant_core_update=on; auto_update=False, installed_version=2024.2.4, in_progress=False, latest_ver…n.png, friendly_name=Home Assistant Core Update, supported_features=11 @ 2024-08-03T17:25:49.386018+01:00>>
2024-08-03 17:28:04.425 INFO (MainThread) [homeassistant.components.recorder] Backup start notification, locking database for writes
2024-08-03 17:28:05.381 INFO (MainThread) [homeassistant.components.recorder] Backup end notification, releasing write lock
2024-08-03 17:28:05.382 INFO (Recorder) [homeassistant.components.recorder.core] Database queue backlog reached 0 entries during backup

I’ve tried ‘Restart Home Assistant’ and ‘Reboot System’ after the updates; this doesn’t help.
I’ve tried restarting in safe mode, then updating; this doesn’t help.
I’ve checked that there is plenty of free disk space on the server.

Any suggestions please?

Try smaller version upgrades, 2024.3.last one, then 2024.4.last one and so on. there were lots of changes over the last 5 months. Remember to do a backup also.

Ah yes… sorry… forgot to mention that I had tried updating to 2024.3.3, with the same results.