Closed mighkel closed 2 years ago
OK, we are investigating this
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.
we are working on solving the issue
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
)
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)
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/
As stated on Discord, webmap shows blank screen, even after restarting all services.
Update: [IP]:5000/webmap = UI with blank map area [IP]:8000 = 'Cannot GET /' error [IP]:8000/tak-map = full-screen map (no FTS-UI)
Did a fresh install today on a new droplet, and now everything is working!
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)
Support: https://ubuntu.com/advantage
System information as of Sat Apr 16 17:48:35 UTC 2022
System load: 0.85 Users logged in: 0 Usage of /: 7.3% of 24.06GB IPv4 address for eth0: 147.xxx.xxx.xxx Memory usage: 19% IPv4 address for eth0: 10.xxx.xxx.xxx Swap usage: 0% IPv4 address for eth1: 10.xxx.xxx.xxx Processes: 112
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
root@DOCCFTS:~#