Ns8 on raspberry pi 4?

,

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!

I have tried installing and this is the error i am geting.

I am using rocky linux on arm.

let me destroy and rebuild the server, and see if i will be getting the same error,
could be because of the numerouse configs i tried to get ns8 working on Arm

[rocky@mygen ~]$ sudo bash install.sh ghcr.io/tbaile/core:main
Checking port 80 and 443 are not already in use
Restart journald:
Install dependencies:
NS8 Rocky Linux 9 - BaseOS                      0.0  B/s |   0  B     00:08
Errors during downloading metadata for repository 'ns-baseos':
  - Status code: 404 for https://u4.nethesis.it/mirrorlist?arch=aarch64&repo=BaseOS-9 (IP: 209.38.224.41)
Error: Failed to download metadata for repo 'ns-baseos': Cannot prepare internal mirrorlist: Status code: 404 for https://u4.nethesis.it/mirrorlist?arch=aarch64&repo=BaseOS-9 (IP: 209.38.224.41)

After a fresh rocky linux install version 9.1 i am getting the same error.

WHat could be the issue

and now it seems every other update commands i try to run,

i get this error


[rocky@ns8arm-20240113-0716 ~]$ sudo dnf upgrade
NS8 Rocky Linux 9 - BaseOS                              0.0  B/s |   0  B     00:07
Errors during downloading metadata for repository 'ns-baseos':
  - Status code: 404 for https://u4.nethesis.it/mirrorlist?arch=aarch64&repo=BaseOS-9 (IP: 209.38.224.41)
  - Status code: 404 for https://u4.nethesis.it/mirrorlist?arch=aarch64&repo=BaseOS-9&countme=1 (IP: 209.38.224.41)
Error: Failed to download metadata for repo 'ns-baseos': Cannot prepare internal mirrorlist: Status code: 404 for https://u4.nethesis.it/mirrorlist?arch=aarch64&repo=BaseOS-9 (IP: 209.38.224.41)
[rocky@ns8arm-20240113-0716 ~]$

On x86_64 the rocky-el9 repositories are managed (mirrored) by nethserver, but only for x86_64 not aarch64.

So you need to tweak the install script on rocky-el9 a bit at line 59 so this does not happen.

59     if [[ "${ID}" == rocky ]]; then
60         print_ns_yum_config > /etc/yum.repos.d/nethserver.repo
61         dnf config-manager --save --set-disabled appstream baseos extras
62         rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
63     fi

If you continue with the current installation you probably need to enable the original repo’s and disable nethserver mirrors (out the top of my head) :

dnf config-manager --save --set-enabled appstream baseos
dnf config-manager --save --set-disabled ns-appstream ns-baseos
dnf update

BTW in my short experience it seems to be preferred to run the install.sh script as root (sudo su) instead of with root privileges (sudo install.sh … )

1 Like

Things can be changed if you help us with your …ARM :face_with_hand_over_mouth:

  • The host u4 could mirror arm repos too, or
  • We can patch the install.sh script

We can patch the install.sh script to check for EUID and PATH sanity.

1 Like

sure thing.

I have shared the server ip as well as private SSH key assigned