Installing TDS
Tessonics Corporation has made every effort to ensure the accuracy and completeness of this document; however, because ongoing efforts are made to continually improve the capabilities of our products, we cannot guarantee the accuracy of the contents of this document. We disclaim liability for errors, omissions, or future changes herein.
Tessonics Corporation and its subsidiaries reserve the right to make changes, corrections, enhancements, modifications and improvements to its products and/or to this document at any time without notice.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
Tessonics and the Tessonics logo are trademarks of Tessonics Corporation.
All other trademarks mentioned herein are the property of their respective owners.
©2007–2024 Tessonics Corporation. All rights reserved.
No part of this document may be copied, reproduced, or translated, without the prior written consent of Tessonics Corporation.
The Tessonics Data Service (TDS) software acts as a data collection service as well as a reporting tool. It is a web-based application that you can access from any device with a network connection.
Download and Initial Setup
The latest release of the TDS software can always be found on the downloads page of our website:
To install the TDS Software, download the installer and execute it with administrator rights on the server. The installer will guide you through the basic installation process.
Upon completion, TDS will be installed as a system service and started automatically. It can be started, stopped or disabled through Windows Services.
By default, the TDS server will create the databases, some SSL certificates, and a
config file (tds-server.json
) inside C:\ProgramData\tessonics\tds2
. To update
database paths or use custom SSL certificates, edit the corresponding paths
inside tds-server.json
.
Setting up Firewall
To setup the firewall rules to allow TDS to communicate with other devices on the same network, follow the steps outlined below on the computer running TDS:
Note
You need administrator access on your PC.- Open “Windows Defender Firewall” and select “Advanced Settings” from the left menu.
- Select “Inbound Rules” from the left menu.
- Select “New Rule”.
- Ensure “Program” is selected and press “Next”.
- Under “This program path”, use the browse function to navigate to “C:\Program Files\Tessonics\TDS2\tds-server.exe” and select “Open”. Then press “Next”.
- Select “Allow the connection” and then “Next”.
- Ensure all three check boxes on the screen are checked, then press “Next”.
- In the name field, type “tds-server” and select “Finish”.
Now that you have a rule created for the TDS server, you need to duplicate the rule and dedicate one to TCP communication and the other to UDP. Follow the steps below:
- On the same screen, sort the rules by name and scroll down to “tds-server”.
- Right click the rule and select “Properties”.
- Select “Protocols and ports” and change “Any” to “TCP”. Then press “Apply” and “OK”.
- Back on the rules list, copy and paste the “tds-server” rule. If you do not see 2 copies of the “tds-server” rule, you may have to re-sort by name so both appear next to each other.
- Select one of the two “tds-server” rules and open “Properties”.
- Select “Protocols and ports” and change “TCP” to “UDP”. Then press “Apply” and “OK”.
You should now see 2 “tds-server” rules. Under the “protocol” heading, one should say “TCP” and the other should say “UDP”.
Close Windows Defender Firewall and reboot the computer.
Migrating from a Previous TDS Installation
Previous versions of the TDS software relied on third party packages such as PHP, IIS, SQLServer, etc. The new TDS software does not have any outside dependencies. To migrate your data from an older TDS, download the migration software from our website and follow the following instructions. This only needs to be done once. For future upgrades to TDS, see the below section on upgrading.
Migrate your database
Before migrating, create a backup of your data to prevent accidental data loss.
In most cases the database location will not differ between versions and this step may be skipped.
All database migrations from older TDS 2 versions can be accomplished by referencing
the database.sqlite
in the tds-server.json
configuration file. When restarting
TDS, it will check the database schema and update the contained data accordingly.
Upgrading
To upgrade the TDS server to a later version, download the version from our website and run the installation wizard. It will detect the current TDS installation and update it accordingly.
Note
If you updated TDS2 and you are working on an existing database, the restart might take some time. You can check the logs atC:\ProgramData\tessonics\tds2\log\tds2.txt
and look at the timestamps of the last Starting TDS application
message to the Ready to serve
message after that to get a reference of how long you might have to wait after a restart until TDS serves the website.Check your data
After setting the correct database and updating the TDS software, it will have restarted and the web-interface of TDS should be accessible and display the data as it has been before the update.