Hallo zusammen,
ich versuche HA 2025.4.1 auf Ubuntu Server 24.10 zu installieren. Es ist hier gut beschrieben:
Wenn man aber das Command „hass“ ausführt, bekommt man viele Fehler. Der HA startet aber.
Da die HA der Python 3.13.x benöigt, habe ich auch installiert.
2025-04-06 15:10:38.774 WARNING (MainThread) [aiohttp_fast_zlib] zlib_ng and isal are not available, falling back to zlib, performance will be degraded.
2025-04-06 15:10:40.015 ERROR (ImportExecutor_0) [homeassistant.components.camera.img_util] Error loading libturbojpeg; Camera snapshot performance will be sub-optimal
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.13/site-packages/homeassistant/components/camera/img_util.py", line 100, in __init__
TurboJPEGSingleton.__instance = TurboJPEG()
~~~~~~~~~^^
File "/srv/homeassistant/lib/python3.13/site-packages/turbojpeg.py", line 300, in __init__
self.__find_turbojpeg() if lib_path is None else lib_path)
~~~~~~~~~~~~~~~~~~~~~^^
File "/srv/homeassistant/lib/python3.13/site-packages/turbojpeg.py", line 967, in __find_turbojpeg
raise RuntimeError(
...<2 lines>...
'e.g. jpeg = TurboJPEG(lib_path)')
RuntimeError: Unable to locate turbojpeg library automatically. You may specify the turbojpeg library path manually.
e.g. jpeg = TurboJPEG(lib_path)
2025-04-06 15:10:41.178 ERROR (MainThread) [haffmpeg.core] FFmpeg fails [Errno 2] No such file or directory: 'ffmpeg'
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.13/site-packages/haffmpeg/core.py", line 130, in open
self._proc = await asyncio.create_subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<6 lines>...
)
^
File "/usr/lib/python3.13/asyncio/subprocess.py", line 224, in create_subprocess_exec
transport, protocol = await loop.subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
stderr=stderr, **kwds)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/asyncio/base_events.py", line 1781, in subprocess_exec
transport = await self._make_subprocess_transport(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
protocol, popen_args, False, stdin, stdout, stderr,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
bufsize, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/asyncio/unix_events.py", line 213, in _make_subprocess_transport
transp = _UnixSubprocessTransport(self, protocol, args, shell,
stdin, stdout, stderr, bufsize,
waiter=waiter, extra=extra,
**kwargs)
File "/usr/lib/python3.13/asyncio/base_subprocess.py", line 39, in __init__
self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
stderr=stderr, bufsize=bufsize, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/asyncio/unix_events.py", line 855, in _start
self._proc = subprocess.Popen(
~~~~~~~~~~~~~~~~^
args, shell=shell, stdin=stdin, stdout=stdout, stderr=stderr,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
universal_newlines=False, bufsize=bufsize, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 1036, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 1966, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
2025-04-06 15:10:41.237 WARNING (MainThread) [haffmpeg.tools] Error starting FFmpeg.
by HarryP: Code-/Logzeilen formatiert (bitte immer in </> einbinden)