Core not starting

Hi all

After a reboot my Home Assistant will not start Core.

I can access SSH and the Samba share. Pew!

When looking in the Core log this is what I see, and I can’t for the life of me find out how to resolve Core not wanting to start.

[core-ssh ~]$ ha core logs
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 216, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 171, in main
    args = get_arguments()
           ^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 81, in get_arguments
    from . import config as config_util
  File "/usr/src/homeassistant/homeassistant/config.py", line 20, in <module>
    from . import auth
  File "/usr/src/homeassistant/homeassistant/auth/__init__.py", line 10, in <module>
    import jwt
  File "/usr/local/lib/python3.11/site-packages/jwt/__init__.py", line 9, in <module>
    from .api_jwt import PyJWT, decode, encode
  File "/usr/local/lib/python3.11/site-packages/jwt/api_jwt.py", line 5, in <module>
    from calendar import timegm
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 936, in exec_module
  File "<frozen importlib._bootstrap_external>", line 1069, in get_code
  File "<frozen importlib._bootstrap_external>", line 729, in _compile_bytecode
ValueError: bad marshal data (unknown type code)
[18:13:16] INFO: Home Assistant Core finish process exit code 1
[18:13:16] INFO: Home Assistant Core service shutdown
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
[core-ssh ~]$ ha core info
arch: armv7
audio_input: None
audio_output: None
boot: true
image: ghcr.io/home-assistant/raspberrypi3-homeassistant
ip_address: 172.30.32.1
machine: raspberrypi3
port: 8123
ssl: false
update_available: false
version: 2023.9.3
version_latest: 2023.9.3
watchdog: true
[core-ssh ~]$ ha supervisor info
addons:
- icon: true
  name: Node-RED
  repository: a0d7b954
  slug: a0d7b954_nodered
  state: started
  update_available: false
  version: 14.5.0
  version_latest: 14.5.0
- icon: true
  name: Samba share
  repository: core
  slug: core_samba
  state: started
  update_available: false
  version: 10.0.2
  version_latest: 10.0.2
- icon: true
  name: Home Assistant Google Drive Backup
  repository: cebe7a76
  slug: cebe7a76_hassio_google_drive_backup
  state: started
  update_available: false
  version: 0.111.1
  version_latest: 0.111.1
- icon: true
  name: Terminal & SSH
  repository: core
  slug: core_ssh
  state: started
  update_available: false
  version: 9.7.1
  version_latest: 9.7.1
- icon: true
  name: File editor
  repository: core
  slug: core_configurator
  state: started
  update_available: false
  version: 5.6.0
  version_latest: 5.6.0
- icon: true
  name: Mosquitto broker
  repository: core
  slug: core_mosquitto
  state: started
  update_available: false
  version: 6.3.1
  version_latest: 6.3.1
- icon: true
  name: Zigbee2MQTT
  repository: 45df7312
  slug: 45df7312_zigbee2mqtt
  state: error
  update_available: false
  version: 1.33.0-1
  version_latest: 1.33.0-1
- icon: true
  name: MariaDB
  repository: core
  slug: core_mariadb
  state: started
  update_available: false
  version: 2.6.1
  version_latest: 2.6.1
- icon: true
  name: phpMyAdmin
  repository: a0d7b954
  slug: a0d7b954_phpmyadmin
  state: started
  update_available: false
  version: 0.8.8
  version_latest: 0.8.8
- icon: true
  name: ESPHome
  repository: 5c53de3b
  slug: 5c53de3b_esphome
  state: started
  update_available: true
  version: 2023.8.3
  version_latest: 2023.9.2
addons_repositories:
- name: Local add-ons
  slug: local
- name: 'Home Assistant Add-on: Zigbee2MQTT'
  slug: 45df7312
- name: Home Assistant Google Drive Backup Repository
  slug: cebe7a76
- name: ESPHome
  slug: 5c53de3b
- name: Official add-ons
  slug: core
- name: Home Assistant Community Add-ons
  slug: a0d7b954
arch: armv7
auto_update: true
channel: stable
debug: false
debug_block: false
diagnostics: false
healthy: true
ip_address: 172.30.32.2
logging: info
supported: true
timezone: Europe/Copenhagen
update_available: false
version: 2023.09.2
version_latest: 2023.09.2
wait_boot: 5

If anybody can point me in the right direction I would really appreciate it

Fixed it by running

ha su repair

Once that was done I ran

ha host restart

I really hope I don’t have to go through that again