good morning Markus,
readed this post and configured wireguard with new VPN IP. But there are more config errors:
- read to late, that on NS8 no applications allowed before migration
But: HOW is it possible to remove an application, not found a button to remove
installation wiki is a little bit confused (for me) …
That’s why yesterday evening I removed ns8 with
bash /var/lib/nethserver/node/uninstall.sh
.
By the way, the home was NOT cleared like wrote in documentation - it’s debian12 ??
… i cleared ns8 directories in /home by hand …
REBOOT and tried a new installation of NS8 with
curl https://raw.githubusercontent.com/NethServer/ns8-core/ns8-stable/core/install.sh | bash
After reboot I was NOT able to start https://10.2.2.11/cluster-admin …
It’s looking like debian12 is damaged, what should I do - make a fresh debian installation and configuration again and again and again ??? I have time I’m pensioner, but somewhen my head is empty …
First error to seen is syctl, I have to start with path /sbin/sysctl …
Where is the script I have to edit, or it’s better to edit path ?
The installation screen said:
NethServer cluster-admin UI:
- https://ns8.fima.lan/cluster-admin/
- https://10.2.2.11/cluster-admin/
Last login: Fri Aug 30 19:33:16 2024 from 10.2.2.9
-bash: [: : Ganzzahliger Ausdruck erwartet.
tux@ns8:~$ su
Passwort:
root@ns8:/home/tux# cd ~
root@ns8:~# ./install_ns8.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3153 100 3153 0 0 11422 0 --:--:-- --:--:-- --:--:-- 11423
Checking port 80 and 443 are not already in use
Restart journald:
Install dependencies:
OK:1 http://deb.debian.org/debian bookworm InRelease
Holen:2 http://security.debian.org/debian-security bookworm-security InRelease [48,0 kB]
Holen:3 http://deb.debian.org/debian bookworm-updates InRelease [55,4 kB]
Holen:4 http://security.debian.org/debian-security bookworm-security/main Sources [109 kB]
Holen:5 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
Holen:6 http://security.debian.org/debian-security bookworm-security/main Translation-en [108 kB]
OK:7 https://packagecloud.io/crowdsec/crowdsec/debian bookworm InRelease
Es wurden 499 kB in 2 s geholt (299 kB/s).
Paketlisten werden gelesen… Fertig
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
gnupg2 ist schon die neueste Version (2.2.40-1.1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht aktualisiert.
OK:1 http://deb.debian.org/debian bookworm InRelease
OK:2 http://security.debian.org/debian-security bookworm-security InRelease
OK:3 http://deb.debian.org/debian bookworm-updates InRelease
OK:4 https://packagecloud.io/crowdsec/crowdsec/debian bookworm InRelease
Paketlisten werden gelesen… Fertig
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
python3-venv ist schon die neueste Version (3.11.2-1+b1).
podman ist schon die neueste Version (4.3.1+ds1-8+deb12u1).
wireguard ist schon die neueste Version (1.0.20210914-1).
uuid-runtime ist schon die neueste Version (2.38.1-5+deb12u1).
curl ist schon die neueste Version (7.88.1-10+deb12u6).
jq ist schon die neueste Version (1.6-2.1).
openssl ist schon die neueste Version (3.0.13-1~deb12u1).
psmisc ist schon die neueste Version (23.6-1).
firewalld ist schon die neueste Version (1.3.3-1~deb12u1).
pciutils ist schon die neueste Version (1:3.9.0-4).
wget ist schon die neueste Version (1.21.3-1+b2).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht aktualisiert.
Extracting core sources from ghcr.io/nethserver/core:ns8-stable:
Gesamtzahl gelesener Bytes: 145500160 (139MiB, 257MiB/s)
etc/
.....................................
Set kernel parameters:
/var/lib/nethserver/node/install-core.sh: Zeile 39: sysctl: Kommando nicht gefunden.
Setup Python virtual environment for agents:
Requirement already satisfied: aiodns==3.0.0 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 5)) (3.0.0)
Requirement already satisfied: aiohttp==3.8.4 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 6)) (3.8.4)
Requirement already satisfied: ansible-core==2.15.1 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 7)) (2.15.1)
Requirement already satisfied: ansible-runner==2.3.1 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 8)) (2.3.1)
Requirement already satisfied: async-timeout==4.0.2 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 9)) (4.0.2)
Requirement already satisfied: attrs==22.2.0 in /usr/lib/python3/dist-packages (from -r /etc/nethserver/pyreq3_11.txt (line 10)) (22.2.0)
Requirement already satisfied: brotlipy==0.7.0 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 11)) (0.7.0)
Requirement already satisfied: certifi==2022.9.24 in /usr/lib/python3/dist-packages (from -r /etc/nethserver/pyreq3_11.txt (line 12)) (2022.9.24)
Requirement already satisfied: cffi==1.15.1 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 13)) (1.15.1)
Requirement already satisfied: chardet==5.1.0 in /usr/lib/python3/dist-packages (from -r /etc/nethserver/pyreq3_11.txt (line 14)) (5.1.0)
Requirement already satisfied: cryptography==41.0.1 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 15)) (41.0.1)
Requirement already satisfied: dnspython==2.3.0 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 16)) (2.3.0)
Requirement already satisfied: docutils==0.20 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 17)) (0.20)
Requirement already satisfied: hiredis==2.2.3 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 18)) (2.2.3)
Requirement already satisfied: idna==3.3 in /usr/lib/python3/dist-packages (from -r /etc/nethserver/pyreq3_11.txt (line 19)) (3.3)
Requirement already satisfied: Jinja2==3.1.2 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 20)) (3.1.2)
Requirement already satisfied: jsonschema==4.10.3 in /usr/lib/python3/dist-packages (from -r /etc/nethserver/pyreq3_11.txt (line 21)) (4.10.3)
Requirement already satisfied: ldap3==2.9.1 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 22)) (2.9.1)
Requirement already satisfied: lockfile==0.12.2 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 23)) (0.12.2)
Requirement already satisfied: MarkupSafe==2.1.3 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 24)) (2.1.3)
Requirement already satisfied: multidict==6.0.4 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 25)) (6.0.4)
Requirement already satisfied: packaging==23.0 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 26)) (23.0)
Requirement already satisfied: pexpect==4.8.0 in /usr/lib/python3/dist-packages (from -r /etc/nethserver/pyreq3_11.txt (line 27)) (4.8.0)
Requirement already satisfied: psutil==5.9.4 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 28)) (5.9.4)
Requirement already satisfied: ptyprocess==0.7.0 in /usr/lib/python3/dist-packages (from -r /etc/nethserver/pyreq3_11.txt (line 29)) (0.7.0)
Requirement already satisfied: pyasn1==0.4.8 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 30)) (0.4.8)
Requirement already satisfied: pycares==4.3.0 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 31)) (4.3.0)
Requirement already satisfied: pycparser==2.21 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 32)) (2.21)
Requirement already satisfied: pyrsistent==0.18.1 in /usr/lib/python3/dist-packages (from -r /etc/nethserver/pyreq3_11.txt (line 33)) (0.18.1)
Requirement already satisfied: python-daemon==3.0.1 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 34)) (3.0.1)
Requirement already satisfied: PyYAML==6.0 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 35)) (6.0)
Requirement already satisfied: redis==5.0.1 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 36)) (5.0.1)
Requirement already satisfied: regex-engine==1.1.0 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 37)) (1.1.0)
Requirement already satisfied: requests==2.31.0 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 38)) (2.31.0)
Requirement already satisfied: resolvelib==1.0.1 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 39)) (1.0.1)
Requirement already satisfied: semver==3.0.1 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 40)) (3.0.1)
Requirement already satisfied: six==1.16.0 in /usr/lib/python3/dist-packages (from -r /etc/nethserver/pyreq3_11.txt (line 41)) (1.16.0)
Requirement already satisfied: typing-extensions==4.6.3 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 42)) (4.6.3)
Requirement already satisfied: urllib3==1.26.12 in /usr/lib/python3/dist-packages (from -r /etc/nethserver/pyreq3_11.txt (line 43)) (1.26.12)
Requirement already satisfied: yarl==1.9.2 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from -r /etc/nethserver/pyreq3_11.txt (line 44)) (1.9.2)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /usr/lib/python3/dist-packages (from aiohttp==3.8.4->-r /etc/nethserver/pyreq3_11.txt (line 6)) (3.0.1)
Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from aiohttp==3.8.4->-r /etc/nethserver/pyreq3_11.txt (line 6)) (1.4.1)
Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from aiohttp==3.8.4->-r /etc/nethserver/pyreq3_11.txt (line 6)) (1.3.1)
Requirement already satisfied: setuptools>=62.4.0 in /usr/local/agent/pyenv/lib/python3.11/site-packages (from python-daemon==3.0.1->-r /etc/nethserver/pyreq3_11.txt (line 34)) (74.0.0)
Setup registry:
Add firewalld core rules:
Warning: ALREADY_ENABLED: http
Warning: ALREADY_ENABLED: https
Write initial cluster environment state
Write initial node environment state
Generate WireGuard VPN key pair:
JASGYecRcpESgnESsTmvc0YIvK/mzYj+lG1h3q76b3o=
Start Redis DB:
Generating cluster password:
Generating api-server password:
Generating node password:
AUTH failed: WRONGPASS invalid username-password pair or user is disabled.
NOPERM User default has no permissions to run the 'set' command
NOPERM User default has no permissions to run the 'set' command
NOPERM User default has no permissions to run the 'set' command
NOPERM User default has no permissions to run the 'hset' command
NOPERM User default has no permissions to run the 'hset' command
NOPERM User default has no permissions to run the 'acl|setuser' command
WRONGPASS invalid username-password pair or user is disabled.
NOPERM User default has no permissions to run the 'acl|setuser' command
NOPERM User default has no permissions to run the 'acl|setuser' command
NOPERM User default has no permissions to run the 'acl|setuser' command
NOPERM User default has no permissions to run the 'acl|save' command
NOPERM User default has no permissions to run the 'save' command
NOPERM User default has no permissions to run the 'config|set' command
NOPERM User default has no permissions to run the 'config|set' command
NOPERM User default has no permissions to run the 'config|rewrite' command
NOPERM User default has no permissions to run the 'set' command
Start API server and core agents:
Grant initial permissions:
Traceback (most recent call last):
File "<stdin>", line 4, in <module>
File "/usr/local/agent/pypkg/cluster/grants.py", line 73, in grant
return _change_role_definition(rdb, False, action_clause, on_clause, to_clause)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/agent/pypkg/cluster/grants.py", line 64, in _change_role_definition
pipe.execute()
File "/usr/local/agent/pyenv/lib/python3.11/site-packages/redis/client.py", line 1472, in execute
conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/agent/pyenv/lib/python3.11/site-packages/redis/connection.py", line 1086, in get_connection
connection.connect()
File "/usr/local/agent/pyenv/lib/python3.11/site-packages/redis/connection.py", line 276, in connect
self.on_connect()
File "/usr/local/agent/pyenv/lib/python3.11/site-packages/redis/connection.py", line 342, in on_connect
auth_response = self.read_response()
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/agent/pyenv/lib/python3.11/site-packages/redis/connection.py", line 500, in read_response
response = self._parser.read_response(disable_decoding=disable_decoding)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/agent/pyenv/lib/python3.11/site-packages/redis/_parsers/hiredis.py", line 133, in read_response
raise response
redis.exceptions.AuthenticationError: invalid username-password pair or user is disabled.