Updating
When you first install and run Tramola, you typically end up with the following files and directories:
tramola-<version>.jarlibs/conf/data/
When you update Tramola, you should replace the tramola-<version>.jar file and the libs/ directory with the new version.
conf and data directories should always be kept together: conf/tramola.conf contains some settings that are used
to encrypt some data in data/. If the configuration data is lost or no longer available, Tramola will not be able to
access the encrypted data, which may result in loss of data.
Being told about new versions Link to this section
From version 26.3.0 on, Tramola tells you itself when a newer version has been released. Administrators find it under Settings → Updates, and a mark appears on the settings icon while an update is waiting. The page lists every release since the one you are running, what changed in each, and whether any of them was a security release.
Nothing is ever downloaded or installed automatically. The page tells you what exists; installing it stays a decision you make, at a time you choose, following the steps above.
What is sent Link to this section
Once a day, the server fetches two small static files:
https://www.simunto.com/data/tramola/releases.json
https://www.simunto.com/data/tramola/releases.json.sig
It is a plain request for a public file. No licence key, no identifier and not even the version you are running is sent — the file simply lists every published release, and your installation compares that list with itself. Nothing about your installation, your users or your data leaves the server, and Simunto learns nothing from the request beyond the fact that some installation asked, which is unavoidable for any request over the internet.
Only the server makes these requests. Browsers never contact Simunto.
How the list is trusted Link to this section
The second file is a signature over the first, made with the same key Simunto signs licences with. Tramola verifies it with the matching public key, which is part of the program itself.
A list that does not verify is ignored, and the page says so. This matters because the list contains download addresses: https alone would leave a hijacked name or an intercepting proxy able to point you at somebody else’s archive, and the signature means the list has to have come from Simunto whatever route it arrived by.
If you maintain your own list rather than copying Simunto’s, it cannot carry that signature. Then switch the requirement off, knowing the list is only as trustworthy as wherever it came from:
tramola.updates.requireSignature = false
Switching it off Link to this section
Add this to conf/tramola.conf:
tramola.updates.enabled = false
Tramola then never makes the request, and the page says so rather than claiming you are up to date.
Using your own copy of the file Link to this section
If outbound connections are not permitted but you would still like the notice, place a copy of
both releases.json and releases.json.sig on a server inside your network and point Tramola
at the first of them:
tramola.updates.url = "https://intranet.example.com/tramola/releases.json"
The page shows which address it is looking at, so it is always visible whose copy is being read. Copy both files unchanged and the signature still verifies – it covers the contents of the list, not where it is served from.
Behind a proxy Link to this section
Tramola uses the Java runtime’s proxy settings, which read the operating system’s settings when
Tramola is started with -Djava.net.useSystemProxies=true. To name a proxy for the update check
specifically:
tramola.updates.proxy.host = "proxy.example.com"
tramola.updates.proxy.port = 3128
Verifying a download Link to this section
Each release on the page shows the SHA-256 checksum of its archive. After downloading, compare it:
$ shasum -a 256 tramola-<version>.zip
The two must match. If they do not, do not install the file.
Other settings Link to this section
| Key | Default | Description |
|---|---|---|
tramola.updates.enabled |
true |
Whether to look for new versions at all. |
tramola.updates.url |
Simunto’s release list | Which file to read. |
tramola.updates.requireSignature |
true |
Whether to ignore a list that is not signed by Simunto. |
tramola.updates.interval |
24h |
How long between checks. |
tramola.updates.timeout |
10s |
How long one check may take. |
A check that fails changes nothing else: the previous answer stays, the page shows what went wrong, and Tramola carries on. An installation with no route to the internet is a normal case, not an error.