Repository navigation
[BUG] beet segment faults with Linuxserver.io version: 2.6.1 #144
Copy link
Copy link
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Fresh installation of the docker container in
Proxmox debian VM (6.1.0-42-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.159-1 (2025-12-30) x86_64 GNU/Linux)
Running "beet version" inside docker container results in
`Traceback (most recent call last):
File "/lsiopy/lib/python3.12/site-packages/beets/plugins.py", line 447, in _get_plugin
raise PluginImportError(name) from exc
beets.plugins.PluginImportError: Could not import plugin musicbrainz
Traceback (most recent call last):
File "/lsiopy/bin/beet", line 7, in <module>
sys.exit(main())
^^^^^^
File "/lsiopy/lib/python3.12/site-packages/beets/ui/__init__.py", line 1713, in main
_raw_main(args)
File "/lsiopy/lib/python3.12/site-packages/beets/ui/__init__.py", line 1688, in _raw_main
subcommands, lib = _setup(options, lib)
^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.12/site-packages/beets/ui/__init__.py", line 1519, in _setup
from beets.ui.commands import default_commands
File "/lsiopy/lib/python3.12/site-packages/beets/ui/commands.py", line 30, in <module>
from beets import autotag, config, importer, library, logging, plugins, ui, util
File "/lsiopy/lib/python3.12/site-packages/beets/autotag/__init__.py", line 30, in <module>
from .match import Proposal, Recommendation, tag_album, tag_item
File "/lsiopy/lib/python3.12/site-packages/beets/autotag/match.py", line 24, in <module>
import lap
File "/lsiopy/lib/python3.12/site-packages/lap/__init__.py", line 16, in <module>
from ._lapjv import (
File "_lapjv_cpp/_lapjv.pyx", line 1, in init _lapjv
ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).`
Expected Behavior
beet version should return version number.
Steps To Reproduce
Access container console and run
beet version
will result in fault.
Environment
- OS: 6.1.0-42-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.159-1 (2025-12-30) x86_64 GNU/Linux)
- How docker service was installed: via docker composeCPU architecture
x86-64
Docker creation
beets:
image: lscr.io/linuxserver/beets:latest
container_name: beets
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE:?err}
volumes:
- ${FOLDER_FOR_DATA:?err}/beets/config:/config
- ${FOLDER_FOR_MEDIA:?err}/media/music/BEETS:/music
ports:
- "${beets_WEBUI_PORT:?err}:4533"
restart: unless-stoppedContainer logs
from ._lapjv import (
File "_lapjv_cpp/_lapjv.pyx", line 1, in init _lapjv
ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/lsiopy/lib/python3.12/site-packages/beets/plugins.py", line 447, in _get_plugin
raise PluginImportError(name) from exc
beets.plugins.PluginImportError: Could not import plugin fetchart
** error loading plugin chroma
Traceback (most recent call last):
File "/lsiopy/lib/python3.12/site-packages/beets/plugins.py", line 445, in _get_plugin
namespace = import_module(f"{PLUGIN_NAMESPACE}.{name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 999, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/lsiopy/lib/python3.12/site-packages/beetsplug/chroma.py", line 28, in <module>
from beets.autotag.distance import Distance
File "/lsiopy/lib/python3.12/site-packages/beets/autotag/__init__.py", line 30, in <module>
from .match import Proposal, Recommendation, tag_album, tag_item
File "/lsiopy/lib/python3.12/site-packages/beets/autotag/match.py", line 24, in <module>
import lap
File "/lsiopy/lib/python3.12/site-packages/lap/__init__.py", line 16, in <module>
from ._lapjv import (
File "_lapjv_cpp/_lapjv.pyx", line 1, in init _lapjv
ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/lsiopy/lib/python3.12/site-packages/beets/plugins.py", line 447, in _get_plugin
raise PluginImportError(name) from exc
beets.plugins.PluginImportError: Could not import plugin chroma
Traceback (most recent call last):
File "/lsiopy/bin/beet", line 7, in <module>
sys.exit(main())
^^^^^^
File "/lsiopy/lib/python3.12/site-packages/beets/ui/__init__.py", line 1713, in main
_raw_main(args)
File "/lsiopy/lib/python3.12/site-packages/beets/ui/__init__.py", line 1688, in _raw_main
subcommands, lib = _setup(options, lib)
^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.12/site-packages/beets/ui/__init__.py", line 1519, in _setup
from beets.ui.commands import default_commands
File "/lsiopy/lib/python3.12/site-packages/beets/ui/commands.py", line 30, in <module>
from beets import autotag, config, importer, library, logging, plugins, ui, util
File "/lsiopy/lib/python3.12/site-packages/beets/autotag/__init__.py", line 30, in <module>
from .match import Proposal, Recommendation, tag_album, tag_item
File "/lsiopy/lib/python3.12/site-packages/beets/autotag/match.py", line 24, in <module>
import lap
File "/lsiopy/lib/python3.12/site-packages/lap/__init__.py", line 16, in <module>
from ._lapjv import (
File "_lapjv_cpp/_lapjv.pyx", line 1, in init _lapjv
ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
github-actions commentedon Jan 27, 2026
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
shurushetr commentedon Jan 27, 2026
Downgrading numpy with lap library reinstall seems to solve the problem.
Added this custom script to container build
[-][BUG] beet segment faults with Linuxserver.io version: 2.5.1-ls307[/-][+][BUG] beet segment faults with Linuxserver.io version: 2.6.1[/+]shurushetr commentedon Feb 2, 2026
v2.6.1 has same issues but numpy has to be >=2.0.2
thespad commentedon Feb 2, 2026
I can't replicate this locally with either build,
beet versionworks as expected in both cases.shurushetr commentedon Feb 3, 2026
Thank you for confirmation.
Setting the CPU type to host (was kvm64) in Proxmox resolved the issue. Strange, will investigate furter.