RPI 4 8gb Ram 500gb SSD Argon m.2 case Home Assistant OS
Update:
Upon reboot with monitor everything worked fine for about an hour and now I get this message
`systemd-journald [115] failed to write entry xx items, xxx bytes), ignoring: Read-only file system`
The X is X amount of bytes and 9,21 or 24 items
Last night my HA was broken and couldn’t access supervisor and or use any of the server controls. A hard reboot fixed everything and I immediately created a Google Drive Backup upon reboot. Fast forward the next day at night I noticed my light controls were not working. Now on check validation I’m getting invalid with “configuration.yaml not found” any reason as to why that would be happening? Can’t seem to access the file editor addon, ssh or samba to check if config.yaml is there. Can’t reboot server from server controls either. I have a feeling that a hard reboot is going to fix everything. I have the samba an SSH addons but don’t think I ever setup SSH. I am also running duckdns. As for the logs, I can’t access the full log as I get an error upon expanding to show the full logs. I did try plugging in a monitor and keyboard but for that to work I would need to restart the PI.
I’m thinking to reboot the PI and upon boot immediately set up ssh and make sure samba is set up correct incase this happens again.
I’d plug in the local keyboard, reboot, setup SSH and Samba and check your logs.
Even if you have issues later with another crash and can’t even get SSH or Samba going, you would have the keyboard ready to hopefully be able to view the logs locally.
I just rebooted with a monitor and keyboard and also got my logs from the frontend. Here’s my logs…
2021-11-18 21:57:35 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-11-18 21:57:36 WARNING (MainThread) [homeassistant.components.http] The 'base_url' option near /config/configuration.yaml:5 is deprecated, please remove it from your configuration
2021-11-18 21:57:36 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=50 from 2021-11-15 06:27:29)
2021-11-18 21:57:40 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548290500208] Received invalid command: energy/get_prefs
2021-11-18 21:57:51 ERROR (MainThread) [homeassistant.components.automation] Blueprint Door Sensor-activated Light generated invalid automation with inputs OrderedDict([('doorsensor_entity', 'binary_sensor.z_wave_door_window_sensor_access_control_window_door_is_open'), ('light_target', OrderedDict([('entity_id', 'mirror')]))]): not a valid value for dictionary value @ data['action'][0]['target']['entity_id']. Got None
2021-11-18 21:57:56 WARNING (MainThread) [homeassistant.components.songpal.media_player] [sony cd(http://192.168.50.72:10000/sony)] Unable to connect
2021-11-18 21:57:57 WARNING (MainThread) [homeassistant.components.media_player] Platform songpal not ready yet: Unable to do POST request: Cannot connect to host 192.168.50.72:10000 ssl:default [Connect call failed ('192.168.50.72', 10000)]: None; Retrying in background in 30 seconds
2021-11-18 21:57:58 WARNING (MainThread) [homeassistant.components.heos] 192.168.50.108 is not logged in to a HEOS account and will be unable to retrieve HEOS favorites: Use the 'heos.sign_in' service to sign-in to a HEOS account
2021-11-18 21:58:08 WARNING (MainThread) [homeassistant.components.songpal.media_player] [sony cd(http://192.168.50.72:10000/sony)] Unable to connect
2021-11-18 21:59:11 WARNING (MainThread) [homeassistant.components.songpal.media_player] [sony cd(http://192.168.50.72:10000/sony)] Unable to connect
2021-11-18 22:00:00 WARNING (MainThread) [homeassistant.components.automation.cast_to_google_hub] Cast to Google Hub: Already running
2021-11-18 22:00:02 ERROR (MainThread) [homeassistant.components.automation.cast_to_google_hub] Cast to Google Hub: Choose at step 1: choice 1: Error executing script. Error for call_service at pos 5:
2021-11-18 22:00:02 ERROR (MainThread) [homeassistant.components.automation.cast_to_google_hub] Cast to Google Hub: Error executing script. Error for choose at pos 1:
2021-11-18 22:00:02 ERROR (MainThread) [homeassistant.components.automation.cast_to_google_hub] Error while executing automation automation.cast_to_google_hub:
2021-11-18 22:00:03 ERROR (Thread-22) [pychromecast.controllers.media] Exception thrown when calling media status callback
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pychromecast/controllers/media.py", line 488, in _fire_status_changed
listener.new_media_status(self.status)
File "/usr/src/homeassistant/homeassistant/components/cast/helpers.py", line 155, in new_media_status
self._cast_device.new_media_status(media_status)
File "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 317, in new_media_status
tts_base_url = self.hass.components.tts.get_base_url(self.hass)
File "/usr/src/homeassistant/homeassistant/components/tts/__init__.py", line 649, in get_base_url
return hass.data[BASE_URL_KEY] or get_url(hass)
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 83, in get_url
request_host = _get_request_host()
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 122, in _get_request_host
raise NoURLAvailableError
homeassistant.helpers.network.NoURLAvailableError
2021-11-18 22:00:44 WARNING (MainThread) [homeassistant.components.songpal.media_player] [sony cd(http://192.168.50.72:10000/sony)] Unable to connect
2021-11-18 22:01:52 WARNING (MainThread) [homeassistant.components.http] The 'base_url' option near /config/configuration.yaml:5 is deprecated, please remove it from your configuration
2021-11-18 22:02:47 WARNING (MainThread) [homeassistant.components.songpal.media_player] [sony cd(http://192.168.50.72:10000/sony)] Unable to connect
Did you get to the bottom of this issue, @tommykmusic ? I’ve just seem similar on my Raspberry Pi 4 based Home Assistant, which became totally unresponsive remotely.
The HA instance has crashed twice in 2 days now, although I can’t say for certain that the first crash was the same issue as the screen was not enabled to view the messages on screen.
Are there any logs that I can access to see what the cause of this might be? There’s nothing in /var/log which is where I would expect to find app logs on other linux systems.
The first thing I did was change power supplies so I bought another power supply with slightly more juice. That wasn’t the answer, then I changed the SSD enclosure from my Argon Case to an external enclosure and that fixed my issue. Now I’m having another issue which I’m led to believe is my hard drive as when I built my system I got the cheapest SSD I could find. Learning the hard way to spend money on quality rather harmony.
So for your case I would start with Checking the power supply and then the hard drive connection. If you’re using a SD card replace with an SSD ASAP as SD cards are not reliable.
I must say, i sometimes have the same issue. With the Argon m.2 case …
For me it has happened 1 time in summer when the case got to warm i think, then i installed that CPU plugin and it was ok.
2nd is, when i do a core update, it has 2 times failed within the first 24hrs after the update.
Only a hard reboot en de-connect the USB dongle helps…
did you change hardware then? (mine is 4years running)