Skip to content

Commit

Permalink
Reformatted again
Browse files Browse the repository at this point in the history
  • Loading branch information
ki6uve committed May 9, 2024
1 parent 0bccae9 commit d03c424
Showing 1 changed file with 26 additions and 17 deletions.
43 changes: 26 additions & 17 deletions docs/Troubleshooting/Update.md
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
```

0 comments on commit d03c424

Please sign in to comment.