Skip to main content
Version: 3.6.x and earlier


JATOS test page

JATOS comes with build in tests (e.g. WebSockets connections and database connection), but they are only accessible for users with admin rights: go to AdministrationTests and check that all tests are 'OK' (in older version the test page is under '/jatos/test', e.g. for a local installation: localhost:9000/jatos/test).

Downloading a study / exporting a study fails (e.g. in Safari browsers)

As a default, Safari (and some other browsers) automatically unzips every archive file after downloading it. When you export a study, JATOS zips your study together (study properties, all components, and all files like HTML, JavaScripts, images) and delivers it to your browser, who should save it in your local computer. Safari's default unzipping interferes with this. Follow these instructions to prevent Safari's automatic unzip.

JATOS fails to start?

(Or, if you are running Windows, do you get the message 'JATOS is already running. Press any key to continue'...)

This will happen if your computer crashed before you had the chance to close JATOS.

This is what you might see on a Mac Terminal if JATOS doesn't start:

jatos doesn't start

Close any open command prompt windows. Then look into your JATOS folder, and check if there's a file called RUNNING_PID. Delete this file and try to start JATOS again.

Here is how it should look if JATOS started successfully:

jatos doesn't start

Read log file in the browser

In a perfect world, JATOS always works smoothly and, when it doesn't, it describes the problem in an error message. Unfortunately we aren't in a perfect world: every now and then something will go wrong and you might not get any clear error messages, or no message at all. In these (rare) cases, you can look into JATOS' log file (not to be confused with the study log) to try to find what the problem might be.

The standard way to read the log file is directly on the server. You'll find your complete log files in jatos_directory/logs/application.log. Because JATOS is designed to avoid the command line interface, we offer a way to view your log file directly in your browser.

For security reasons, you must be logged in as a user with admin rights.

From version 3.6.1 on you can see and download all log files in the Administration page.

In older versions you can only see today's log file: open the URL http://your-jatos-server/jatos/log. For example, if you're running JATOS locally with the standard settings:


A file (library, image, ...) included in the HTML fails to load?

There is a common mistake Windows users make that might prevent files in the HTML from loading: Any URL or file path in a HTML file should only use '/' as a file path separator - even on Windows systems. So it should always be e.g. <script src="/study_assets/mystudy/jsPsych-5.0.3/myscript.js"></script> and not <script src="\study_assets\mystudy\jsPsych-5.0.3\myscript.js"></script>. And since version 3.2.3 you can leave out the path's first part and just write <script src="myscript.js"></script>.

Database is corrupted?

If you get an error that reads something like: Error in custom provider, Configuration error: Configuration error[Cannot connect to database [default]], your database might be corrupted. By default JATOS comes with an H2 database and the H2 database doesn't handle copying its files while running too well.

There are two reasons why this might be the case: you moved your JATOS folder while it was running or you installed JATOS in a synced folder. To prevent this, be sure to always be careful with the following:

  1. Don't copy or move while JATOS is running - Always stop JATOS (type / stop in your Linux / Mac OS X terminal or close the window on Windows) before moving it.
  2. Don't sync while JATOS is running - As we mentioned in the Installation page, you can run JATOS from pretty much anywhere except from a folder that syncs across devices, like Dropbox or Google Drive. Doing so might lead to database corruption, because while the files might be synced between computers, the running processes aren't. This will lead to havoc and destruction and, in extreme cases, to the implosion of the known Universe. You can find in our blog post a description of an attempt to recover a corrupted database. Didn't work.

Of course, this brings us to an important point: back up your result data (i.e., simply download and save your text files) regularly if you're running a study!