-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Server wont start - Index out of Range on ffmpeg version #3199
Comments
Are you using the docker compose from the docs? |
Only difference is I'm running privileged rather than using cap_add and security_opt My .env just has my user and group id. Nothing special. Like i said it was working... |
What previous version was working? |
I've built a new server in the last month so I think 2.3.0 as the older builds are before my new server went online and I pulled down a fresh image. I updated recently and it stopped working. |
What sort of container are you using? |
Docker on Debian VM running on Proxmox |
Can you get a to a command line and type |
I can't try but not sure container even starts. Will try later. |
This issue is stale because it has been open 7 days with no activity after asking for more info. Comment or this will be closed in 3 days. |
What version of Music Assistant has the issue?
2.3.3
What version of the Home Assistant Integration have you got installed?
2024.11.4
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
The problem
Updated docker container today, container now wont start.
How to reproduce
docker compose up
Music Providers
n/a
Player Providers
n/a
Full log output
2024-11-18 21:13:02.387 INFO (MainThread) [music_assistant] Starting Music Assistant Server (8766aed5788d4c27baaa3f961cfd8dd5) version 2.3.2 - HA add-on: False - Safe mode: False
2024-11-18 21:13:02.390 INFO (MainThread) [music_assistant.cache] Initializing cache controller...
2024-11-18 21:13:02.709 INFO (MainThread) [music_assistant.music] Using a sync interval of 180 minutes.
2024-11-18 21:13:02.755 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/aiorun.py", line 219, in new_coro
await coro
File "/app/venv/lib/python3.12/site-packages/music_assistant/main.py", line 211, in start_mass
await mass.start()
File "/app/venv/lib/python3.12/site-packages/music_assistant/server/server.py", line 153, in start
await self.streams.setup(await self.config.get_core_config("streams"))
File "/app/venv/lib/python3.12/site-packages/music_assistant/server/controllers/streams.py", line 223, in setup
ffmpeg_present, libsoxr_support, version = await check_audio_support()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/music_assistant/server/helpers/audio.py", line 740, in check_audio_support
version = output.decode().split("ffmpeg version ")[1].split(" ")[0].split("-")[0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
2024-11-18 21:13:33.120 WARNING (MainThread) [aiorun] Stopping the loop
2024-11-18 21:13:33.121 INFO (MainThread) [aiorun] Entering shutdown phase.
2024-11-18 21:13:33.121 INFO (MainThread) [aiorun] Executing provided shutdown_callback.
2024-11-18 21:13:33.121 INFO (MainThread) [root] shutdown requested!
2024-11-18 21:13:33.121 INFO (MainThread) [music_assistant] Stop called, cleaning up...
2024-11-18 21:13:33.121 INFO (MainThread) [aiorun] Waiting for executor shutdown.
2024-11-18 21:13:33.121 INFO (MainThread) [aiorun] Shutting down async generators
2024-11-18 21:13:33.121 INFO (MainThread) [aiorun] Closing the loop.
2024-11-18 21:13:33.122 INFO (MainThread) [aiorun] Leaving. Bye!
2024-11-18 21:13:33.122 INFO (MainThread) [aiorun] Reraising unhandled exception
2024-11-18 21:13:33.122 ERROR (MainThread) [root] Uncaught exception
Traceback (most recent call last):
File "/app/venv/bin/mass", line 8, in
sys.exit(main())
^^^^^^
File "/app/venv/lib/python3.12/site-packages/music_assistant/main.py", line 213, in main
run(
File "/app/venv/lib/python3.12/site-packages/aiorun.py", line 370, in run
raise pending_exception_to_raise
File "/app/venv/lib/python3.12/site-packages/aiorun.py", line 272, in run
shutdown_callback(loop)
File "/app/venv/lib/python3.12/site-packages/music_assistant/main.py", line 203, in on_shutdown
loop.run_until_complete(mass.stop())
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/music_assistant/server/server.py", line 177, in stop
await self.streams.close()
File "/app/venv/lib/python3.12/site-packages/music_assistant/server/controllers/streams.py", line 275, in close
await self._server.close()
File "/app/venv/lib/python3.12/site-packages/music_assistant/server/helpers/webserver.py", line 87, in close
await self._tcp_site.stop()
^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'stop'
Additional information
Previous version was fine, i even tried using 2.3.2 docker and i get the same problem.
What version of Home Assistant Core are your running
2024.11.1
What type of installation are you running?
Home Assistant Container
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)
The text was updated successfully, but these errors were encountered: