Update¶
Updates are carried out automatically by Isogeo when a new version goes into production.
You can consult the release notes here.
In detail, the automatic update of the Scan client (Isogeo Worker) follows the following steps:
- The client regularly requests https://scan.isogeo.com/workers-api/v1/about, authenticating itself with its specific credentials.
- If the client's current version is lower than the one returned by the /about request, it downloads the code archive at https://scan.isogeo.com/workers-api/v1/download-archive (always authenticating itself).
- It unzips the contents of the archive.
- It deletes all files in the installation directory except the bin folder containing executables (node and nssm).
- It writes all archive files (except the bin folder) to the current folder.
- It forces its own shutdown, then automatically restarts as a service.
Remarks :
- These identifiers are specific to each Isogeo Worker customer and are entered in the connection file at the root of the installation directory
(connection.json
). - We also update executables in the bin folder, but only in exceptional cases, such as when upgrading NodeJS. In this case, the bin folder is also deleted and replaced.