Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All was working well now it keeps crashing #3220

Open
1 task done
philspain72 opened this issue Nov 24, 2024 · 17 comments
Open
1 task done

All was working well now it keeps crashing #3220

philspain72 opened this issue Nov 24, 2024 · 17 comments

Comments

@philspain72
Copy link

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?

  • Yes

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
Copy link
Contributor

OzGav commented Nov 24, 2024

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

@philspain72
Copy link
Author

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

@OzGav
Copy link
Contributor

OzGav commented Nov 24, 2024

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.

@philspain72
Copy link
Author

@OzGav
Copy link
Contributor

OzGav commented Nov 25, 2024

So MA is running and you went into the MA settings and downloaded that log?

@philspain72
Copy link
Author

it keeps crashing if i try to play a track it gets about 30 seconds in then the track stops and MA restarts then starts playin another track and starts the same all over again.
It was working perfect ever since i install then i did not use it for a week or so and tried to use it and this keeps happening ever since

@OzGav
Copy link
Contributor

OzGav commented Nov 25, 2024

I am not asking you to play a track. I want to see what the log looks like after MA starts. So please follow my instructions.

Please restart the addon. Wait until it starts. Then open the UI, navigate to the MA SETTINGS>>CORE and download and ATTACH the log.

@philspain72
Copy link
Author

im trying i press the link that says download log
and it opens a new tab with this in http://192.168.0.125:8123/api/hassio_ingress/OXJEUVqgblV0zrTRK-Pos6L0-VuvtYJuZk7PN76KnL0/music-assistant.log but nothing else happens just a blank tab. I know I'm being stupid but not sure what I'm doing wrong sorry

@OzGav
Copy link
Contributor

OzGav commented Nov 25, 2024

OK. Can you show a screen capture of the server information where you found the link for the log

edit: You can also go to the CONFIGURATION tab for the addon and turn on safe mode and start MA that way. See if you can get the log then

@philspain72
Copy link
Author

Screenshot 2024-11-25 15 30 15

@OzGav
Copy link
Contributor

OzGav commented Nov 25, 2024

Alright that looks ok. What player providers do you use?

@philspain72
Copy link
Author

Screenshot 2024-11-25 15 49 44

@philspain72
Copy link
Author

2024-11-25 15:53:51.248 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Music Assistant Server is failed, restarting..

@OzGav
Copy link
Contributor

OzGav commented Nov 25, 2024

Try starting in safe mode and then post the logs

@OzGav
Copy link
Contributor

OzGav commented Nov 26, 2024

Are you using YouTube?

@philspain72
Copy link
Author

Im not using YouTube in HA

@OzGav
Copy link
Contributor

OzGav commented Nov 26, 2024

Let us know what happens when you use safe mode. If it keeps running add one thing at a time and run with that for a while. Keep adding ONE provider at a time to narrow this down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants