music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.39k stars 51 forks source link

All was working well now it keeps crashing #3220

Open philspain72 opened 6 hours ago

philspain72 commented 6 hours ago

What version of Music Assistant has the issue?

2.3.3

What version of the Home Assistant Integration have you got installed?

2024.11.1

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

The problem

Its started crashing and would not load at all so I deleted and reinstalled still crashing and not starting on reboot

How to reproduce

not sure what to put here its happens on startup and when I go to MA in side bar I get this Screenshot 2024-11-24 13 22 23 Screenshot 2024-11-24 13 21 57 if I put retry again it will start but then crashes again if I play a track it will start playing then restart

Music Providers

local media folder

Player Providers

chromecast

Full log output

[mjpeg @ 0x7f967c0800] No JPEG data found in image [mjpeg @ 0x7f967c1400] No JPEG data found in image [vist#0:1/mjpeg @ 0x7f96450600] Error submitting packet to decoder: Invalid data found when processing input Cannot determine format of input stream 0:1 after EOF Error marking filters as finished Error while filtering: Invalid data found when processing input [vist#0:1/mjpeg @ 0x7f96450600] Decode error rate 1 exceeds maximum 0.666667 [out#0/mjpeg @ 0x7f965c0480] Nothing was written into output file, because at least one of its streams received no packets. [mjpeg @ 0x7f993c0800] No JPEG data found in image [mjpeg @ 0x7f993c1400] No JPEG data found in image [vist#0:1/mjpeg @ 0x7f99050600] Error submitting packet to decoder: Invalid data found when processing input Cannot determine format of input stream 0:1 after EOF Error marking filters as finished Error while filtering: Invalid data found when processing input [vist#0:1/mjpeg @ 0x7f99050600] Decode error rate 1 exceeds maximum 0.666667 [out#0/mjpeg @ 0x7f991c0480] Nothing was written into output file, because at least one of its streams received no packets. [mjpeg @ 0x7f84bd0800] No JPEG data found in image [mjpeg @ 0x7f84bd1400] No JPEG data found in image [vist#0:1/mjpeg @ 0x7f84850600] Error submitting packet to decoder: Invalid data found when processing input Cannot determine format of input stream 0:1 after EOF Error marking filters as finished Error while filtering: Invalid data found when processing input [vist#0:1/mjpeg @ 0x7f84850600] Decode error rate 1 exceeds maximum 0.666667 [out#0/mjpeg @ 0x7f849c0480] Nothing was written into output file, because at least one of its streams received no packets. 2024-11-24 05:02:24.302 ERROR (MainThread) [music_assistant] Error doing task: Task exception was never retrieved Traceback (most recent call last): File "/app/venv/lib/python3.12/site-packages/music_assistant/providers/dlna/init.py", line 436, in discover_players await async_search(on_response) File "/app/venv/lib/python3.12/site-packages/async_upnp_client/search.py", line 193, in async_search await listener.async_start() File "/app/venv/lib/python3.12/site-packages/async_upnp_client/search.py", line 138, in async_start sock, _source, _target = get_ssdp_socket(self.source, self.target) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/venv/lib/python3.12/site-packages/async_upnp_client/ssdp.py", line 491, in get_ssdp_socket sock.setsockopt( OSError: [Errno 19] No such device

Additional information

No response

What version of Home Assistant Core are your running

2024.11.1

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Raspberry Pi

OzGav commented 6 hours ago

What did you delete and reinstall? What Raspberry Pi are you using and how much RAM does it have?

philspain72 commented 5 hours ago

I 'm running on Home Assistant Yellow. I just removed the add-on and reinstalled

OzGav commented 5 hours ago

Please restart the addon. Wait until it starts. The first image you show is normal for when the MA server has not yet started so be patient. Then open the UI, navigate to the MA SETTINGS>>CORE and download and ATTACH the log here. Please DO NOT PASTE it.