forked from FreeTAKTeam/FreeTAKServer-User-Docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ki6uve
committed
May 9, 2024
1 parent
0bccae9
commit d03c424
Showing
1 changed file
with
26 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,39 @@ | ||
|
||
# Update | ||
in **certain cases**, if you already installed FTS with pip you can use | ||
```shell | ||
pip install --upgrade FreeTAKServer[UI] | ||
``` | ||
this is **not** warranted to work with version 1.9.9, | ||
often the best way is to delete the installation (saving first the data) and start from zero. | ||
# Removing or Updating FTS | ||
|
||
In **certain cases**, if you already installed FTS with ZeroTouch Installer or pip you can use | ||
the pip upgrade command to update your FTS to the current version. | ||
|
||
This is **not** warranted to work, so backup your data before attempting. | ||
|
||
## To remove your installation: | ||
|
||
To remove your installation | ||
```shell | ||
sudo rm -r /usr/local/lib/python3.11/FreeTAKServer | ||
sudo rm -r /root/fts.venv/ | ||
``` | ||
## To update your FTS installation: | ||
|
||
### SSH to your FTS server | ||
- SSH to your FTS server | ||
|
||
### Run upgrade command: | ||
/opt/fts.venv/bin/pip install --upgrade freetakserver-ui | ||
/opt/fts.venv/bin/pip install --upgrade freetakserver | ||
- Run upgrade commands: | ||
```shell | ||
/opt/fts.venv/bin/pip install --upgrade freetakserver-ui | ||
``` | ||
```shell | ||
/opt/fts.venv/bin/pip install --upgrade freetakserver | ||
``` | ||
|
||
### Reconfigure your config.py file: | ||
- Reconfigure your config.py file: | ||
```shell | ||
sudo nano /root/fts.venv/lib/python3.11/site-packages/FreeTAKServer-UI/config.py | ||
Change the IP and WEBMAPIP to the address of your FTS server | ||
Change the APPIP to 0.0.0.0 | ||
- Change the IP and WEBMAPIP to the address of your FTS server | ||
- Change the APPIP to 0.0.0.0 | ||
``` | ||
|
||
### Restart Services | ||
- Restart Services | ||
```shell | ||
sudo systemctl stop fts | ||
sudo systemctl stop fts-ui | ||
sudo systemctl start fts | ||
sudo systemctl start fts-ui | ||
``` |