Skip to content

[BUG] error initializing Nextcloud with nextcloud-mediadc (hexhamming) #1062

Closed

Description

@jvbp

Is there an existing issue for this?

  • I have searched the existing issues

Name of mod

nextcloud-mediadc

Name of base container

linuxserver/nextcloud

Current Behavior

Fail on installing python dependencies (hexhamming)

Expected Behavior

Correctly install python dependencies

Steps To Reproduce

Just docker build Nextcloud with linuxserver/mods:nextcloud-mediadc (gives the error). Without this mod everithing works fine.

Environment

- OS:Linux server 6.8.12-15-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-15 (2025-09-12T11:02Z) x86_64 x86_64 x86_64 GNU/Linux
- How docker service was installed: docker compose

CPU architecture

x86-64

Docker creation

### NextCloud ###
services:
  nextcloud:
    image: linuxserver/nextcloud:latest
    security_opt:
      - no-new-privileges:true
    restart: always
    volumes:
      - $DOCKERDIR/appdata/nextcloud:/config
      - $DOCKERDIR/logs/$HOSTNAME/nextcloud:/config/log
      - $DATADIR/nextcloud:/data
      - /etc/localtime:/etc/localtime:ro
      - ncdata:/var/www/html
    ports:
      - "9006:443"
    environment:
      - PUID=$PUID
      - PGID=$PGID
      - TZ=$TZ
      - REDIS_HOST=docker-redis
      - DOCKER_MODS=linuxserver/mods:nextcloud-mediadc|linuxserver/mods:nextcloud-memories
    networks:
      t3_proxy:
        ipv4_address: XXX.XXX.XXX.XXX
      socket_proxy:
        ipv4_address: XXX.XXX.XXX.XXX
    depends_on:
      - postgres
    labels:
      - "traefik.enable=true"

volumes:
    ncdata:

Container logs

[mod-init] Running Docker Modification Logic
[mod-init] Adding linuxserver/mods:nextcloud-mediadc to container
[mod-init] Downloading linuxserver/mods:nextcloud-mediadc from lscr.io
[mod-init] Installing linuxserver/mods:nextcloud-mediadc
[mod-init] linuxserver/mods:nextcloud-mediadc applied to container
[mod-init] Adding linuxserver/mods:nextcloud-memories to container
[mod-init] Downloading linuxserver/mods:nextcloud-memories from lscr.io
[mod-init] Installing linuxserver/mods:nextcloud-memories
[mod-init] linuxserver/mods:nextcloud-memories applied to container
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 32.0.0-ls396
Build-date: 2025-09-30T11:53:51+00:00
───────────────────────────────────────
    
using keys found in /config/keys
**** The following active confs have different version dates than the samples that are shipped. ****
**** This may be due to user customization or an update to the samples. ****
**** You should compare the following files to the samples in the same folder and update them. ****
**** Use the link at the top of the file to view the changelog. ****
┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
│  old date  │  new date  │ path                                                                   │
├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
│ 2024-07-16 │ 2025-07-10 │ /config/nginx/site-confs/default.conf                                  │
│ 2024-05-27 │ 2025-05-31 │ /config/nginx/nginx.conf                                               │
│ 2023-08-13 │ 2025-07-18 │ /config/nginx/ssl.conf                                                 │
└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
Initializing nextcloud 32.0.0.13 (this can take a while) ...
Setting permissions
Initializing finished
**** Adding perl5 and its deps to package install lists ****
**** Adding pillow-heif, hexhamming, pywavelets and their deps to package install lists ****
[pkg-install-init] **** Installing all mod packages ****
fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
(1/17) Installing perl (5.40.3-r0)
(2/17) Installing perl-error (0.17030-r0)
(3/17) Installing perl-git (2.49.1-r0)
(4/17) Installing git-perl (2.49.1-r0)
(5/17) Installing mpdecimal (4.0.1-r0)
(6/17) Installing python3 (3.12.11-r0)
(7/17) Installing python3-pycache-pyc0 (3.12.11-r0)
(8/17) Installing pyc (3.12.11-r0)
(9/17) Installing python3-pyc (3.12.11-r0)
(10/17) Installing py3-parsing (3.2.3-r0)
(11/17) Installing py3-parsing-pyc (3.2.3-r0)
(12/17) Installing py3-packaging (25.0-r0)
(13/17) Installing py3-packaging-pyc (25.0-r0)
(14/17) Installing py3-setuptools (80.9.0-r0)
(15/17) Installing py3-setuptools-pyc (80.9.0-r0)
(16/17) Installing supervisor (4.2.5-r5)
(17/17) Installing supervisor-pyc (4.2.5-r5)
Executing busybox-1.37.0-r19.trigger
OK: 402 MiB in 337 packages
[pkg-install-init] **** Installing all pip packages ****
[pkg-install-init] **** Creating venv ****
Requirement already satisfied: pip in /lsiopy/lib/python3.12/site-packages (25.0.1)
Collecting pip
  Downloading pip-25.2-py3-none-any.whl.metadata (4.7 kB)
Collecting wheel
  Downloading wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
Collecting setuptools
  Downloading setuptools-80.9.0-py3-none-any.whl.metadata (6.6 kB)
Downloading pip-25.2-py3-none-any.whl (1.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 12.7 MB/s eta 0:00:00
Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
Downloading setuptools-80.9.0-py3-none-any.whl (1.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 7.1 MB/s eta 0:00:00
Installing collected packages: wheel, setuptools, pip
  Attempting uninstall: pip
    Found existing installation: pip 25.0.1
    Uninstalling pip-25.0.1:
      Successfully uninstalled pip-25.0.1
Successfully installed pip-25.2 setuptools-80.9.0 wheel-0.45.1
Looking in links: https://wheel-index.linuxserver.io/alpine-3.22/
Collecting scipy
  Downloading scipy-1.16.2-cp312-cp312-musllinux_1_2_x86_64.whl.metadata (62 kB)
Collecting asn1crypto
  Downloading asn1crypto-1.5.1-py2.py3-none-any.whl.metadata (13 kB)
Collecting cryptography
  Downloading cryptography-46.0.2-cp311-abi3-musllinux_1_2_x86_64.whl.metadata (5.7 kB)
Collecting hexhamming
  Downloading hexhamming-2.2.3.tar.gz (15 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting numpy
  Downloading numpy-2.3.3-cp312-cp312-musllinux_1_2_x86_64.whl.metadata (62 kB)
Collecting pillow
  Downloading pillow-11.3.0-cp312-cp312-musllinux_1_2_x86_64.whl.metadata (9.0 kB)
Collecting pillow-heif
  Downloading pillow_heif-1.1.1-cp312-cp312-musllinux_1_2_x86_64.whl.metadata (9.6 kB)
Collecting pynacl
  Downloading pynacl-1.6.0-cp38-abi3-musllinux_1_2_x86_64.whl.metadata (9.4 kB)
Collecting pywavelets
  Downloading pywavelets-1.9.0-cp312-cp312-musllinux_1_2_x86_64.whl.metadata (7.6 kB)
Collecting cffi>=2.0.0 (from cryptography)
  Downloading cffi-2.0.0-cp312-cp312-musllinux_1_2_x86_64.whl.metadata (2.6 kB)
Collecting pycparser (from cffi>=2.0.0->cryptography)
  Downloading pycparser-2.23-py3-none-any.whl.metadata (993 bytes)
Downloading scipy-1.16.2-cp312-cp312-musllinux_1_2_x86_64.whl (38.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.7/38.7 MB 22.5 MB/s  0:00:01
Downloading numpy-2.3.3-cp312-cp312-musllinux_1_2_x86_64.whl (18.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.6/18.6 MB 42.8 MB/s  0:00:00
Downloading asn1crypto-1.5.1-py2.py3-none-any.whl (105 kB)
Downloading cryptography-46.0.2-cp311-abi3-musllinux_1_2_x86_64.whl (4.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 MB 49.3 MB/s  0:00:00
Downloading pillow-11.3.0-cp312-cp312-musllinux_1_2_x86_64.whl (6.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.7/6.7 MB 29.0 MB/s  0:00:00
Downloading pillow_heif-1.1.1-cp312-cp312-musllinux_1_2_x86_64.whl (6.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 51.0 MB/s  0:00:00
Downloading pynacl-1.6.0-cp38-abi3-musllinux_1_2_x86_64.whl (1.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 24.3 MB/s  0:00:00
Downloading pywavelets-1.9.0-cp312-cp312-musllinux_1_2_x86_64.whl (4.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 38.0 MB/s  0:00:00
Downloading cffi-2.0.0-cp312-cp312-musllinux_1_2_x86_64.whl (221 kB)
Downloading pycparser-2.23-py3-none-any.whl (118 kB)
Building wheels for collected packages: hexhamming
  DEPRECATION: Building 'hexhamming' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'hexhamming'. Discussion can be found at https://github.com/pypa/pip/issues/6334
  Building wheel for hexhamming (setup.py): started
  Building wheel for hexhamming (setup.py): finished with status 'error'
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [11 lines of output]
      /lsiopy/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
        warnings.warn(msg)
      /lsiopy/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
        warnings.warn(msg)
      running bdist_wheel
      running build
      running build_ext
      building 'hexhamming' extension
      creating build/temp.linux-x86_64-cpython-312/hexhamming
      c++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/lsiopy/include -I/usr/include/python3.12 -c hexhamming/python_hexhamming.cc -o build/temp.linux-x86_64-cpython-312/hexhamming/python_hexhamming.o -march=native
      error: command 'c++' failed: No such file or directory
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for hexhamming
  Running setup.py clean for hexhamming
Failed to build hexhamming
error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> hexhamming
[custom-init] No custom files found, skipping...
[ls.io-init] done.

Activity

  1. self-assigned this
    on Oct 6, 2025
  2. aptalca commented on Oct 9, 2025

    @aptalca
    Member

    Upstream issue, they're working on it
    mrecachinas/hexhamming#30

  3. aptalca commented on Oct 9, 2025

    @aptalca
    Member

    Scratch that. I think I figured it out for now.

    Please test mod linuxserver/mods:pull_request_1063 and let us know if it works

  4. moved this from Issues to Done in Issue & PR Trackeron Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions