kri
About
- Username
- kri
- Joined
- Visits
- 976
- Last Active
- Roles
- Moderator
Comments
-
Hi, After a couple of weeks gone I need to refresh my memory ;) Your participants run your study but sometimes a component is missing result data (as can be seen in JATOS GUI / result page). Now you found the same issue in other studies. We found a …
-
Hi D., I'm sorry to tell you that there is no such recovery of a deleted study possible. Mostly out of data protection / privacy reasons JATOS completely deletes all study data including their results. The only hope you might have is a backup of the…
-
I can see from the error message that you posted, that you have an nginx reverse proxy in front of JATOS and the error message actually originates from there and not from JATOS. I guess something is configured wrong / too strict in nginx. If you goo…
-
Hi, My first guess is that your Nginx is misconfigured, not allowing large uploads. Do you have access to the Nginx config? Can you post it here? Mostly I'm interested in the client_max_body_size. Best, Kristian
-
I see. Basically, I have my study assets outside the jatos directory as a git repository (I wanted to document my work). Good idea. I've seen people doing this. But git usual workflows are not fully compatible with jatos because I can't just clone …
-
JATOS doesn't have a way to ignore certain files in your study assets. But the .git folder is just like any other folder. You can temporarily move it somewhere else and try exporting the study then. Afterwards you move the .git back into your study …
-
Hi, Something seem to go wrong when you export the study. You are right the jzip should be more the 4 byte and the import error in your log just reflects that the zip (the jzip is just a zip archive with a non-standard file suffix) is somehow faulty…
-
If most people on SO agree with the init file ... who am I to disagree :) . And with the 'IF NOT EXISTS' you should be on the save side. Thus, JATOS could access the database as root, provided it is not critical to create a jatosuser like the docume…
-
Hi, I looked again at the study logger source code and found a bug there. This bug seems to have been introduced in version 3.7.2. This bug causes the 'no data' entry in the dataHash field although result data were present. Actually it is a little b…
-
Agreed, 'jatos.submitResultData' only once. Strange. I checked JATOS source code and this should not happen. Maybe jsPsych does something unexpected. Would it be possible to send me your study? Per email (lange.kristian@gmail.com) would be fine. Or …
-
Is it possible that you call the 'jatos.submitResultData' more than once in each component (the second time with empty data)? Can you please post the code here where you use the function?
-
MySQL or H2 - there should be no difference in the 'dataHash'. Strange. Which version of JATOS are you using?
-
Yes, play.http.context in JATOS' production.conf is the way to go here. More info in this page. You can also use the command-line argument -DJATOS_URL_BASE_PATH or the environment variable JATOS_URL_BASE_PATH. Best, Kristian
-
Thank you for posting so others might profit from it. I have a question about the mysql directives in your docker-compose: The command: --init-file /app/data/init.sql is it executed with every docker-compose up? And if yes, wouldn't it try to create…
-
Hi, The 'no data' is written in the Study Log (it's not the application log - the application.log logs admin related stuff while the Study Log logs study run related stuff) when one of the result sending functions is used (e.g. jatos.submitResultDat…
-
Hi, I spend some time with docker-compose but I'm far from being an expert there. I think you don't need to define an extra network - the default network would do just fine. But it also doesn't hurt. But from looking at this doc I think you have to …
-
Hi amunn, What would be even nicer is if JATOS could output the collected runs as valid JSON itself, so that no post-processing is needed whether in R or through a script. The thing is that JATOS does not know about the format of your result data. T…
-
Hi, which version of JATOS are you on? Have you tried it with different browsers, Firefox, Chrome, Edge?
-
Hi Sheng, I just tried it with JATOS version 3.7.4 on my machine and it worked. I can't see any obvious problems in your config. My config is: $ /usr/sbin/apache2 -v Server version: Apache/2.4.52 (Ubuntu) Server built: 2022-06-14T12:30:21 and $ c…
-
I understand. Just be aware that the restart when doing an JATOS upgrade might not work and you have to restart manually. Best, Kristian
-
Just for my understanding, I'm always curious: why type=forking together with putting it in the background with & instead of type=simple and no & ? Is there some advantage? Best, Kristian
-
Hi cody, Can you please post the whole <head>? Best, Kristian
-
Hi cody, I looked at your code. It mostly looks fine but you do a turn short before you are about to finish. You have a final trial that redirects to Prolific. Here are the important parts of your code: var jsPsych = initJsPsych({ on_finish: () =…
-
Hi Jeff, How does your systemd service config look like? If I'm using the one from the docs it works with me without the '&'. I'm just concerned that this additional '&' will interfere with some potential future JATOS upgrades. But nothing s…
-
Hi cody, can you send me the General Multiple link? I'd like to check it in my browser. If you want, this is my address: lange.kristian at gmail.com. Best, Kristian
-
Hi Jeff, Great you found the problem. And now I'm curious: How did the systemd config looked like to cause this constant restart? Best, Kristian
-
Hi Becky, Yes you're right, there's something that removes the PLAY_SESSION cookie, usually after one or a few requests. I tried deleting all cookies in the browser and logging in again, but it's still happening. Does this happen with all users the …
-
Hi Jeff, This '502 Bad Gateway' is from nginx telling you that it doesn't get an response from JATOS within the time that is configured as timeout in nginx.conf. I guess you have a lot of users? Then it can take some time and server resources to get…
-
Hi, Yes, you can only access the study session after the jatos.onLoad function got called. How about you wrap everything with jatos.onLoad? <script> jatos.onLoad(() => { /* Initialize jsPsych*/ var jsPsych = initJsPsyc…
-
Sorry, it's not possible to reset or change the admin's password out of security reasons - not even other user's with Admin rights can do this. Best, Kristian