UI icon indicating copy to clipboard operation
UI copied to clipboard

FTS update command overwrites config.py file

Open ki6uve opened this issue 9 months ago • 2 comments

Running the FTS update command, <Pip install --upgrade freetakserver[UI]> results in overwriting of the user's config.py file and thus the loss of the user's customized settings for IP address assigned to FTS and FTS-UI.

  • Work around: User must reedit the config file (/root/fts.venv/lib/python3.11/site-packages/FreeTAKServer-UI/config.py) with their desired FTS IP address setting.

ki6uve avatar Apr 29 '24 17:04 ki6uve

Suggestion is to move the configuration file out of the installation directory and into the opt subdirectory to prevent overwrites.

ki6uve avatar May 08 '24 22:05 ki6uve

I would say into the /opt/fts directory. The https://github.com/FreeTAKTeam/FreeTakServer/blob/master/FreeTAKServer/core/configuration/MainConfig.py is not updated directly but uses the /opt/fts/FTSConfig.yaml, maybe the UI config.py should do something similar?

phreed avatar May 09 '24 15:05 phreed