kri
About
- Username
- kri
- Joined
- Visits
- 806
- Last Active
- Roles
- Moderator
Comments
-
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
-
Thanks for posting this! Hopefully it helps others with the same problem.
-
Hi Becky, I checked the source code a NPE at this point in the code means that a component had no 'id' value. That's strange and should not happen. Can you please send me the study zip? And you said you have access to JATOS' database: Can you please…
-
Yes the study zip would help too. Kristian
-
Hi Becky, You got the same exception (the dreaded NullPointerException) but for a different reason: yours happened in the JsonUtils class, the previous one in the ComponentResultDao. The JsonUtils class does all the JSON serialization stuff includin…
-
Hi! Which browser do you use to download the results? Can you please try with Chrome? And if this doesn't help: are there error messages in the developer tools? Best, Kristian
-
Hi Becky! I have some thoughts about your problem: we're trying to upgrade from v3.3.3 to v3.6.1 Why not the latest JATOS version 3.7.4? I'm just curious. Specifically, I get the "You are not allowed to access this page. Please log in" mes…
-
Hi simamune, I just answered.
-
Just to make sure, the study files are still in /study_assets_root direcotry. I don't know how to check if they are intact, but it seems there are enough files for each study. If the folder of the study exists it should be fine. The database folder…
-
But I wish to know, if there is a way to find out, what happened and why, just to prevent it happens again. This is exactly why I'm looking closing at this issue. I don't want JATOS loosing studies randomly. I had a look at your logs from April 4th…
-
Hi, Thank you for your help with the documentation. I added your suggestions to 'JATOS on AWS' and 'JATOS with Nginx' and 'JATOS with Apache'. Certbot is great! Best, Kristian
-
Only newer versions have this studies admin page. But you found your own way, fine, no other user has your studies. I'm getting out of ideas. Do you have older log files from before 25th? If the studies didn't disappear, according to the log, after…
-
I had a look at your log and couldn't find something that helps us finding the cause of your missing studies: On the 2022-04-29 short after 20:00 you did a restart of the server There was a error about a missing study: 2022-04-29 20:06:16,525 [INFO…
-
Your system seems fine. I checked the exception you send me earlier. This particular stacktrace happens when one component of the study is 'null. That is actually something that should not happen. I will add a null check in the responsible class (Co…
-
Hi, I tried on my local JATOS and an server installation and in both cases this error did not happen with me. Can you please give me more details about your JATOS installation so I know better what to look for: Java version? If you recently upgrad…
-
So, to summarize, some of your studies vanished from your JATOS' H2 database but are still present in the study assets folder? That is strange. When JATOS deletes a study it always deletes both, in database and study assets. I can't really imagine w…
-
Hi, JATOS logs are in the JATOS installation folder under logs/. Best, Kristian
-
Hi, I see you are using MariaDB. They said in the past MariaDB is a replacement for MySQL but since then both DBs diverted from each other (https://mariadb.com/kb/en/mariadb-vs-mysql-compatibility/). JATOS only supports MySQL (and H2). Did your JATO…
-
This banning-by-username-after-3-failed-login-attempts comes out of the box. Btw. there is a config that you might want to turn on to increase security: https://www.jatos.org/Configure-JATOS-on-a-Server.html#user-session-configuration Best, Kristian
-
I don't think brute force attacks are a thread if you use a proper password. One could argue that having a known username makes denial-of-service attacks more efficient since it takes more of the server's resources to compare a password (via hash) t…
-
No, the initial 'admin' user cannot be deleted - only its password be changed. I'm curious, do you think it's a security thread? A potential attacker still has to figure out the password and you can set this arbitrary difficult. Best, Kristian
-
Hi! They seemed to have changed the logging output and don't include the database URL anymore. That's not a problem, you can still check it in the GUI: Administration -> System Info -> look for DB URL. If you have something like jdbc:mysql://m…
-
Hi Carlotta, I think your question fits better in the OSWeb forum. I'll move it there. Best, Kristian
-
Hi, Could you please tell us a bit more what you have changed in the production.conf in order to get it working? What do you mean with 'so that the host was not specified'. I'm asking out of curiosity but also for everyone else who might have the sa…
-
If tmux works for you keep it. I also use tmux or byobu sometimes even for production system if they are not too critical. If you want to step up you can use systemd to run JATOS (https://www.jatos.org/JATOS-on-a-server.html#9-optional-auto-start-ja…
-
Your solution, wrapping everything in jatos.onLoad is perfectly fine. The one from the example is just the most simple one. Best, Kristian
-
I understand. No, saving files directly in the study assets folders is not supported.
-
If you have access to your JATOS server and its configuration you can specify the path of the folder where all uploaded result files (from all studies) will be stored: https://www.jatos.org/Configure-JATOS-on-a-Server.html#uploading-of-study-result-…