The only other option is manually overwriting the password hash in your database (H2 or MySQL) but this needs access to a server terminal and some admin skills. Apart from that I'm afraid you are out of luck. Although you can rescue the study assets root folder in the file system of your server. But again you would need access to a server terminal.
thank you for your help. I do have access to a server terminal, but I do not know what H2 or MySQL are and I suppose that means doing the overwriting is something above my programming skill. I do have the data and studies saved, so nothing is lost luckily.
I'll try to set up a new server instead. I have tried that before already, but for whatever reason I would always get a "Unable to connect" message in the browser, even though the DNS change was apparently successful as indicated by nslookup. I'll try to figure it out.
thank you for the good wishes and sorry to bother you again. I have tried to set up a server several times now, but I can't get it to work.
Same as before, I have specified the "User Data" in DigitalOcean as indicated in the JATOS documentation.
#!/bin/bash
DOMAIN_NAME="domain.com"
EMAIL="name@mail.com"
curl https://raw.githubusercontent.com/JATOS/JATOS/master/deploy/docker-compose.yaml > /root/docker-compose.yaml
curl https://raw.githubusercontent.com/JATOS/JATOS/master/deploy/traefik.toml > /root/traefik.toml
sed -i "s/<DOMAIN_NAME>/${DOMAIN_NAME}/g" /root/docker-compose.yaml
sed -i "s/<DOMAIN_NAME>/${DOMAIN_NAME}/g" /root/traefik.toml
sed -i "s/<EMAIL>/${EMAIL}/g" /root/traefik.toml
touch /root/acme.json
chmod 600 /root/acme.json
docker network create proxy
docker-compose -f /root/docker-compose.yaml up -d
I then changed the DNS records accordingly and waited for 1h, successfully checked nslookup and tried to access JATOS in the browser. However, I always get "Unable to connect".
So far,
I have compared the content of the docker-compose.yaml file and the treafik.toml file with the ones on my old server and everything seems to be the same.
I checked the processes on the server but did not see anything odd either.
I tried all sorts of different DigitalOcean droplets (different version of Ubuntu and different location of the server).
Changed the DNS records back to the old server, which works fine (except for the password issue).
Do you have any guesses what might be causing this issue?
I tried all sorts of different DigitalOcean droplets (different version of Ubuntu and different location of the server).
All Droplets should work. I usually use the smallest with just 1GB if I just want to try out something. But for this script to work it need a Droplet with docker installed - pure Ubuntu is not enough. Is it possible you didn't choose the image from the Digital Ocean's Marketplace with Docker but the one with pure Ubuntu?
I entered with the username and password "admin" for the first time in Jatos, then I immediately changed them, as suggested. I saved the new username and password in my google password. However, the next day, when I tried to access again show up the following message: "Invalid user or password". Could you help me?
Comments
Hi Yvonne,
that's unfortunate. If you have another admin user in your JATOS, they can change your password.
Best,
Kristian
Hi Kristian,
thank you for your answer. Unfortunately, I don't have another admin user. I guess there is no other solution?
Best,
Yvonne
The only other option is manually overwriting the password hash in your database (H2 or MySQL) but this needs access to a server terminal and some admin skills. Apart from that I'm afraid you are out of luck. Although you can rescue the study assets root folder in the file system of your server. But again you would need access to a server terminal.
Best,
Kristian
Hi Kristian,
thank you for your help. I do have access to a server terminal, but I do not know what H2 or MySQL are and I suppose that means doing the overwriting is something above my programming skill. I do have the data and studies saved, so nothing is lost luckily.
I'll try to set up a new server instead. I have tried that before already, but for whatever reason I would always get a "Unable to connect" message in the browser, even though the DNS change was apparently successful as indicated by nslookup. I'll try to figure it out.
Thanks,
Yvonne
I wish you luck!
Hi Kristian,
thank you for the good wishes and sorry to bother you again. I have tried to set up a server several times now, but I can't get it to work.
Same as before, I have specified the "User Data" in DigitalOcean as indicated in the JATOS documentation.
#!/bin/bash DOMAIN_NAME="domain.com" EMAIL="name@mail.com" curl https://raw.githubusercontent.com/JATOS/JATOS/master/deploy/docker-compose.yaml > /root/docker-compose.yaml curl https://raw.githubusercontent.com/JATOS/JATOS/master/deploy/traefik.toml > /root/traefik.toml sed -i "s/<DOMAIN_NAME>/${DOMAIN_NAME}/g" /root/docker-compose.yaml sed -i "s/<DOMAIN_NAME>/${DOMAIN_NAME}/g" /root/traefik.toml sed -i "s/<EMAIL>/${EMAIL}/g" /root/traefik.toml touch /root/acme.json chmod 600 /root/acme.json docker network create proxy docker-compose -f /root/docker-compose.yaml up -dI then changed the DNS records accordingly and waited for 1h, successfully checked nslookup and tried to access JATOS in the browser. However, I always get "Unable to connect".
So far,
Do you have any guesses what might be causing this issue?
Thanks,
Yvonne
Hi Yvonne,
I tried all sorts of different DigitalOcean droplets (different version of Ubuntu and different location of the server).
All Droplets should work. I usually use the smallest with just 1GB if I just want to try out something. But for this script to work it need a Droplet with docker installed - pure Ubuntu is not enough. Is it possible you didn't choose the image from the Digital Ocean's Marketplace with Docker but the one with pure Ubuntu?
Best,
Kristian
Hi Kristian,
indeed, I did not choose the correct droplet. Thank you so much for helping me out with such a silly mistake!
Best,
Yvonne
Nice to be of help.
Kristian
Hi,
I entered with the username and password "admin" for the first time in Jatos, then I immediately changed them, as suggested. I saved the new username and password in my google password. However, the next day, when I tried to access again show up the following message: "Invalid user or password". Could you help me?
Thanks,
Ellen.
Hi Ellen,
usernames cannot be changed. What happens when you use admin as username and your new password?
In general, it would be better to stay a new thread with a new question.
Best
elisa