Common server problems - KL-Psychological-Methodology/ESMira GitHub Wiki

Common server problems

Here are some answers to the most common questions we get. If you still need assistance, the discussion forum can help you (when posting, consider adding the contents of your error.log).

Using a Self signed certificate

Unfortunately Android apps are not able to connect to servers using a self-signed certificate. If you want participants using Android smartphones be able to participate in your study, we recommend using https://letsencrypt.org/ instead.

Scanning QR codes from my server do not work

This is most likely caused because your server does not have a TLS certificate and can not be accessed via HTTPS. Please have a look at Prerequisites: TLS certificate (HTTPS)

When trying to initialize ESMira the server has an error (Writing the file /.../config.php failed)

Most likely this is caused because ESMira does not have sufficient permissions. Are you sure you have done Step 3: Set the correct file permissions properly? Have a look in your error.log (usually found in /usr/var/log/apache/error.log or /usr/var/log/nginx/error.log). It will tell you what exactly went wrong.