So a few suggestions for improving the docs.
My situation: Openrem V0.10 running on an offline Ubuntu 18.04 server, every day a cronjob is running to import SR files from our PACS. I installed v1.0 on the same server.
Steps:
1) Offline installation of docker. That can be done with a few hints on e.g. stackoverflow and consists of downloading a few deb files, transferring them to your server and install them. No problem there. However make sure you install docker-compose as well. It does not come standard with an offline docker installation.
2) Offline installation of openrem v1.0 oflline. No problem, the instructions are clear.
3) Stop running services. Use systemctl stop orthanc.service/nginx/rabbitmq-server/openrem-flower/openrem-celery
4) Disable the services. Use systemctl disable orthanc.service/nginx/rabbitmq-server/openrem-flower/openrem-celery. otherwise the services start next time you reboot.
5) Start up openrem v1.0. I could not get this to work due to docker-compose wanting to pull the nginx image (see other thread), so I asked the IT department to open the firewall to
docker.io and
docker.com temporarily. That solved it. And everything was running
6) Change the cronjobs. The docs suggest a script to automatically import from the PACS, however I ran into 2 problems. First of all docker-compose could not be found by my bash script. This was solved by using absolute filepaths (so /usr/local/bin/docker-compose instead of just docker-compose). Second of all I got an error message stating something about a console. It probably has something to do with the output of the docker container not able to write. I could fix this by adding -T to the script. My bash script works using:
/usr/local/bin/docker-compose -f /home/openrem/openrem_offline/openrem-docker/docker-compose.yml exec -T openrem openrem_qr.py 1 1 -ct -mg -fl -dx -f $WEEKAGO -t $WEEKAGO -e "IMPORT"
Hopefully this information is useful!
Op vrijdag 14 januari 2022 om 23:22:09 UTC+1 schreef Ed McDonagh: