Ns8 on raspberry pi 4?

,

not sure if this is even supported … ns8 on raspberry pi 4 that is… any hints? fresh rocky 9.2 aarch64 install.

[phil@sink ~]$ su
Password: 
[root@sink phil]# curl https://raw.githubusercontent.com/NethServer/ns8-core/main/core/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3200  100  3200    0     0  17297      0 --:--:-- --:--:-- --:--:-- 17297
Checking machine hostname
Restart journald:

Complete!
Extracting core sources from ghcr.io/nethserver/core:ns8-stable:
mkdir: created directory '/var/lib/nethserver'
mkdir: created directory '/var/lib/nethserver/node'
mkdir: created directory '/var/lib/nethserver/node/state'
Trying to pull ghcr.io/nethserver/core:ns8-stable...
Getting image source signatures
Copying blob c9c55072bc34 done  
Copying blob 6498246e4c32 done  
Copying config c589513001 done  
Writing manifest to image destination
Storing signatures
WARNING: image platform (linux/amd64) does not match the expected platform (linux/arm64)
Total bytes read: 120432640 (115MiB, 15MiB/s)
etc/
etc/containers/
etc/containers/containers.conf
etc/nethserver/
etc/nethserver/agent.env
etc/nethserver/core.env
etc/nethserver/pythonreq.txt
etc/nethserver/skel/
etc/nethserver/skel/.config/
etc/nethserver/skel/.config/state/
etc/nethserver/skel/.config/state/CACHEDIR.TAG
etc/nethserver/skel/.config/systemd/
etc/nethserver/skel/.config/systemd/user/
etc/nethserver/skel/.config/systemd/user/default.target.wants/
etc/nethserver/skel/.config/systemd/user/default.target.wants/agent.service
etc/nethserver/skel/.config/systemd/user/transfer-state.target.wants/
etc/nethserver/skel/.config/systemd/user/transfer-state.target.wants/agent.service
etc/profile.d/
etc/profile.d/api-cli.sh
etc/systemd/
etc/systemd/system/
etc/systemd/system/agent@.service
etc/systemd/system/api-server.service
....
var/lib/nethserver/node/uninstall.sh
var/lib/nethserver/node/validator-definitions.json
0683253e3d843fd689cfad8635f5f0bf6dd2af012d899981eae7e6969805e18a
Set kernel parameters:
net.ipv4.ip_unprivileged_port_start = 23
user.max_user_namespaces = 28633
net.ipv4.ip_forward = 1
Pulling rclone image docker.io/rclone/rclone:1.57.0:
Trying to pull docker.io/rclone/rclone:1.57.0...
Getting image source signatures
Copying blob a76225304919 done  
Copying blob 52d30c6615aa done  
Copying blob 8a700a72036c done  
Copying blob 552d1f2373af done  
Copying blob cfcf3d97f557 done  
Copying config 7e1fa88111 done  
Writing manifest to image destination
Storing signatures
7e1fa88111fbe885ac23ccc486d6af97837fb05dd3d3991dcbaad46e0cc345f4
Create the api-server user:
Setup Python virtual environment for agents:
Requirement already satisfied: pip in /usr/local/agent/pyenv/lib/python3.9/site-packages (21.2.3)
Collecting pip
  Downloading pip-23.1.2-py3-none-any.whl (2.1 MB)
     |████████████████████████████████| 2.1 MB 1.6 MB/s 
Requirement already satisfied: setuptools in /usr/local/agent/pyenv/lib/python3.9/site-packages (53.0.0)
Collecting setuptools
  Downloading setuptools-68.0.0-py3-none-any.whl (804 kB)
     |████████████████████████████████| 804 kB 1.5 MB/s 
Installing collected packages: setuptools, pip
  Attempting uninstall: setuptools
    Found existing installation: setuptools 53.0.0
    Uninstalling setuptools-53.0.0:
      Successfully uninstalled setuptools-53.0.0
  Attempting uninstall: pip
    Found existing installation: pip 21.2.3
    Uninstalling pip-21.2.3:
      Successfully uninstalled pip-21.2.3
Successfully installed pip-23.1.2 setuptools-68.0.0
Collecting aiodns==3.0.0 (from -r /etc/nethserver/pythonreq.txt (line 5))
  Downloading aiodns-3.0.0-py3-none-any.whl (5.0 kB)
Collecting aiohttp==3.7.4.post0 (from -r /etc/nethserver/pythonreq.txt (line 6))
  Downloading aiohttp-3.7.4.post0-cp39-cp39-manylinux2014_aarch64.whl (1.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 4.8 MB/s eta 0:00:00
Collecting aioredis==2.0.1 (from -r /etc/nethserver/pythonreq.txt (line 7))
  Downloading aioredis-2.0.1-py3-none-any.whl (71 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.2/71.2 kB 3.1 MB/s eta 0:00:00
Collecting ansible-core==2.14.1 (from -r /etc/nethserver/pythonreq.txt (line 8))
  Downloading ansible_core-2.14.1-py3-none-any.whl (2.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 8.0 MB/s eta 0:00:00
Collecting ansible-runner==2.3.1 (from -r /etc/nethserver/pythonreq.txt (line 9))
  Downloading ansible_runner-2.3.1-py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 3.7 MB/s eta 0:00:00
Collecting async-timeout==3.0.1 (from -r /etc/nethserver/pythonreq.txt (line 10))
  Downloading async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Collecting attrs==21.2.0 (from -r /etc/nethserver/pythonreq.txt (line 11))
  Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.7/53.7 kB 2.8 MB/s eta 0:00:00
Collecting brotlipy==0.7.0 (from -r /etc/nethserver/pythonreq.txt (line 12))
  Downloading brotlipy-0.7.0-cp35-abi3-manylinux2014_aarch64.whl (1.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 3.4 MB/s eta 0:00:00
Collecting cchardet==2.1.7 (from -r /etc/nethserver/pythonreq.txt (line 13))
  Downloading cchardet-2.1.7.tar.gz (653 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 653.6/653.6 kB 7.1 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting certifi==2021.5.30 (from -r /etc/nethserver/pythonreq.txt (line 14))
  Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 145.5/145.5 kB 5.4 MB/s eta 0:00:00
Collecting cffi==1.14.5 (from -r /etc/nethserver/pythonreq.txt (line 15))
  Downloading cffi-1.14.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (208 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 208.6/208.6 kB 4.8 MB/s eta 0:00:00
Requirement already satisfied: chardet==4.0.0 in /usr/lib/python3.9/site-packages (from -r /etc/nethserver/pythonreq.txt (line 16)) (4.0.0)
Collecting cryptography==39.0.0 (from -r /etc/nethserver/pythonreq.txt (line 17))
  Downloading cryptography-39.0.0-cp36-abi3-manylinux_2_28_aarch64.whl (4.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.0/4.0 MB 3.3 MB/s eta 0:00:00
Collecting dnspython==2.1.0 (from -r /etc/nethserver/pythonreq.txt (line 18))
  Downloading dnspython-2.1.0-py3-none-any.whl (241 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.0/242.0 kB 5.4 MB/s eta 0:00:00
Collecting docutils==0.19 (from -r /etc/nethserver/pythonreq.txt (line 19))
  Downloading docutils-0.19-py3-none-any.whl (570 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.5/570.5 kB 6.8 MB/s eta 0:00:00
Collecting hiredis==2.0.0 (from -r /etc/nethserver/pythonreq.txt (line 20))
  Downloading hiredis-2.0.0-cp39-cp39-manylinux2014_aarch64.whl (86 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.8/86.8 kB 3.8 MB/s eta 0:00:00
Requirement already satisfied: idna==2.10 in /usr/lib/python3.9/site-packages (from -r /etc/nethserver/pythonreq.txt (line 21)) (2.10)
Collecting Jinja2==3.0.2 (from -r /etc/nethserver/pythonreq.txt (line 22))
  Downloading Jinja2-3.0.2-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.8/133.8 kB 4.9 MB/s eta 0:00:00
Collecting jsonschema==3.2.0 (from -r /etc/nethserver/pythonreq.txt (line 23))
  Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.3/56.3 kB 2.7 MB/s eta 0:00:00
Collecting ldap3==2.9.1 (from -r /etc/nethserver/pythonreq.txt (line 24))
  Downloading ldap3-2.9.1-py2.py3-none-any.whl (432 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 432.2/432.2 kB 8.3 MB/s eta 0:00:00
Collecting lockfile==0.12.2 (from -r /etc/nethserver/pythonreq.txt (line 25))
  Downloading lockfile-0.12.2-py2.py3-none-any.whl (13 kB)
Collecting MarkupSafe==2.0.1 (from -r /etc/nethserver/pythonreq.txt (line 26))
  Downloading MarkupSafe-2.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (26 kB)
Collecting multidict==5.1.0 (from -r /etc/nethserver/pythonreq.txt (line 27))
  Downloading multidict-5.1.0-cp39-cp39-manylinux2014_aarch64.whl (154 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 154.6/154.6 kB 5.4 MB/s eta 0:00:00
Collecting packaging==23.0 (from -r /etc/nethserver/pythonreq.txt (line 28))
  Downloading packaging-23.0-py3-none-any.whl (42 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.7/42.7 kB 2.2 MB/s eta 0:00:00
Requirement already satisfied: pexpect==4.8.0 in /usr/lib/python3.9/site-packages (from -r /etc/nethserver/pythonreq.txt (line 29)) (4.8.0)
Requirement already satisfied: psutil==5.8.0 in /usr/lib64/python3.9/site-packages (from -r /etc/nethserver/pythonreq.txt (line 30)) (5.8.0)
Collecting ptyprocess==0.7.0 (from -r /etc/nethserver/pythonreq.txt (line 31))
  Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting pyasn1==0.4.8 (from -r /etc/nethserver/pythonreq.txt (line 32))
  Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 3.5 MB/s eta 0:00:00
Collecting pycares==4.0.0 (from -r /etc/nethserver/pythonreq.txt (line 33))
  Downloading pycares-4.0.0-cp39-cp39-manylinux2014_aarch64.whl (295 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 295.8/295.8 kB 6.9 MB/s eta 0:00:00
Collecting pycparser==2.20 (from -r /etc/nethserver/pythonreq.txt (line 34))
  Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.0/112.0 kB 3.4 MB/s eta 0:00:00
Collecting pyrsistent==0.19.3 (from -r /etc/nethserver/pythonreq.txt (line 35))
  Downloading pyrsistent-0.19.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (117 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.0/117.0 kB 4.4 MB/s eta 0:00:00
Collecting python-daemon==2.3.2 (from -r /etc/nethserver/pythonreq.txt (line 36))
  Downloading python_daemon-2.3.2-py3-none-any.whl (34 kB)
Collecting PyYAML==6.0 (from -r /etc/nethserver/pythonreq.txt (line 37))
  Downloading PyYAML-6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (731 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 731.1/731.1 kB 8.2 MB/s eta 0:00:00
Collecting redis==3.5.3 (from -r /etc/nethserver/pythonreq.txt (line 38))
  Downloading redis-3.5.3-py2.py3-none-any.whl (72 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.1/72.1 kB 3.3 MB/s eta 0:00:00
Requirement already satisfied: requests==2.25.1 in /usr/lib/python3.9/site-packages (from -r /etc/nethserver/pythonreq.txt (line 39)) (2.25.1)
Collecting resolvelib==0.8.1 (from -r /etc/nethserver/pythonreq.txt (line 40))
  Downloading resolvelib-0.8.1-py2.py3-none-any.whl (16 kB)
Collecting semver==2.13.0 (from -r /etc/nethserver/pythonreq.txt (line 41))
  Downloading semver-2.13.0-py2.py3-none-any.whl (12 kB)
Requirement already satisfied: six==1.15.0 in /usr/lib/python3.9/site-packages (from -r /etc/nethserver/pythonreq.txt (line 42)) (1.15.0)
Collecting typing-extensions==3.10.0.0 (from -r /etc/nethserver/pythonreq.txt (line 43))
  Downloading typing_extensions-3.10.0.0-py3-none-any.whl (26 kB)
Collecting urllib3==1.26.6 (from -r /etc/nethserver/pythonreq.txt (line 44))
  Downloading urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.5/138.5 kB 5.2 MB/s eta 0:00:00
Collecting yarl==1.6.3 (from -r /etc/nethserver/pythonreq.txt (line 45))
  Downloading yarl-1.6.3-cp39-cp39-manylinux2014_aarch64.whl (311 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 311.6/311.6 kB 5.1 MB/s eta 0:00:00
Requirement already satisfied: setuptools in /usr/local/agent/pyenv/lib/python3.9/site-packages (from jsonschema==3.2.0->-r /etc/nethserver/pythonreq.txt (line 23)) (68.0.0)
Building wheels for collected packages: cchardet
  Building wheel for cchardet (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for cchardet (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [19 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-aarch64-cpython-39
      creating build/lib.linux-aarch64-cpython-39/cchardet
      copying src/cchardet/__init__.py -> build/lib.linux-aarch64-cpython-39/cchardet
      copying src/cchardet/version.py -> build/lib.linux-aarch64-cpython-39/cchardet
      running build_ext
      building 'cchardet._cchardet' extension
      creating build/temp.linux-aarch64-cpython-39
      creating build/temp.linux-aarch64-cpython-39/src
      creating build/temp.linux-aarch64-cpython-39/src/cchardet
      creating build/temp.linux-aarch64-cpython-39/src/ext
      creating build/temp.linux-aarch64-cpython-39/src/ext/uchardet
      creating build/temp.linux-aarch64-cpython-39/src/ext/uchardet/src
      creating build/temp.linux-aarch64-cpython-39/src/ext/uchardet/src/LangModels
      gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Isrc/ext/uchardet/src -I/usr/local/agent/pyenv/include -I/usr/include/python3.9 -c src/cchardet/_cchardet.cpp -o build/temp.linux-aarch64-cpython-39/src/cchardet/_cchardet.o
      error: command 'gcc' 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 cchardet
Failed to build cchardet
ERROR: Could not build wheels for cchardet, which is required to install pyproject.toml-based projects

EDIT by @alefattorini

That’s a good point to start

NS8 for ARM64/ARMv7

gcc was missing. slightly different error

Requirement already satisfied: setuptools in /usr/local/agent/pyenv/lib/python3.9/site-packages (from jsonschema==3.2.0->-r /etc/nethserver/pythonreq.txt (line 23)) (68.0.0)
Building wheels for collected packages: cchardet
  Building wheel for cchardet (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for cchardet (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [21 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-aarch64-cpython-39
      creating build/lib.linux-aarch64-cpython-39/cchardet
      copying src/cchardet/__init__.py -> build/lib.linux-aarch64-cpython-39/cchardet
      copying src/cchardet/version.py -> build/lib.linux-aarch64-cpython-39/cchardet
      running build_ext
      building 'cchardet._cchardet' extension
      creating build/temp.linux-aarch64-cpython-39
      creating build/temp.linux-aarch64-cpython-39/src
      creating build/temp.linux-aarch64-cpython-39/src/cchardet
      creating build/temp.linux-aarch64-cpython-39/src/ext
      creating build/temp.linux-aarch64-cpython-39/src/ext/uchardet
      creating build/temp.linux-aarch64-cpython-39/src/ext/uchardet/src
      creating build/temp.linux-aarch64-cpython-39/src/ext/uchardet/src/LangModels
      gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Isrc/ext/uchardet/src -I/usr/local/agent/pyenv/include -I/usr/include/python3.9 -c src/cchardet/_cchardet.cpp -o build/temp.linux-aarch64-cpython-39/src/cchardet/_cchardet.o
      gcc: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cchardet
Failed to build cchardet
ERROR: Could not build wheels for cchardet, which is required to install pyproject.toml-based projects

installing python3-devel fixed the previous error. - added reddis to the firewall rules…

Setup registry:
Add firewalld core rules:
Warning: ALREADY_ENABLED: http
Warning: ALREADY_ENABLED: https
Write initial cluster environment state
Error: inspecting object: ghcr.io/nethserver/core:1.1.0: image not known
Adding id_rsa.pub to module skeleton dir:
Generate WireGuard VPN key pair:
5sMxWU*****4i5AFQg=
Start Redis DB:
Job for redis.service failed because the control process exited with error code.
See "systemctl status redis.service" and "journalctl -xeu redis.service" for details.
[root@sink phil]# systemctl status redis.service
● redis.service - Core Redis DB
     Loaded: loaded (/etc/systemd/system/redis.service; enabled; preset: disabled)
     Active: activating (start-post) (Result: exit-code) since Sun 2023-06-25 07:15:05 UTC; 20s ago
       Docs: https://github.com/NethServer/ns8-core
    Process: 1680 ExecStartPre=/bin/rm -f /run/redis.pid /run/redis.cid (code=exited, status=0/SUCCESS)
    Process: 1681 ExecStart=/usr/bin/podman run --conmon-pidfile=/run/redis.pid --cidfile=/run/redis.cid --cgroups=no-conmon --detach --log-opt=tag=redis --replace --name=redis --network=host --volume=redis-data:/data ${REDIS_IM>
   Main PID: 1692 (code=exited, status=1/FAILURE); Control PID: 1707 (bash)
      Tasks: 2 (limit: 23846)
        CPU: 675ms
     CGroup: /system.slice/redis.service
             ├─1707 /usr/bin/bash -c "while ! exec 3<>/dev/tcp/127.0.0.1/6379; do sleep 1 ; done"
             └─1728 sleep 1

Jun 25 07:15:21 sink redis[1707]: /usr/bin/bash: connect: Connection refused
Jun 25 07:15:21 sink redis[1707]: /usr/bin/bash: line 1: /dev/tcp/127.0.0.1/6379: Connection refused

not sure whays going on with redis… not installed by the install script, - didnt change much installing the pkg.

systemctl status redis.service
● redis.service - Core Redis DB
     Loaded: loaded (/etc/systemd/system/redis.service; enabled; preset: disabled)
    Drop-In: /etc/systemd/system/redis.service.d
             └─limit.conf
     Active: activating (start-post) (Result: exit-code) since Sun 2023-06-25 12:29:37 UTC; 15s ago
       Docs: https://github.com/NethServer/ns8-core
    Process: 29668 ExecStartPre=/bin/rm -f /run/redis.pid /run/redis.cid (code=exited, status=0/SUCCESS)
    Process: 29669 ExecStart=/usr/bin/podman run --conmon-pidfile=/run/redis.pid --cidfile=/run/redis.cid --cgroups=no-conmon --detach --log-opt=tag=redis --replace --name=redis --network=host --volume=redis-data:/data ${REDIS_I>
   Main PID: 29681 (code=exited, status=1/FAILURE); Control PID: 29695 (bash)
      Tasks: 2 (limit: 23846)
        CPU: 619ms
     CGroup: /system.slice/redis.service
             ├─29695 /usr/bin/bash -c "while ! exec 3<>/dev/tcp/127.0.0.1/6379; do sleep 1 ; done"
             └─29711 sleep 1

Jun 25 12:29:48 sink redis[29695]: /usr/bin/bash: connect: Connection refused
Jun 25 12:29:48 sink redis[29695]: /usr/bin/bash: line 1: /dev/tcp/127.0.0.1/6379: Connection refused

cat /etc/hosts
127.0.0.1               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
192.168.1.101   sink.domain.org
127.0.0.1 cluster-leader
127.0.0.1 cluster-localnode
[root@sink phil]# redis-cli PING
Traceback (most recent call last):
  File "/usr/local/bin/runagent", line 63, in <module>
    read_env(f"/var/lib/nethserver/{mid}/state/agent.env")
  File "/usr/local/bin/runagent", line 36, in read_env
    env = agent.read_envfile(file_path)
  File "/usr/local/agent/pypkg/agent/__init__.py", line 89, in read_envfile
    fo = open(file_path, 'r')
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/nethserver/cluster/state/agent.env'

Hi! Thank you for testing NS8!
The support for ARM based servers was a thing that initially was kept out due to the missing information on how much request for this type of deployment was gonna be.
No one (that i know) here tested this configuration yet. I am pretty sure that the agent core won’t start at all due to the fact that is built for x64.

However, redis does have a ARM version of the container, so that should work at least. Can you run a redis container manually using podman?

4 Likes

hmm. ill try. what i do see now after install cockpit-podman are NS8 images and a NS8 redis container that seems to be in an endless loop restarting :slight_smile:

seems to be working.

podman pull docker.io/redis
podman run -d --name redis_server -p 6379:6379 redis

:C 26 Jun 2023 18:51:15.802 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo

1:C 26 Jun 2023 18:51:15.802 # Redis version=7.0.11, bits=64, commit=00000000, modified=0, pid=1, just started

1:C 26 Jun 2023 18:51:15.802 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf

1:M 26 Jun 2023 18:51:15.804 * monotonic clock: POSIX clock_gettime

1:M 26 Jun 2023 18:51:15.807 * Running mode=standalone, port=6379.

1:M 26 Jun 2023 18:51:15.807 # Server initialized

1:M 26 Jun 2023 18:51:15.807 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.

1:M 26 Jun 2023 18:51:15.871 * Ready to accept connections

The output of the redis container is fine, redis works as intended and it pulls the ARM variant of the base image.

I’ve read again the logs, I’ve missed a critical error: error: inspecting object: ghcr.io/nethserver/core:1.1.0: image not known

Basically every file needed for running NS8 is missing due to the missing ARM image.
Can’t tell when this will be addressed (and even IF it will be addressed), but there’s hope!
If you wanna be a pioneer for the ARM version of NS8 you can compile the core for yourself and try to run again the installation script. (remember to install the core with bash install.sh <name of the image built>)

3 Likes

ok, thanx. i might give it a try

Hi! Getting back now because I’ve built on my free time NS8 for ARM64/ARMv7!

Haven’t tested it so far and pretty much most of the software that is present is not compiled for ARM, so beware of that! (it’s just a matter of trial and error :man_shrugging:, this is a per-module basis)

The repo is available here: GitHub - Tbaile/ns8-core: NethServer 8 Core modules

For the install process you can probably follow the quickstart, but then run

bash install.sh ghcr.io/tbaile/core:main

don’t have any ARM based device sitting unused right now, and I’m not having success in creating an ARM based VM, so best of luck :rocket:

5 Likes

Owe it to the role from the past to at least have a go on it…

Not installing on a PI but in a qemu VM in pimox ( a unfortunately abandoned port of proxmox on arm64). Installed debian 12 arm64 netinstall-iso in the vm.

Did not succeed yet :cry:

Error: no command or entrypoint provided, and no CMD or ENTRYPOINT from image

Complete events in terminal:

root@ns8arm01:~
# uname -a
Linux ns8arm01 6.1.0-17-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux
root@ns8arm01:~
# curl https://raw.githubusercontent.com/NethServer/ns8-core/main/core/install.sh > install.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2575  100  2575    0     0   9383      0 --:--:-- --:--:-- --:--:--  9466
root@ns8arm01:~
# bash install.sh ghcr.io/tbaile/core:main
Checking port 80 and 443 are not already in use
Restart journald:
Install dependencies:
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libassuan0 libksba8 libnpth0 pinentry-curses
Suggested packages:
  pinentry-gnome3 tor parcimonie xloadimage scdaemon pinentry-doc
The following NEW packages will be installed:
  dirmngr gnupg gnupg-l10n gnupg-utils gnupg2 gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libassuan0 libksba8 libnpth0
  pinentry-curses
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,133 kB of archives.
After this operation, 17.2 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main arm64 libassuan0 arm64 2.5.5-5 [45.9 kB]
Get:2 http://deb.debian.org/debian bookworm/main arm64 gpgconf arm64 2.2.40-1.1 [557 kB]
Get:3 http://deb.debian.org/debian bookworm/main arm64 libksba8 arm64 1.6.3-2 [119 kB]
Get:4 http://deb.debian.org/debian bookworm/main arm64 libnpth0 arm64 1.6-3 [18.6 kB]
Get:5 http://deb.debian.org/debian bookworm/main arm64 dirmngr arm64 2.2.40-1.1 [770 kB]
Get:6 http://deb.debian.org/debian bookworm/main arm64 gnupg-l10n all 2.2.40-1.1 [1,093 kB]
Get:7 http://deb.debian.org/debian bookworm/main arm64 gnupg-utils arm64 2.2.40-1.1 [880 kB]
Get:8 http://deb.debian.org/debian bookworm/main arm64 gpg arm64 2.2.40-1.1 [903 kB]
Get:9 http://deb.debian.org/debian bookworm/main arm64 pinentry-curses arm64 1.2.1-1 [75.2 kB]
Get:10 http://deb.debian.org/debian bookworm/main arm64 gpg-agent arm64 2.2.40-1.1 [673 kB]
Get:11 http://deb.debian.org/debian bookworm/main arm64 gpg-wks-client arm64 2.2.40-1.1 [532 kB]
Get:12 http://deb.debian.org/debian bookworm/main arm64 gpg-wks-server arm64 2.2.40-1.1 [524 kB]
Get:13 http://deb.debian.org/debian bookworm/main arm64 gpgsm arm64 2.2.40-1.1 [651 kB]
Get:14 http://deb.debian.org/debian bookworm/main arm64 gnupg all 2.2.40-1.1 [846 kB]
Get:15 http://deb.debian.org/debian bookworm/main arm64 gnupg2 all 2.2.40-1.1 [445 kB]
Fetched 8,133 kB in 1s (14.4 MB/s)
Selecting previously unselected package libassuan0:arm64.
(Reading database ... 34187 files and directories currently installed.)
Preparing to unpack .../00-libassuan0_2.5.5-5_arm64.deb ...
Unpacking libassuan0:arm64 (2.5.5-5) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../01-gpgconf_2.2.40-1.1_arm64.deb ...
Unpacking gpgconf (2.2.40-1.1) ...
Selecting previously unselected package libksba8:arm64.
Preparing to unpack .../02-libksba8_1.6.3-2_arm64.deb ...
Unpacking libksba8:arm64 (1.6.3-2) ...
Selecting previously unselected package libnpth0:arm64.
Preparing to unpack .../03-libnpth0_1.6-3_arm64.deb ...
Unpacking libnpth0:arm64 (1.6-3) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../04-dirmngr_2.2.40-1.1_arm64.deb ...
Unpacking dirmngr (2.2.40-1.1) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../05-gnupg-l10n_2.2.40-1.1_all.deb ...
Unpacking gnupg-l10n (2.2.40-1.1) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../06-gnupg-utils_2.2.40-1.1_arm64.deb ...
Unpacking gnupg-utils (2.2.40-1.1) ...
Selecting previously unselected package gpg.
Preparing to unpack .../07-gpg_2.2.40-1.1_arm64.deb ...
Unpacking gpg (2.2.40-1.1) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../08-pinentry-curses_1.2.1-1_arm64.deb ...
Unpacking pinentry-curses (1.2.1-1) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../09-gpg-agent_2.2.40-1.1_arm64.deb ...
Unpacking gpg-agent (2.2.40-1.1) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../10-gpg-wks-client_2.2.40-1.1_arm64.deb ...
Unpacking gpg-wks-client (2.2.40-1.1) ...
Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../11-gpg-wks-server_2.2.40-1.1_arm64.deb ...
Unpacking gpg-wks-server (2.2.40-1.1) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../12-gpgsm_2.2.40-1.1_arm64.deb ...
Unpacking gpgsm (2.2.40-1.1) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../13-gnupg_2.2.40-1.1_all.deb ...
Unpacking gnupg (2.2.40-1.1) ...
Selecting previously unselected package gnupg2.
Preparing to unpack .../14-gnupg2_2.2.40-1.1_all.deb ...
Unpacking gnupg2 (2.2.40-1.1) ...
Setting up libksba8:arm64 (1.6.3-2) ...
Setting up libnpth0:arm64 (1.6-3) ...
Setting up libassuan0:arm64 (2.5.5-5) ...
Setting up gnupg-l10n (2.2.40-1.1) ...
Setting up gpgconf (2.2.40-1.1) ...
Setting up gpg (2.2.40-1.1) ...
Setting up gnupg-utils (2.2.40-1.1) ...
Setting up pinentry-curses (1.2.1-1) ...
Setting up gpg-agent (2.2.40-1.1) ...
Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket → /usr/lib/systemd/user/gpg-agent-browser.socket.
Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket → /usr/lib/systemd/user/gpg-agent-extra.socket.
Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket → /usr/lib/systemd/user/gpg-agent-ssh.socket.
Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent.socket → /usr/lib/systemd/user/gpg-agent.socket.
Setting up gpgsm (2.2.40-1.1) ...
Setting up dirmngr (2.2.40-1.1) ...
Created symlink /etc/systemd/user/sockets.target.wants/dirmngr.socket → /usr/lib/systemd/user/dirmngr.socket.
Setting up gpg-wks-server (2.2.40-1.1) ...
Setting up gpg-wks-client (2.2.40-1.1) ...
Setting up gnupg (2.2.40-1.1) ...
Setting up gnupg2 (2.2.40-1.1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u3) ...
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
openssl is already the newest version (3.0.11-1~deb12u2).
openssl set to manually installed.
pciutils is already the newest version (1:3.9.0-4).
wget is already the newest version (1.21.3-1+b1).
The following additional packages will be installed:
  aardvark-dns buildah catatonit conmon containernetworking-plugins crun fuse-overlayfs fuse3 gir1.2-glib-2.0 gir1.2-nm-1.0
  golang-github-containers-common golang-github-containers-image ipset iptables libduktape207 libfuse3-3 libgirepository-1.0-1 libgpgme11
  libip6tc2 libipset13 libjq1 libnetfilter-conntrack3 libnfnetlink0 libnm0 libonig5 libpolkit-agent-1-0 libpolkit-gobject-1-0 libslirp0
  libsubid4 libyajl2 netavark polkitd python3-attr python3-cap-ng python3-dbus python3-distutils python3-firewall python3-gi
  python3-json-pointer python3-jsonschema python3-lib2to3 python3-nftables python3-pip-whl python3-pyrsistent python3-rfc3987
  python3-setuptools-whl python3-uritemplate python3-webcolors python3.11-venv sgml-base slirp4netns uidmap wireguard-tools xml-core
Suggested packages:
  containers-storage docker-compose polkitd-pkla python-attr-doc python-dbus-doc python-jsonschema-doc sgml-base-doc openresolv | resolvconf
  debhelper
The following NEW packages will be installed:
  aardvark-dns buildah catatonit conmon containernetworking-plugins crun firewalld fuse-overlayfs fuse3 gir1.2-glib-2.0 gir1.2-nm-1.0
  golang-github-containers-common golang-github-containers-image ipset iptables jq libduktape207 libfuse3-3 libgirepository-1.0-1 libgpgme11
  libip6tc2 libipset13 libjq1 libnetfilter-conntrack3 libnfnetlink0 libnm0 libonig5 libpolkit-agent-1-0 libpolkit-gobject-1-0 libslirp0
  libsubid4 libyajl2 netavark podman polkitd psmisc python3-attr python3-cap-ng python3-dbus python3-distutils python3-firewall python3-gi
  python3-json-pointer python3-jsonschema python3-lib2to3 python3-nftables python3-pip-whl python3-pyrsistent python3-rfc3987
  python3-setuptools-whl python3-uritemplate python3-venv python3-webcolors python3.11-venv sgml-base slirp4netns uidmap uuid-runtime wireguard
  wireguard-tools xml-core
0 upgraded, 61 newly installed, 0 to remove and 0 not upgraded.
Need to get 30.2 MB of archives.
After this operation, 138 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main arm64 sgml-base all 1.31 [15.4 kB]
Get:2 http://deb.debian.org/debian bookworm/main arm64 uuid-runtime arm64 2.38.1-5+b1 [50.7 kB]
Get:3 http://deb.debian.org/debian bookworm/main arm64 netavark arm64 1.4.0-3 [895 kB]
Get:4 http://deb.debian.org/debian bookworm/main arm64 aardvark-dns arm64 1.4.0-3 [684 kB]
Get:5 http://deb.debian.org/debian bookworm/main arm64 libsubid4 arm64 1:4.13+dfsg1-1+b1 [208 kB]
Get:6 http://deb.debian.org/debian bookworm/main arm64 uidmap arm64 1:4.13+dfsg1-1+b1 [188 kB]
Get:7 http://deb.debian.org/debian bookworm/main arm64 libip6tc2 arm64 1.8.9-2 [18.7 kB]
Get:8 http://deb.debian.org/debian bookworm/main arm64 libnfnetlink0 arm64 1.0.2-2 [14.5 kB]
Get:9 http://deb.debian.org/debian bookworm/main arm64 libnetfilter-conntrack3 arm64 1.0.9-3 [38.4 kB]
Get:10 http://deb.debian.org/debian bookworm/main arm64 iptables arm64 1.8.9-2 [352 kB]
Get:11 http://deb.debian.org/debian bookworm/main arm64 containernetworking-plugins arm64 1.1.1+ds1-3+b5 [6,026 kB]
Get:12 http://deb.debian.org/debian bookworm/main arm64 golang-github-containers-image all 5.23.1-4 [31.7 kB]
Get:13 http://deb.debian.org/debian bookworm/main arm64 golang-github-containers-common all 0.50.1+ds1-4 [36.2 kB]
Get:14 http://deb.debian.org/debian bookworm/main arm64 libgpgme11 arm64 1.18.0-3+b1 [286 kB]
Get:15 http://deb.debian.org/debian bookworm/main arm64 buildah arm64 1.28.2+ds1-3+b1 [5,288 kB]
Get:16 http://deb.debian.org/debian bookworm/main arm64 catatonit arm64 0.1.7-1+b1 [212 kB]
Get:17 http://deb.debian.org/debian bookworm/main arm64 conmon arm64 2.1.6+ds1-1 [36.0 kB]
Get:18 http://deb.debian.org/debian bookworm/main arm64 libyajl2 arm64 2.1.0-3+deb12u2 [21.8 kB]
Get:19 http://deb.debian.org/debian bookworm/main arm64 crun arm64 1.8.1-1+deb12u1 [292 kB]
Get:20 http://deb.debian.org/debian bookworm/main arm64 libgirepository-1.0-1 arm64 1.74.0-3 [93.2 kB]
Get:21 http://deb.debian.org/debian bookworm/main arm64 gir1.2-glib-2.0 arm64 1.74.0-3 [160 kB]
Get:22 http://deb.debian.org/debian bookworm/main arm64 libnm0 arm64 1.42.4-1 [401 kB]
Get:23 http://deb.debian.org/debian bookworm/main arm64 gir1.2-nm-1.0 arm64 1.42.4-1 [77.2 kB]
Get:24 http://deb.debian.org/debian bookworm/main arm64 xml-core all 0.18+nmu1 [23.8 kB]
Get:25 http://deb.debian.org/debian bookworm/main arm64 libduktape207 arm64 2.7.0-2 [124 kB]
Get:26 http://deb.debian.org/debian bookworm/main arm64 libpolkit-gobject-1-0 arm64 122-3 [42.7 kB]
Get:27 http://deb.debian.org/debian bookworm/main arm64 libpolkit-agent-1-0 arm64 122-3 [23.6 kB]
Get:28 http://deb.debian.org/debian bookworm/main arm64 polkitd arm64 122-3 [109 kB]
Get:29 http://deb.debian.org/debian bookworm/main arm64 python3-dbus arm64 1.3.2-4+b1 [93.5 kB]
Get:30 http://deb.debian.org/debian bookworm/main arm64 python3-gi arm64 3.42.2-3+b1 [212 kB]
Get:31 http://deb.debian.org/debian bookworm/main arm64 python3-attr all 22.2.0-1 [65.4 kB]
Get:32 http://deb.debian.org/debian bookworm/main arm64 python3-pyrsistent arm64 0.18.1-1+b3 [59.4 kB]
Get:33 http://deb.debian.org/debian bookworm/main arm64 python3-jsonschema all 4.10.3-1 [67.9 kB]
Get:34 http://deb.debian.org/debian bookworm/main arm64 python3-nftables arm64 1.0.6-2+deb12u2 [15.5 kB]
Get:35 http://deb.debian.org/debian bookworm/main arm64 python3-firewall all 1.3.3-1~deb12u1 [132 kB]
Get:36 http://deb.debian.org/debian bookworm/main arm64 firewalld all 1.3.3-1~deb12u1 [368 kB]
Get:37 http://deb.debian.org/debian bookworm/main arm64 libfuse3-3 arm64 3.14.0-4 [82.9 kB]
Get:38 http://deb.debian.org/debian bookworm/main arm64 fuse3 arm64 3.14.0-4 [34.5 kB]
Get:39 http://deb.debian.org/debian bookworm/main arm64 fuse-overlayfs arm64 1.10-1 [39.7 kB]
Get:40 http://deb.debian.org/debian bookworm/main arm64 libipset13 arm64 7.17-1 [65.8 kB]
Get:41 http://deb.debian.org/debian bookworm/main arm64 ipset arm64 7.17-1 [45.7 kB]
Get:42 http://deb.debian.org/debian bookworm/main arm64 libonig5 arm64 6.9.8-1 [179 kB]
Get:43 http://deb.debian.org/debian bookworm/main arm64 libjq1 arm64 1.6-2.1 [121 kB]
Get:44 http://deb.debian.org/debian bookworm/main arm64 jq arm64 1.6-2.1 [64.5 kB]
Get:45 http://deb.debian.org/debian bookworm/main arm64 libslirp0 arm64 4.7.0-1 [58.4 kB]
Get:46 http://deb.debian.org/debian bookworm/main arm64 podman arm64 4.3.1+ds1-8+b1 [9,197 kB]
Get:47 http://deb.debian.org/debian bookworm/main arm64 psmisc arm64 23.6-1 [257 kB]
Get:48 http://deb.debian.org/debian bookworm/main arm64 python3-cap-ng arm64 0.8.3-1+b3 [21.0 kB]
Get:49 http://deb.debian.org/debian bookworm/main arm64 python3-lib2to3 all 3.11.2-3 [76.3 kB]
Get:50 http://deb.debian.org/debian bookworm/main arm64 python3-distutils all 3.11.2-3 [131 kB]
Get:51 http://deb.debian.org/debian bookworm/main arm64 python3-json-pointer all 2.3-2 [15.1 kB]
Get:52 http://deb.debian.org/debian bookworm/main arm64 python3-pip-whl all 23.0.1+dfsg-1 [1,717 kB]
Get:53 http://deb.debian.org/debian bookworm/main arm64 python3-rfc3987 all 1.3.8-2 [8,816 B]
Get:54 http://deb.debian.org/debian bookworm/main arm64 python3-setuptools-whl all 66.1.1-1 [1,111 kB]
Get:55 http://deb.debian.org/debian bookworm/main arm64 python3-uritemplate all 4.1.1-2 [10.9 kB]
Get:56 http://deb.debian.org/debian bookworm/main arm64 python3.11-venv arm64 3.11.2-6 [5,892 B]
Get:57 http://deb.debian.org/debian bookworm/main arm64 python3-venv arm64 3.11.2-1+b1 [1,200 B]
Get:58 http://deb.debian.org/debian bookworm/main arm64 python3-webcolors all 1.11.1-1 [12.7 kB]
Get:59 http://deb.debian.org/debian bookworm/main arm64 slirp4netns arm64 1.2.0-1 [36.6 kB]
Get:60 http://deb.debian.org/debian bookworm/main arm64 wireguard-tools arm64 1.0.20210914-1+b1 [89.3 kB]
Get:61 http://deb.debian.org/debian bookworm/main arm64 wireguard all 1.0.20210914-1 [8,216 B]
Fetched 30.2 MB in 2s (14.8 MB/s)
Extracting templates from packages: 100%
Selecting previously unselected package sgml-base.
(Reading database ... 34447 files and directories currently installed.)
Preparing to unpack .../00-sgml-base_1.31_all.deb ...
Unpacking sgml-base (1.31) ...
Selecting previously unselected package uuid-runtime.
Preparing to unpack .../01-uuid-runtime_2.38.1-5+b1_arm64.deb ...
Unpacking uuid-runtime (2.38.1-5+b1) ...
Selecting previously unselected package netavark.
Preparing to unpack .../02-netavark_1.4.0-3_arm64.deb ...
Unpacking netavark (1.4.0-3) ...
Selecting previously unselected package aardvark-dns.
Preparing to unpack .../03-aardvark-dns_1.4.0-3_arm64.deb ...
Unpacking aardvark-dns (1.4.0-3) ...
Selecting previously unselected package libsubid4:arm64.
Preparing to unpack .../04-libsubid4_1%3a4.13+dfsg1-1+b1_arm64.deb ...
Unpacking libsubid4:arm64 (1:4.13+dfsg1-1+b1) ...
Selecting previously unselected package uidmap.
Preparing to unpack .../05-uidmap_1%3a4.13+dfsg1-1+b1_arm64.deb ...
Unpacking uidmap (1:4.13+dfsg1-1+b1) ...
Selecting previously unselected package libip6tc2:arm64.
Preparing to unpack .../06-libip6tc2_1.8.9-2_arm64.deb ...
Unpacking libip6tc2:arm64 (1.8.9-2) ...
Selecting previously unselected package libnfnetlink0:arm64.
Preparing to unpack .../07-libnfnetlink0_1.0.2-2_arm64.deb ...
Unpacking libnfnetlink0:arm64 (1.0.2-2) ...
Selecting previously unselected package libnetfilter-conntrack3:arm64.
Preparing to unpack .../08-libnetfilter-conntrack3_1.0.9-3_arm64.deb ...
Unpacking libnetfilter-conntrack3:arm64 (1.0.9-3) ...
Selecting previously unselected package iptables.
Preparing to unpack .../09-iptables_1.8.9-2_arm64.deb ...
Unpacking iptables (1.8.9-2) ...
Selecting previously unselected package containernetworking-plugins.
Preparing to unpack .../10-containernetworking-plugins_1.1.1+ds1-3+b5_arm64.deb ...
Unpacking containernetworking-plugins (1.1.1+ds1-3+b5) ...
Selecting previously unselected package golang-github-containers-image.
Preparing to unpack .../11-golang-github-containers-image_5.23.1-4_all.deb ...
Unpacking golang-github-containers-image (5.23.1-4) ...
Selecting previously unselected package golang-github-containers-common.
Preparing to unpack .../12-golang-github-containers-common_0.50.1+ds1-4_all.deb ...
Unpacking golang-github-containers-common (0.50.1+ds1-4) ...
Selecting previously unselected package libgpgme11:arm64.
Preparing to unpack .../13-libgpgme11_1.18.0-3+b1_arm64.deb ...
Unpacking libgpgme11:arm64 (1.18.0-3+b1) ...
Selecting previously unselected package buildah.
Preparing to unpack .../14-buildah_1.28.2+ds1-3+b1_arm64.deb ...
Unpacking buildah (1.28.2+ds1-3+b1) ...
Selecting previously unselected package catatonit.
Preparing to unpack .../15-catatonit_0.1.7-1+b1_arm64.deb ...
Unpacking catatonit (0.1.7-1+b1) ...
Selecting previously unselected package conmon.
Preparing to unpack .../16-conmon_2.1.6+ds1-1_arm64.deb ...
Unpacking conmon (2.1.6+ds1-1) ...
Selecting previously unselected package libyajl2:arm64.
Preparing to unpack .../17-libyajl2_2.1.0-3+deb12u2_arm64.deb ...
Unpacking libyajl2:arm64 (2.1.0-3+deb12u2) ...
Selecting previously unselected package crun.
Preparing to unpack .../18-crun_1.8.1-1+deb12u1_arm64.deb ...
Unpacking crun (1.8.1-1+deb12u1) ...
Selecting previously unselected package libgirepository-1.0-1:arm64.
Preparing to unpack .../19-libgirepository-1.0-1_1.74.0-3_arm64.deb ...
Unpacking libgirepository-1.0-1:arm64 (1.74.0-3) ...
Selecting previously unselected package gir1.2-glib-2.0:arm64.
Preparing to unpack .../20-gir1.2-glib-2.0_1.74.0-3_arm64.deb ...
Unpacking gir1.2-glib-2.0:arm64 (1.74.0-3) ...
Selecting previously unselected package libnm0:arm64.
Preparing to unpack .../21-libnm0_1.42.4-1_arm64.deb ...
Unpacking libnm0:arm64 (1.42.4-1) ...
Selecting previously unselected package gir1.2-nm-1.0:arm64.
Preparing to unpack .../22-gir1.2-nm-1.0_1.42.4-1_arm64.deb ...
Unpacking gir1.2-nm-1.0:arm64 (1.42.4-1) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../23-xml-core_0.18+nmu1_all.deb ...
Unpacking xml-core (0.18+nmu1) ...
Selecting previously unselected package libduktape207:arm64.
Preparing to unpack .../24-libduktape207_2.7.0-2_arm64.deb ...
Unpacking libduktape207:arm64 (2.7.0-2) ...
Selecting previously unselected package libpolkit-gobject-1-0:arm64.
Preparing to unpack .../25-libpolkit-gobject-1-0_122-3_arm64.deb ...
Unpacking libpolkit-gobject-1-0:arm64 (122-3) ...
Selecting previously unselected package libpolkit-agent-1-0:arm64.
Preparing to unpack .../26-libpolkit-agent-1-0_122-3_arm64.deb ...
Unpacking libpolkit-agent-1-0:arm64 (122-3) ...
Selecting previously unselected package polkitd.
Preparing to unpack .../27-polkitd_122-3_arm64.deb ...
Unpacking polkitd (122-3) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../28-python3-dbus_1.3.2-4+b1_arm64.deb ...
Unpacking python3-dbus (1.3.2-4+b1) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../29-python3-gi_3.42.2-3+b1_arm64.deb ...
Unpacking python3-gi (3.42.2-3+b1) ...
Selecting previously unselected package python3-attr.
Preparing to unpack .../30-python3-attr_22.2.0-1_all.deb ...
Unpacking python3-attr (22.2.0-1) ...
Selecting previously unselected package python3-pyrsistent:arm64.
Preparing to unpack .../31-python3-pyrsistent_0.18.1-1+b3_arm64.deb ...
Unpacking python3-pyrsistent:arm64 (0.18.1-1+b3) ...
Selecting previously unselected package python3-jsonschema.
Preparing to unpack .../32-python3-jsonschema_4.10.3-1_all.deb ...
Unpacking python3-jsonschema (4.10.3-1) ...
Selecting previously unselected package python3-nftables.
Preparing to unpack .../33-python3-nftables_1.0.6-2+deb12u2_arm64.deb ...
Unpacking python3-nftables (1.0.6-2+deb12u2) ...
Selecting previously unselected package python3-firewall.
Preparing to unpack .../34-python3-firewall_1.3.3-1~deb12u1_all.deb ...
Unpacking python3-firewall (1.3.3-1~deb12u1) ...
Selecting previously unselected package firewalld.
Preparing to unpack .../35-firewalld_1.3.3-1~deb12u1_all.deb ...
Unpacking firewalld (1.3.3-1~deb12u1) ...
Selecting previously unselected package libfuse3-3:arm64.
Preparing to unpack .../36-libfuse3-3_3.14.0-4_arm64.deb ...
Unpacking libfuse3-3:arm64 (3.14.0-4) ...
Selecting previously unselected package fuse3.
Preparing to unpack .../37-fuse3_3.14.0-4_arm64.deb ...
Unpacking fuse3 (3.14.0-4) ...
Selecting previously unselected package fuse-overlayfs.
Preparing to unpack .../38-fuse-overlayfs_1.10-1_arm64.deb ...
Unpacking fuse-overlayfs (1.10-1) ...
Selecting previously unselected package libipset13:arm64.
Preparing to unpack .../39-libipset13_7.17-1_arm64.deb ...
Unpacking libipset13:arm64 (7.17-1) ...
Selecting previously unselected package ipset.
Preparing to unpack .../40-ipset_7.17-1_arm64.deb ...
Unpacking ipset (7.17-1) ...
Selecting previously unselected package libonig5:arm64.
Preparing to unpack .../41-libonig5_6.9.8-1_arm64.deb ...
Unpacking libonig5:arm64 (6.9.8-1) ...
Selecting previously unselected package libjq1:arm64.
Preparing to unpack .../42-libjq1_1.6-2.1_arm64.deb ...
Unpacking libjq1:arm64 (1.6-2.1) ...
Selecting previously unselected package jq.
Preparing to unpack .../43-jq_1.6-2.1_arm64.deb ...
Unpacking jq (1.6-2.1) ...
Selecting previously unselected package libslirp0:arm64.
Preparing to unpack .../44-libslirp0_4.7.0-1_arm64.deb ...
Unpacking libslirp0:arm64 (4.7.0-1) ...
Selecting previously unselected package podman.
Preparing to unpack .../45-podman_4.3.1+ds1-8+b1_arm64.deb ...
Unpacking podman (4.3.1+ds1-8+b1) ...
Selecting previously unselected package psmisc.
Preparing to unpack .../46-psmisc_23.6-1_arm64.deb ...
Unpacking psmisc (23.6-1) ...
Selecting previously unselected package python3-cap-ng.
Preparing to unpack .../47-python3-cap-ng_0.8.3-1+b3_arm64.deb ...
Unpacking python3-cap-ng (0.8.3-1+b3) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../48-python3-lib2to3_3.11.2-3_all.deb ...
Unpacking python3-lib2to3 (3.11.2-3) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../49-python3-distutils_3.11.2-3_all.deb ...
Unpacking python3-distutils (3.11.2-3) ...
Selecting previously unselected package python3-json-pointer.
Preparing to unpack .../50-python3-json-pointer_2.3-2_all.deb ...
Unpacking python3-json-pointer (2.3-2) ...
Selecting previously unselected package python3-pip-whl.
Preparing to unpack .../51-python3-pip-whl_23.0.1+dfsg-1_all.deb ...
Unpacking python3-pip-whl (23.0.1+dfsg-1) ...
Selecting previously unselected package python3-rfc3987.
Preparing to unpack .../52-python3-rfc3987_1.3.8-2_all.deb ...
Unpacking python3-rfc3987 (1.3.8-2) ...
Selecting previously unselected package python3-setuptools-whl.
Preparing to unpack .../53-python3-setuptools-whl_66.1.1-1_all.deb ...
Unpacking python3-setuptools-whl (66.1.1-1) ...
Selecting previously unselected package python3-uritemplate.
Preparing to unpack .../54-python3-uritemplate_4.1.1-2_all.deb ...
Unpacking python3-uritemplate (4.1.1-2) ...
Selecting previously unselected package python3.11-venv.
Preparing to unpack .../55-python3.11-venv_3.11.2-6_arm64.deb ...
Unpacking python3.11-venv (3.11.2-6) ...
Selecting previously unselected package python3-venv.
Preparing to unpack .../56-python3-venv_3.11.2-1+b1_arm64.deb ...
Unpacking python3-venv (3.11.2-1+b1) ...
Selecting previously unselected package python3-webcolors.
Preparing to unpack .../57-python3-webcolors_1.11.1-1_all.deb ...
Unpacking python3-webcolors (1.11.1-1) ...
Selecting previously unselected package slirp4netns.
Preparing to unpack .../58-slirp4netns_1.2.0-1_arm64.deb ...
Unpacking slirp4netns (1.2.0-1) ...
Selecting previously unselected package wireguard-tools.
Preparing to unpack .../59-wireguard-tools_1.0.20210914-1+b1_arm64.deb ...
Unpacking wireguard-tools (1.0.20210914-1+b1) ...
Selecting previously unselected package wireguard.
Preparing to unpack .../60-wireguard_1.0.20210914-1_all.deb ...
Unpacking wireguard (1.0.20210914-1) ...
Setting up python3-attr (22.2.0-1) ...
Setting up python3-setuptools-whl (66.1.1-1) ...
Setting up python3-dbus (1.3.2-4+b1) ...
Setting up python3-cap-ng (0.8.3-1+b3) ...
Setting up python3-pip-whl (23.0.1+dfsg-1) ...
Setting up psmisc (23.6-1) ...
Setting up libip6tc2:arm64 (1.8.9-2) ...
Setting up libyajl2:arm64 (2.1.0-3+deb12u2) ...
Setting up libgpgme11:arm64 (1.18.0-3+b1) ...
Setting up python3-uritemplate (4.1.1-2) ...
Setting up libsubid4:arm64 (1:4.13+dfsg1-1+b1) ...
Setting up golang-github-containers-image (5.23.1-4) ...
Setting up python3-webcolors (1.11.1-1) ...
Setting up conmon (2.1.6+ds1-1) ...
Setting up catatonit (0.1.7-1+b1) ...
Setting up python3-rfc3987 (1.3.8-2) ...
Setting up netavark (1.4.0-3) ...
Setting up wireguard-tools (1.0.20210914-1+b1) ...
wg-quick.target is a disabled or a static unit, not starting it.
Setting up libfuse3-3:arm64 (3.14.0-4) ...
Setting up libnm0:arm64 (1.42.4-1) ...
Setting up aardvark-dns (1.4.0-3) ...
Setting up python3-pyrsistent:arm64 (0.18.1-1+b3) ...
Setting up libslirp0:arm64 (4.7.0-1) ...
Setting up libipset13:arm64 (7.17-1) ...
Setting up libduktape207:arm64 (2.7.0-2) ...
Setting up uuid-runtime (2.38.1-5+b1) ...
Adding group `uuidd' (GID 109) ...
Done.
Created symlink /etc/systemd/system/sockets.target.wants/uuidd.socket → /lib/systemd/system/uuidd.socket.
uuidd.service is a disabled or a static unit, not starting it.
Setting up python3-json-pointer (2.3-2) ...
Setting up libnfnetlink0:arm64 (1.0.2-2) ...
Setting up libgirepository-1.0-1:arm64 (1.74.0-3) ...
Setting up sgml-base (1.31) ...
Setting up golang-github-containers-common (0.50.1+ds1-4) ...
Setting up ipset (7.17-1) ...
Setting up python3-lib2to3 (3.11.2-3) ...
Setting up libonig5:arm64 (6.9.8-1) ...
Setting up libpolkit-gobject-1-0:arm64 (122-3) ...
Setting up wireguard (1.0.20210914-1) ...
Setting up python3-distutils (3.11.2-3) ...
Setting up slirp4netns (1.2.0-1) ...
Setting up libjq1:arm64 (1.6-2.1) ...
Setting up crun (1.8.1-1+deb12u1) ...
Setting up uidmap (1:4.13+dfsg1-1+b1) ...
Setting up podman (4.3.1+ds1-8+b1) ...
Created symlink /etc/systemd/system/default.target.wants/podman-auto-update.service → /lib/systemd/system/podman-auto-update.service.
Created symlink /etc/systemd/system/timers.target.wants/podman-auto-update.timer → /lib/systemd/system/podman-auto-update.timer.
Created symlink /etc/systemd/system/default.target.wants/podman-restart.service → /lib/systemd/system/podman-restart.service.
Created symlink /etc/systemd/system/default.target.wants/podman.service → /lib/systemd/system/podman.service.
Created symlink /etc/systemd/system/sockets.target.wants/podman.socket → /lib/systemd/system/podman.socket.
Setting up fuse3 (3.14.0-4) ...
update-initramfs: deferring update (trigger activated)
Setting up python3.11-venv (3.11.2-6) ...
Setting up python3-jsonschema (4.10.3-1) ...
Setting up gir1.2-glib-2.0:arm64 (1.74.0-3) ...
Setting up libnetfilter-conntrack3:arm64 (1.0.9-3) ...
Setting up xml-core (0.18+nmu1) ...
Setting up jq (1.6-2.1) ...
Setting up libpolkit-agent-1-0:arm64 (122-3) ...
Setting up fuse-overlayfs (1.10-1) ...
Setting up gir1.2-nm-1.0:arm64 (1.42.4-1) ...
Setting up python3-nftables (1.0.6-2+deb12u2) ...
Setting up buildah (1.28.2+ds1-3+b1) ...
Setting up iptables (1.8.9-2) ...
update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptables (iptables) in auto mode
update-alternatives: using /usr/sbin/ip6tables-legacy to provide /usr/sbin/ip6tables (ip6tables) in auto mode
update-alternatives: using /usr/sbin/iptables-nft to provide /usr/sbin/iptables (iptables) in auto mode
update-alternatives: using /usr/sbin/ip6tables-nft to provide /usr/sbin/ip6tables (ip6tables) in auto mode
update-alternatives: using /usr/sbin/arptables-nft to provide /usr/sbin/arptables (arptables) in auto mode
update-alternatives: using /usr/sbin/ebtables-nft to provide /usr/sbin/ebtables (ebtables) in auto mode
Setting up python3-venv (3.11.2-1+b1) ...
Setting up containernetworking-plugins (1.1.1+ds1-3+b5) ...
Setting up python3-gi (3.42.2-3+b1) ...
Setting up python3-firewall (1.3.3-1~deb12u1) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-17-arm64
Processing triggers for libc-bin (2.36-9+deb12u3) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for dbus (1.14.10-1~deb12u1) ...
Processing triggers for sgml-base (1.31) ...
Setting up polkitd (122-3) ...
Creating group 'polkitd' with GID 996.
Creating user 'polkitd' (polkit) with UID 996 and GID 996.
Setting up firewalld (1.3.3-1~deb12u1) ...
update-alternatives: using /usr/share/polkit-1/actions/org.fedoraproject.FirewallD1.server.policy.choice to provide /usr/share/polkit-1/actions/org.fedoraproject.FirewallD1.policy (org.fedoraproject.FirewallD1.policy) in auto mode
Created symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service → /lib/systemd/system/firewalld.service.
Created symlink /etc/systemd/system/multi-user.target.wants/firewalld.service → /lib/systemd/system/firewalld.service.
Extracting core sources from ghcr.io/tbaile/core:main:
Trying to pull ghcr.io/tbaile/core:main...
Getting image source signatures
Copying blob 1ec33ef09562 done
Copying blob 8c7455b85cbf done
Copying blob c76f40f1bfea done
Copying blob 12fcd5df36ad done
Copying blob f78749b62a3d done
Copying blob cbd1e4d5ddc7 done
Copying blob cb9d7fdf2b6c done
Copying blob 6b4bd084614d done
Copying blob 1cca6122d95a done
Copying config 369503ab49 done
Writing manifest to image destination
Storing signatures
Error: no command or entrypoint provided, and no CMD or ENTRYPOINT from image

I use a Futro S720 ThinClient instead of a Pi4. On Top a Hypervisor - Proxmox VE 8.1.3 - and NS7 as a VM. I am sure NS8 can also run on it…

It works tho! The correct image is pulled for the right arch!

This issue is a mere missing on my part, podman needs a entrypoint to unpack the image (since it needs the container to be created first), pushing a fix now.

3 Likes

I’m more afraid for the missing arm build in the Traefik module, I suppose that’s what is going to fail next :boom:

I think EDIT: needs an && too… this is a unwanted artifact:

Go job so far, keep up the good work :slight_smile:
I do not understand much of NS8 till now…

After correcting the permissions en removing the arifact

Installation breaks at Building wheels for collected packages: psutil

Building wheels for collected packages: psutil
  Building wheel for psutil (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for psutil (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [43 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-aarch64-cpython-311
      creating build/lib.linux-aarch64-cpython-311/psutil
      copying psutil/_psposix.py -> build/lib.linux-aarch64-cpython-311/psutil
      copying psutil/_common.py -> build/lib.linux-aarch64-cpython-311/psutil
      copying psutil/_psaix.py -> build/lib.linux-aarch64-cpython-311/psutil
      copying psutil/_psbsd.py -> build/lib.linux-aarch64-cpython-311/psutil
      copying psutil/_pswindows.py -> build/lib.linux-aarch64-cpython-311/psutil
      copying psutil/_pssunos.py -> build/lib.linux-aarch64-cpython-311/psutil
      copying psutil/_pslinux.py -> build/lib.linux-aarch64-cpython-311/psutil
      copying psutil/_compat.py -> build/lib.linux-aarch64-cpython-311/psutil
      copying psutil/__init__.py -> build/lib.linux-aarch64-cpython-311/psutil
      copying psutil/_psosx.py -> build/lib.linux-aarch64-cpython-311/psutil
      creating build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/__main__.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_process.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/runner.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_misc.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_testutils.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_memleaks.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_system.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_sunos.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_connections.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_contracts.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_linux.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_aix.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/__init__.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_windows.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_posix.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_bsd.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_osx.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      copying psutil/tests/test_unicode.py -> build/lib.linux-aarch64-cpython-311/psutil/tests
      running build_ext
      building 'psutil._psutil_linux' extension
      creating build/temp.linux-aarch64-cpython-311
      creating build/temp.linux-aarch64-cpython-311/psutil
      aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=594 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/usr/local/agent/pyenv/include -I/usr/include/python3.11 -c psutil/_psutil_common.c -o build/temp.linux-aarch64-cpython-311/psutil/_psutil_common.o
      C compiler or Python headers are not installed on this system. Try to run:
      sudo apt-get install gcc python3-dev
      error: command 'aarch64-linux-gnu-gcc' 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 psutil
Failed to build psutil
ERROR: Could not build wheels for psutil, which is required to install pyproject.toml-based projects
2 Likes

Installation breaks at Building wheels for collected packages: psutil

It depends on what you’re using to build, I’ve moved from buildah approach to the docker buildx, this speeds up builds tremendously and allows to cross compile using building arch instead of qemu (I’ve noticed a 400% decrease in build time). And due to this change building is (for now) only supported on AMD64.
EDIT: this is probably due a missing python package that needs to be built, below the issue is solved

I think EDIT: needs an && too… this is a unwanted artifact:

Yep, this indeed won’t generate the env as expected, when I’ve migrated the tool I’ve accidentally missed something, building the new image now.

Thank you!

2 Likes

Somehow pip needs to (re)build something so needed to install gcc and python3-dev.

After:

apt-get install gcc python3-dev
curl https://raw.githubusercontent.com/NethServer/ns8-core/main/core/install.sh > install.sh
bash install.sh ghcr.io/tbaile/core:main

The node is up and running on arm64 (aarch64)

:+1:

8 Likes

Let’s go!!! :rocket:

Somehow pip needs to (re)build something so needed to install gcc and python3-dev.

This might be a future issue for some distros, gonna ping @davidep so he’s up to date.

2 Likes

My dream is getting rid of it

Great job! Well done :heart:

I can’t wait for your Fosdem talk!