NOMAD Troubleshooting - aichemy-hub/docs GitHub Wiki
Enter http://192.160.103.85 into the browser (this link should also be bookmarked). If you can't reach NOMAD, it may mean that either the server or proxy is offline. If you can reach http://aichemy-nmr.ch.ic.ac.uk, on a computer connected to the college network, ie not one of the lab computers, then the server is running and it's probably the proxy that is offline.
To verify the proxy is working, go on serv-10 and run
ps aux | grep caddy to see if caddy is running. If it is running you should
see something like /usr/local/bin caddy run --config /etc/caddy/Caddyfile in the output.
If it is not running run:
/usr/local/bin/caddy run --config /etc/caddy/Caddyfile &which will launch it in the background.
The virtual machine running the NOMAD server will reboot from time to time for automatic updates. The Docker containers running the NOMAD server should restart automatically when this happens.
To check that the Docker containers are running, SSH into the server ssh <your-username>@aichemy-nmr.ch.ic.ac.uk then run:
> sudo docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
01ce7d6b1728 nomadnmr/server:v3.5.5 "/docker-entrypoint.…" 2 months ago Up 9 seconds 0.0.0.0:80->80/tcp, [::]:80->80/tcp nomad-server-1
ad6d58835a13 nomadnmr/api:v3.5.5 "docker-entrypoint.s…" 2 months ago Up 9 seconds 0.0.0.0:8080->8080/tcp, [::]:8080->8080/tcp nomad-api-1
70d466e5f2bb mongo "docker-entrypoint.s…" 7 months ago Up 9 seconds 27017/tcp nomad-mongodb-1If you don't see three containers as listed above (the IDs will be different) navigate to /nomad and restart Docker and the containers:
sudo systemctl start docker
sudo docker compose up -dYou can check the status of the Docker daemon by running:
sudo systemctl status dockerThe doku storage and container monitoring page should be available at http://aichemy-nmr.ch.ic.ac.uk:9090/site/.
If it isn't, SSH to the server with ssh <your-username>@aichemy-nmr.ch.ic.ac.uk then run:
sudo docker container lsThere should be an entry for amerkurev/doku with status "Up n days". To restart the container, navigate to /doku-dashboard/ and run
sudo docker compose down
sudo docker compose up -dIf not, log in as the default user.
- First, check that the instrument is connected to the server by going to the NOMAD UI at http://192.160.103.85 and looking at the instrument list. It should say if the instrument is connected or not. If the instrument is connected, this is not the issue.
- If the instrument is not connected check if the nomad client is running on the computer.
Run
sudo systemctl status nomad-client. If the status is "Inactive (dead)" or similar, try starting the service again withsudo systemctl start nomad-client.
Make sure you have a terminal window open in which you are running ssh -D 8080 <username>@serv10 to enable the proxy tunnel.
Run npm config get https-proxy. The output should be socks5h://127.0.0.1:9050. If it isn't, run npm config set https-proxy=socks5h://127.0.0.1:8080.