Arkindex 1.9.2

A new Arkindex release is available.

To upgrade a development instance, follow this documentation.

To upgrade a production instance, you need to:

  • Deploy this release’s Docker image: registry.gitlab.teklia.com/arkindex/backend:1.9.2

  • Run the database migrations: docker exec ark-backend arkindex migrate

  • Update the system workers: docker exec ark-backend arkindex update_system_workers

The release notes for Arkindex 1.9.2 are available here.

The main changes impacting developers and system administrators are detailed below.

Model cache on Ponos agents

This only affects the Enterprise Edition of Arkindex.

Ponos agents will now download model versions in a models directory under data_dir. This allows each model version to be re-used in multiple tasks, which reduces bandwidth and disk space usage. Tasks can start quicker, especially when running a process with multiple chunks.

A new ARKINDEX_MODEL_DIR environment variable is provided to each task to specify the path to the model version. The previous undocumented download path of $PONOS_DATA/extra_files/model is still available, but it may be removed in future releases. Arkindex workers should be updated to use ARKINDEX_MODEL_DIR instead.

There is no automatic cleanup of the models directory. Instance administrators may safely delete it when no tasks are currently running.

The integrity of downloaded model versions can only be verified once they are first downloaded. When the directory for one model version already exists under models, it will be re-used without re-downloading and without any integrity checks. To force a re-download, delete the parent directory entirely.