FreeTAKTeam / FreeTAKHub-Installation

FreeTAKHub-Installation
Eclipse Public License 2.0
36 stars 28 forks source link

Zerotouch install: Video and Nodered failure #50

Closed mighkel closed 2 years ago

mighkel commented 2 years ago

Tried installing from the Zerotouch installer several times, creating and destroying several DO droplets. Seems to keep failing at Nodered and video servers.

Created 6-dollar DO Droplet, Ubuntu 20.04 LTS Logged in as root. sudo apt update sudo apt upgrade sudo reboot -n (have also tried without doing the above updates, same result)

Following this doc: https://freetakteam.github.io/FreeTAKServer-User-Docs/Installation/Ansible/ZeroTouchInstall/

This command: wget -qO - https://raw.githubusercontent.com/FreeTAKTeam/FreeTAKHub-Installation/main/scripts/easy_install.sh | sudo bash

Also tried (same results):
https://github.com/FreeTAKTeam/FreeTAKHub-Installation wget -qO - bit.ly/ftsadvancedinstall | sudo bash -s -- --core --video

Result:

Check FreeTAK-UI xxx.xxx.xxx.xxx:5000 = success Check webmap xxx.xxx.xxx.xxx:5000/webmap = success (no clients connected yet though) Check Nodered server: xxx.xxx.xxx.xxx:1880 = refused to connect Video check: xxx.xxx.xxx.xxx:9997/v1/config/get = refused to connect

Script Log:

Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64)

0 updates can be applied immediately.

Last login: Sat Apr 16 17:44:26 2022 from 162.243.188.66 root@DOCCFTS:~# wget -qO - https://raw.githubusercontent.com/FreeTAKTeam/FreeTAKHub-Installation/main/scripts/easy_install.sh | sudo bash

Checking if this script is running as root...Success!
Downloading dependencies...
Adding the Ansible Personal Package Archive (PPA)...
Hit:1 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
Hit:2 http://mirrors.digitalocean.com/ubuntu focal InRelease                                                    
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease                                                
Get:4 http://ppa.launchpad.net/ansible/ansible/ubuntu focal InRelease [18.0 kB]
Hit:5 http://mirrors.digitalocean.com/ubuntu focal-updates InRelease
Hit:6 http://mirrors.digitalocean.com/ubuntu focal-backports InRelease
Get:7 http://ppa.launchpad.net/ansible/ansible/ubuntu focal/main amd64 Packages [1128 B]
Get:8 http://ppa.launchpad.net/ansible/ansible/ubuntu focal/main Translation-en [756 B]
Fetched 19.9 kB in 1s (18.0 kB/s)                   
Reading package lists... Done
Downloading package information from configured sources...
Installing Ansible...
Selecting previously unselected package python3-pyparsing.
(Reading database ... 94891 files and directories currently installed.)
Preparing to unpack .../00-python3-pyparsing_2.4.6-1_all.deb ...
Unpacking python3-pyparsing (2.4.6-1) ...
Selecting previously unselected package python3-packaging.
Preparing to unpack .../01-python3-packaging_20.3-1_all.deb ...
Unpacking python3-packaging (20.3-1) ...
Selecting previously unselected package python3-resolvelib.
Preparing to unpack .../02-python3-resolvelib_0.5.4-2ppa~focal_all.deb ...
Unpacking python3-resolvelib (0.5.4-2ppa~focal) ...
Selecting previously unselected package ansible-core.
Preparing to unpack .../03-ansible-core_2.12.4-1ppa~focal_all.deb ...
Unpacking ansible-core (2.12.4-1ppa~focal) ...
Selecting previously unselected package ansible.
Preparing to unpack .../04-ansible_5.6.0-1ppa~focal_all.deb ...
Unpacking ansible (5.6.0-1ppa~focal) ...
Selecting previously unselected package python3-jmespath.
Preparing to unpack .../05-python3-jmespath_0.9.4-2ubuntu1_all.deb ...
Unpacking python3-jmespath (0.9.4-2ubuntu1) ...
Selecting previously unselected package python3-kerberos.
Preparing to unpack .../06-python3-kerberos_1.1.14-3.1build1_amd64.deb ...
Unpacking python3-kerberos (1.1.14-3.1build1) ...
Selecting previously unselected package python3-ntlm-auth.
Preparing to unpack .../07-python3-ntlm-auth_1.1.0-1_all.deb ...
Unpacking python3-ntlm-auth (1.1.0-1) ...
Selecting previously unselected package python3-bcrypt.
Preparing to unpack .../08-python3-bcrypt_3.1.7-2ubuntu1_amd64.deb ...
Unpacking python3-bcrypt (3.1.7-2ubuntu1) ...
Selecting previously unselected package python3-paramiko.
Preparing to unpack .../09-python3-paramiko_2.6.0-2ubuntu0.1_all.deb ...
Unpacking python3-paramiko (2.6.0-2ubuntu0.1) ...
Selecting previously unselected package python3-requests-kerberos.
Preparing to unpack .../10-python3-requests-kerberos_0.12.0-2_all.deb ...
Unpacking python3-requests-kerberos (0.12.0-2) ...
Selecting previously unselected package python3-requests-ntlm.
Preparing to unpack .../11-python3-requests-ntlm_1.1.0-1_all.deb ...
Unpacking python3-requests-ntlm (1.1.0-1) ...
Selecting previously unselected package python3-xmltodict.
Preparing to unpack .../12-python3-xmltodict_0.12.0-1_all.deb ...
Unpacking python3-xmltodict (0.12.0-1) ...
Selecting previously unselected package python3-winrm.
Preparing to unpack .../13-python3-winrm_0.3.0-2_all.deb ...
Unpacking python3-winrm (0.3.0-2) ...
Selecting previously unselected package sshpass.
Preparing to unpack .../14-sshpass_1.06-1_amd64.deb ...
Unpacking sshpass (1.06-1) ...
Setting up python3-ntlm-auth (1.1.0-1) ...
Setting up python3-bcrypt (3.1.7-2ubuntu1) ...
Setting up python3-resolvelib (0.5.4-2ppa~focal) ...
Setting up python3-kerberos (1.1.14-3.1build1) ...
Setting up sshpass (1.06-1) ...
Setting up python3-xmltodict (0.12.0-1) ...
Setting up python3-pyparsing (2.4.6-1) ...
Setting up python3-jmespath (0.9.4-2ubuntu1) ...
Setting up python3-requests-kerberos (0.12.0-2) ...
Setting up python3-paramiko (2.6.0-2ubuntu0.1) ...
Setting up python3-requests-ntlm (1.1.0-1) ...
Setting up python3-packaging (20.3-1) ...
Setting up python3-winrm (0.3.0-2) ...
Setting up ansible-core (2.12.4-1ppa~focal) ...
Setting up ansible (5.6.0-1ppa~focal) ...
Processing triggers for man-db (2.9.1-1) ...
Installing Git...
Checking for FreeTAKHub-Installation in home directory...NOT FOUND
Cloning the FreeTAKHub-Installation repository...
Cloning into 'FreeTAKHub-Installation'...
remote: Enumerating objects: 2604, done.
remote: Counting objects: 100% (2604/2604), done.
remote: Compressing objects: 100% (1586/1586), done.
remote: Total 2604 (delta 1422), reused 1769 (delta 721), pack-reused 0
Receiving objects: 100% (2604/2604), 96.51 MiB | 26.13 MiB/s, done.
Resolving deltas: 100% (1422/1422), done.
Adding passwordless Ansible execution for the current user...
grep: /etc/sudoers.d/dont-prompt-root-for-sudo-password: No such file or directory
Creating a public and private keys if non-existent...
Generating public/private rsa key pair.
Your identification has been saved in /root/.ssh/id_rsa
Your public key has been saved in /root/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:c/W6JzHMGTBpdtSWOchFvWU7NKmwOaTHCYXmb4du1gM root@DOCCFTS
The key's randomart image is:
+---[RSA 3072]----+
|          o=.=o+.|
|         +*o+ *++|
|        oo=+*.oo=|
|         o O.o + |
|        S +ooo. .|
|         o E*o   |
|          o =o   |
|           +.+.  |
|          o .o.  |
+----[SHA256]-----+
Running Ansible Playbook...

PLAY [Install FreeTAKServer and all components] *******************************************************************************************************************************************************************

TASK [Gathering Facts] ********************************************************************************************************************************************************************************************
ok: [localhost]

TASK [cleanup /tmp/*] *********************************************************************************************************************************************************************************************
changed: [localhost]

TASK [common : Include Ubuntu-specific variables] *****************************************************************************************************************************************************************
ok: [localhost]

TASK [common : Setup] *********************************************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/common/tasks/setup-Ubuntu.yml for localhost

TASK [common : Update apt] ****************************************************************************************************************************************************************************************
ok: [localhost]

TASK [common : Detect systemctl file] *****************************************************************************************************************************************************************************
ok: [localhost]

TASK [common : Create systemctl backup] ***************************************************************************************************************************************************************************
skipping: [localhost]

TASK [common : Use systemctl workaround] **************************************************************************************************************************************************************************
changed: [localhost]

TASK [python3 : Setup] ********************************************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/python3/tasks/setup-Ubuntu.yml for localhost

TASK [python3 : Include Ubuntu-specific variables] ****************************************************************************************************************************************************************
ok: [localhost]

TASK [python3 : Install apt packages] *****************************************************************************************************************************************************************************
changed: [localhost]

TASK [python3 : Install pip packages] *****************************************************************************************************************************************************************************
ok: [localhost]

TASK [freetakserver : Include Ubuntu-specific variables] **********************************************************************************************************************************************************
ok: [localhost]

TASK [freetakserver : Include FTSConfig variables] ****************************************************************************************************************************************************************
ok: [localhost]

TASK [freetakserver : Setup] **************************************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/freetakserver/tasks/setup-Ubuntu.yml for localhost

TASK [freetakserver : Delete PyYAML] ******************************************************************************************************************************************************************************
changed: [localhost] => (item=rm -rf /usr/lib/python3/dist-packages/yaml)
changed: [localhost] => (item=rm -rf /usr/lib/python3/dist-packages/PyYAML-*)
changed: [localhost] => (item=rm -rf /usr/lib/python3.8/site-packages/PyYAML-*)

TASK [freetakserver : Install apt dependencies] *******************************************************************************************************************************************************************
ok: [localhost]

TASK [freetakserver : Install FreeTAKServer] **********************************************************************************************************************************************************************
changed: [localhost]

TASK [freetakserver : Configure] **********************************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/freetakserver/tasks/configure-Ubuntu.yml for localhost

TASK [freetakserver : Template FTSConfig.yaml config file] ********************************************************************************************************************************************************
changed: [localhost]

TASK [freetakserver : Change FirstStart to False in MainConfig.py] ************************************************************************************************************************************************
ok: [localhost]

TASK [freetakserver : Template unit file] *************************************************************************************************************************************************************************
changed: [localhost]

TASK [freetakserver : Kill any currently running processes] *******************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/freetakserver/tasks/../../common/tasks/kill.yml for localhost

TASK [freetakserver : Get running processes] **********************************************************************************************************************************************************************
changed: [localhost]

TASK [freetakserver : Kill running processes] *********************************************************************************************************************************************************************

TASK [freetakserver : wait_for] ***********************************************************************************************************************************************************************************

TASK [freetakserver : Force kill stuck processes] *****************************************************************************************************************************************************************

TASK [freetakserver : Enable and set service] *********************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/freetakserver/tasks/../../common/tasks/service.yml for localhost

TASK [freetakserver : Enable service] *****************************************************************************************************************************************************************************
changed: [localhost]

TASK [freetakserver : Set service state] **************************************************************************************************************************************************************************
changed: [localhost]

TASK [freetakserver_ui : Include Ubuntu-specific variables] *******************************************************************************************************************************************************
ok: [localhost]

TASK [freetakserver_ui : Setup] ***********************************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/freetakserver_ui/tasks/setup-Ubuntu.yml for localhost

TASK [freetakserver_ui : Delete PyYAML] ***************************************************************************************************************************************************************************
changed: [localhost] => (item=rm -rf /usr/lib/python3/dist-packages/yaml)
changed: [localhost] => (item=rm -rf /usr/lib/python3/dist-packages/PyYAML-*)
changed: [localhost] => (item=rm -rf /usr/lib/python3.8/site-packages/PyYAML-*)

TASK [freetakserver_ui : Install apt packages] ********************************************************************************************************************************************************************
ok: [localhost]

TASK [freetakserver_ui : Install pip packages] ********************************************************************************************************************************************************************
ok: [localhost]

TASK [freetakserver_ui : Install FreeTAKServer-UI] ****************************************************************************************************************************************************************
changed: [localhost]

TASK [freetakserver_ui : Configure] *******************************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/freetakserver_ui/tasks/configure-Ubuntu.yml for localhost

TASK [freetakserver_ui : Template config file] ********************************************************************************************************************************************************************
changed: [localhost]

TASK [freetakserver_ui : Template unit file] **********************************************************************************************************************************************************************
changed: [localhost]

TASK [freetakserver_ui : Kill any currently running processes] ****************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/freetakserver_ui/tasks/../../common/tasks/kill.yml for localhost

TASK [freetakserver_ui : Get running processes] *******************************************************************************************************************************************************************
changed: [localhost]

TASK [freetakserver_ui : Kill running processes] ******************************************************************************************************************************************************************

TASK [freetakserver_ui : wait_for] ********************************************************************************************************************************************************************************

TASK [freetakserver_ui : Force kill stuck processes] **************************************************************************************************************************************************************

TASK [freetakserver_ui : Enable service] **************************************************************************************************************************************************************************
changed: [localhost]

TASK [freetakserver_ui : Set service state] ***********************************************************************************************************************************************************************
changed: [localhost]

TASK [freetakserver_ui : Notify handlers to print at the end] *****************************************************************************************************************************************************
changed: [localhost]

TASK [webmap : Skipping webmap install due to non-intel platform] *************************************************************************************************************************************************
skipping: [localhost]

TASK [webmap : Include Ubuntu-specific variables] *****************************************************************************************************************************************************************
ok: [localhost]

TASK [webmap : Setup] *********************************************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/webmap/tasks/setup-Ubuntu.yml for localhost

TASK [webmap : Install unzip] *************************************************************************************************************************************************************************************
changed: [localhost]

TASK [webmap : Get webmap release information with GitHub API] ****************************************************************************************************************************************************
ok: [localhost]

TASK [webmap : Set facts from GitHub API release information] *****************************************************************************************************************************************************
ok: [localhost]

TASK [webmap : Download webmap] ***********************************************************************************************************************************************************************************
changed: [localhost]

TASK [webmap : Unarchive webmap.zip to /tmp] **********************************************************************************************************************************************************************
changed: [localhost]

TASK [webmap : Rename FTH-webmap-linux-0.2.5 to FTH-webmap-linux] *************************************************************************************************************************************************
changed: [localhost]

TASK [webmap : Copy FTH-webmap-linux to /usr/local/bin/FTH-webmap-linux] ******************************************************************************************************************************************
changed: [localhost]

TASK [webmap : Configure webmap for Ubuntu] ***********************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/webmap/tasks/configure-Ubuntu.yml for localhost

TASK [webmap : Template config file] ******************************************************************************************************************************************************************************
changed: [localhost]

TASK [webmap : Template unit file] ********************************************************************************************************************************************************************************
changed: [localhost]

TASK [webmap : Kill any currently running processes] **************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/webmap/tasks/../../common/tasks/kill.yml for localhost

TASK [webmap : Get running processes] *****************************************************************************************************************************************************************************
changed: [localhost]

TASK [webmap : Kill running processes] ****************************************************************************************************************************************************************************

TASK [webmap : wait_for] ******************************************************************************************************************************************************************************************

TASK [webmap : Force kill stuck processes] ************************************************************************************************************************************************************************

TASK [webmap : Enable and set service] ****************************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/webmap/tasks/../../common/tasks/service.yml for localhost

TASK [webmap : Enable service] ************************************************************************************************************************************************************************************
changed: [localhost]

TASK [webmap : Set service state] *********************************************************************************************************************************************************************************
changed: [localhost]

TASK [murmur : Include Ubuntu-specific variables] *****************************************************************************************************************************************************************
ok: [localhost]

TASK [murmur : Setup] *********************************************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/murmur/tasks/setup-Ubuntu.yml for localhost

TASK [murmur : Install Mumur (Mumble Server)] *********************************************************************************************************************************************************************
changed: [localhost]

TASK [murmur : Configure] *****************************************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/murmur/tasks/configure-Ubuntu.yml for localhost

TASK [murmur : generate the Murmur config file] *******************************************************************************************************************************************************************
changed: [localhost]

TASK [murmur : Enable and set service] ****************************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/murmur/tasks/../../common/tasks/service.yml for localhost

TASK [murmur : Enable service] ************************************************************************************************************************************************************************************
changed: [localhost]

TASK [murmur : Set service state] *********************************************************************************************************************************************************************************
changed: [localhost]

TASK [murmur : Generate random superuser password] ****************************************************************************************************************************************************************
ok: [localhost]

TASK [murmur : Write superuser password] **************************************************************************************************************************************************************************
changed: [localhost]

TASK [murmur : set superuser password] ****************************************************************************************************************************************************************************
changed: [localhost]

TASK [murmur : restart murmur] ************************************************************************************************************************************************************************************
changed: [localhost]

TASK [murmur : Notify handlers] ***********************************************************************************************************************************************************************************
changed: [localhost]

TASK [videoserver : Include Ubuntu-specific variables] ************************************************************************************************************************************************************
ok: [localhost]

TASK [videoserver : Include x86_64-specific variables] ************************************************************************************************************************************************************
ok: [localhost]

TASK [videoserver : Setup] ****************************************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/videoserver/tasks/setup-Ubuntu.yml for localhost

TASK [videoserver : Get RTSP Simple Server release information with GitHub API] ***********************************************************************************************************************************
ok: [localhost]

TASK [videoserver : Set facts from GitHub API release information] ************************************************************************************************************************************************
ok: [localhost]

TASK [videoserver : Download rtsp-simple-server.tar.gz to /tmp] ***************************************************************************************************************************************************
changed: [localhost]

TASK [videoserver : Unarchive rtsp-simple-server.tar.gz to /tmp] **************************************************************************************************************************************************
changed: [localhost]

TASK [videoserver : Copy /tmp/rtsp-simple-server to /usr/local/bin/rtsp-simple-server] ****************************************************************************************************************************
changed: [localhost]

TASK [videoserver : Configure] ************************************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/videoserver/tasks/configure-Ubuntu.yml for localhost

TASK [videoserver : Template config file] *************************************************************************************************************************************************************************
changed: [localhost]

TASK [videoserver : Template unit file] ***************************************************************************************************************************************************************************
changed: [localhost]

TASK [videoserver : Kill any currently running processes] *********************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/videoserver/tasks/../../common/tasks/kill.yml for localhost

TASK [videoserver : Get running processes] ************************************************************************************************************************************************************************
changed: [localhost]

TASK [videoserver : Kill running processes] ***********************************************************************************************************************************************************************

TASK [videoserver : wait_for] *************************************************************************************************************************************************************************************

TASK [videoserver : Force kill stuck processes] *******************************************************************************************************************************************************************

TASK [videoserver : Enable and set service] ***********************************************************************************************************************************************************************
included: /root/FreeTAKHub-Installation/roles/videoserver/tasks/../../common/tasks/service.yml for localhost

TASK [videoserver : Enable service] *******************************************************************************************************************************************************************************
changed: [localhost]

TASK [videoserver : Set service state] ****************************************************************************************************************************************************************************
FAILED - RETRYING: [localhost]: Set service state (10 retries left).
FAILED - RETRYING: [localhost]: Set service state (9 retries left).
FAILED - RETRYING: [localhost]: Set service state (8 retries left).
FAILED - RETRYING: [localhost]: Set service state (7 retries left).
FAILED - RETRYING: [localhost]: Set service state (6 retries left).
FAILED - RETRYING: [localhost]: Set service state (5 retries left).
FAILED - RETRYING: [localhost]: Set service state (4 retries left).
FAILED - RETRYING: [localhost]: Set service state (3 retries left).
FAILED - RETRYING: [localhost]: Set service state (2 retries left).
FAILED - RETRYING: [localhost]: Set service state (1 retries left).
fatal: [localhost]: FAILED! => {"attempts": 10, "changed": false, "msg": "Unable to start service rtsp-simple-server: "}

RUNNING HANDLER [freetakserver_ui : print fts_ui url] *************************************************************************************************************************************************************

RUNNING HANDLER [freetakserver_ui : print fts_ui credentials] *****************************************************************************************************************************************************

RUNNING HANDLER [murmur : print murmur ip] ************************************************************************************************************************************************************************

RUNNING HANDLER [murmur : print murmur credentials] ***************************************************************************************************************************************************************

RUNNING HANDLER [murmur : print reconfigure message] **************************************************************************************************************************************************************

PLAY RECAP ********************************************************************************************************************************************************************************************************
localhost                  : ok=85   changed=43   unreachable=0    failed=1    skipped=14   rescued=0    ignored=0

root@DOCCFTS:~#

brothercorvo commented 2 years ago

OK, we are investigating this

mighkel commented 2 years ago

Ok, so I'm feeling like that guy "...that could fuck up a rockslide!"
I've tried the zero-touch install many times over several iterations, and I just can't seem to get it.
Not sure how I could screw it up.
Follow the docs. Create a Ubuntu 20.04 LTS droplet.
SSH in.
Run the script.
Every time, FTS installs fine, but video and nodered installs fail. I can reproduce this all day long (the pasted result above). I have also tried bumping up to a more expensive droplet. I have tried using the DO web console. I have tried SSH via Putty. Maybe I'm just not cut out for Linux.

brothercorvo commented 2 years ago

we are working on solving the issue

mighkel commented 2 years ago

Quick update:
Being reminded that web map is compiled for AMD64 cpus, I decided to try again.
I have been creating Intel CPU droplets up until now, because I remembered being told webmap requires intel platform.
This time, I tried the AMD64 DO droplet: (again, just installing via wget -qO - bit.ly/ftszerotouch | sudo bash )

image

Result: Nodered and video appear to have installed correctly, and PLAY RECAP shows no failures. Several skips did show up.

PLAY RECAP ** localhost : ok=136 changed=59 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0

Here is the list of skips that show up in the log, in case it helps:

TASK [common : Create systemctl backup] *** skipping: [localhost] TASK [webmap : Skipping webmap install due to non-intel platform] * skipping: [localhost] TASK [nodered : Wait for Video Server to be available] ** skipping: [localhost] TASK [nodered : Reload Node-RED flows] ** skipping: [localhost]

Currently, FTS-UI is working (had to manually add public IP in config.py though) Nodered appears to be working. Flows loaded are SALUTE and Video Checker, no webmap. Video checker appears to have succeeded. (:9997/v1/config/get) Webmap is not working. (:5000/webmap nor :8000)

brothercorvo commented 2 years ago

the webmap is working with the last version of the ZT install on digital ocean proof [image: image.png]

On Tue, May 10, 2022 at 3:24 PM Mike @.***> wrote:

Quick update: Being reminded that web map is compiled for AMD64 cpus, I decided to try again. I have been creating Intel CPU droplets up until now, because I remembered being told webmap requires intel platform. This time, I tried the AMD64 DO droplet: (again, just installing via wget -qO - bit.ly/ftszerotouch | sudo bash )

[image: image] https://user-images.githubusercontent.com/3090194/167690840-2dbffa18-3d6a-4578-8dac-30202949d0c7.png

Result: Nodered and video appear to have installed correctly, and PLAY RECAP shows no failures. Several skips did show up.

PLAY RECAP


localhost : ok=136 changed=59 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0

Here is the list of skips that show up in the log, in case it helps:

TASK [common : Create systemctl backup]


skipping: [localhost] TASK [webmap : Skipping webmap install due to non-intel platform]


skipping: [localhost] TASK [nodered : Wait for Video Server to be available]


skipping: [localhost] TASK [nodered : Reload Node-RED flows]


skipping: [localhost]

Currently, FTS-UI is working (had to manually add public IP in config.py though) Nodered appears to be working. Flows loaded are SALUTE and Video Checker, no webmap. Video checker appears to have succeeded. (:9997/v1/config/get) Webmap is not working. (:5000/webmap nor :8000)

— Reply to this email directly, view it on GitHub https://github.com/FreeTAKTeam/FreeTAKHub-Installation/issues/50#issuecomment-1122725576, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOPIAPKNNPVQB2XHKVKVTQ3VJKSUJANCNFSM5TSV6FFA . You are receiving this because you commented.Message ID: @.***>

-- Thanks Giu Platania Director Door Business Consulting Cell: +1 902 748 0992 LinkedIn https://www.linkedin.com/in/giuseppe-platania-304b8233/

mighkel commented 2 years ago

As stated on Discord, webmap shows blank screen, even after restarting all services.

mighkel commented 2 years ago

Update: [IP]:5000/webmap = UI with blank map area [IP]:8000 = 'Cannot GET /' error [IP]:8000/tak-map = full-screen map (no FTS-UI)

mighkel commented 2 years ago

Did a fresh install today on a new droplet, and now everything is working!