We’ll periodically update JATOS with new features and bug fixes. We recommend you stay up to date with the latest release. However if you are currently running a study it’s always safest to keep the same JATOS version throughout the whole experiment.
Updating a local installation of JATOS
(The procedure is different if you want to update JATOS on a server installation)
To be absolutely safe you can install the new JATOS version and keep the old one untouched. This way you can switch back if something fails. Just remember that only one JATOS can run at the same time. Always end JATOS before starting another one.
You can update your local JATOS instance in two main ways:
First, easy way: discarding your result data
If you don’t care about result data stored in JATOS:
- Simply download and install the new version as if it were a new fresh download. Don’t start it yet.
- Export any studies you wish to keep from the old JATOS installation.
- Stop the old JATOS and start the new JATOS.
What will be transferred:
- Files and subfolders in study’s assets folder
- All your studies’ and components’ properties
- The properties of the first (Default) batch
What will be lost:
- All result data will be lost
- All workers in all batches (including Default batch)
- All batches other than the Default batch
Second way: keeping everything (including your result data)
If you do want to keep your studies, batches, and your result data you’ll have to move them to the new JATOS.
However: Occasionally (on major version updates such as 1.X.X to 2.1.1) we will make big changes in JATOS, which will require some restructuring of the database. In these cases, the second way described here will not be possible. We will do our best to prevent these big changes and inform you explicitly in the release description.
- Stop JATOS (on Unix systems, type
$ ./loader.sh stopon the terminal. On Windows MS, close your command window)
- Go to the folder of your old JATOS installation. From there copy your assets root folder to the new JATOS installation (Note: By default your assets root folder is called
study_assets_rootand lays in the JATOS folder but you might have changed this. You can find the location and name in
conf/production.conf. It is specified in the line beginning with
- From your the folder of your old JATOS installation copy the folder
databaseto the new JATOS installation.
- If you had changed the
conf/production.conffile in your old JATOS instance (for example to set a custom location for your
study_assets_rootfolder) you’ll have to do this again in the new JATOS version. We recommend re-editing the new version of the file, rather than just overwriting the new with the old version, in case anything in the
production.conffile has changed.
- That’s it! Start the new JATOS.
What will be transferred:
- Files and subfolders in study assets folder
- All your study and components properties
- All batches, together with their workers, generated links, and results
What will be lost: nothing