Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTS update command overwrites config.py file #67

Open
ki6uve opened this issue Apr 29, 2024 · 2 comments
Open

FTS update command overwrites config.py file #67

ki6uve opened this issue Apr 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ki6uve
Copy link

ki6uve commented Apr 29, 2024

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
Copy link
Author

ki6uve commented May 8, 2024

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

@ki6uve ki6uve added the bug Something isn't working label May 8, 2024
@phreed
Copy link

phreed commented May 9, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants