-
Notifications
You must be signed in to change notification settings - Fork 26
Home
Eric Weitz edited this page Sep 16, 2022
·
4 revisions
Welcome to the single_cell_portal_core wiki, here lies information for administrating the site.
SSH into the virtual machine (can be done from the GCP console page for VMs) and then do a docker restart.
- SSH into singlecell-production VM
- sudo -i
- docker ps -a (to see what containers have stopped, will say 'Exited ...' in their status)
- docker restart (container_name)
The container names are single_cell (portal) and mongodb (database).
There are crons jobs for the root user in the VM and cron jobs in the docker container. The crons in for the root user can be accessed in a standard way
sudo -i
crontab -l
The ones in the docker container can be accessed only after logging into the docker container.
docker exec -it single_cell bash
Restarting the VM is tricky but can be done. It requires you remounting the data disk. Read more in the project Readme.txt.