FreeTAKTeam / FreeTAKHub-Installation

FreeTAKHub-Installation
Eclipse Public License 2.0
33 stars 29 forks source link

update --check logic, nodered v. webmap version compatibility, support test.pypi #122

Open phreed opened 1 month ago

phreed commented 1 month ago

Resolves the following issues:

These changes need to be tested.

phreed commented 1 month ago

The IP address variable needs to be set. export MY_IPA=<whatever ip addr gives you> Test normal default installation with the following command:

wget -qO - https://raw.githubusercontent.com/babeloff/FreeTAKHub-Installation/main/scripts/easy_install.sh | sudo bash -s -- --ip-addr ${MY_IPA} --repo https://github.com/babeloff/FreeTAKHub-Installation.git --branch issue_120

Install downgrading the errors to warnings (and enable the root check):

wget -qO - https://raw.githubusercontent.com/babeloff/FreeTAKHub-Installation/main/scripts/easy_install.sh | sudo bash -s -- --ip-addr ${MY_IPA} --repo https://github.com/babeloff/FreeTAKHub-Installation.git --branch issue_120 --warn --check root
phreed commented 1 month ago

According to https://nodered.org/docs/faq/node-versions The nodejs needs to be 18 (or 20) to run nodered v4+ The nodejs installed on Ubuntu 22.04 is v12

nodejs/jammy-updates,jammy-security,now 12.22.9~dfsg-1ubuntu3.5 arm64 [installed]
  evented I/O for V8 javascript - runtime executable

The version of nodejs could be updated using nvm. https://github.com/nvm-sh/nvm/blob/master/README.md

Probably better to stick with the deb package from nodesource. https://github.com/nodesource/distributions/blob/master/README.md

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - &&\
sudo apt-get install -y nodejs

@Slevin has verified that nodejs does need to be upgraded to v20