Problems with Docker Script from Osimis

Hi there,

I wanted to install Orthanc + Postgres + plugin in my Linux Mint OS (17.3 and 18).

I picked up small problems on the script from Osimis (https://bitbucket.org/snippets/osimis/eynLn) that I wanted to share :

1) The script is pointing osimis/orthanc-webviewer-plugin build. Problem : This stop the install script because this build is in error status from 10 months (https://hub.docker.com/r/osimis/orthanc-webviewer-plugin/builds/)
I replaced line 39 by Jodogne build
dockerImage="jodogne/orthanc-plugins:1.2.0"
And it solved the problem. Is there significant difference between Osimis and Jodogne Docker images ?

2) The postgresql version is hardcoded in line 89/90 :

echo "listen_addresses = '*'" | sudo tee --append /etc/postgresql/9.4/main/postgresql.conf > /dev/null
  echo "host all all 0.0.0.0/0 md5" | sudo tee --append /etc/postgresql/9.4/main/pg_hba.conf > /dev/null

Problem depending on the OS not everyone install the same version, so in linux Mint 18 it is now 9.5 version, so the hardcoded path do not pass.

It would be better to locate (or get Postgre version) and make a relative string path with the variable (I tried to do so by my knowledge in bash scripting is too limited)

Just for the community, this script won't run in linux Mint 17 but is OK with Mint 18 (because Mint 17 don't have systemctl), so Mint users have to get Mint version 18+ to run it.

One good new : I successfully installed Orthanc + Plugin + Postgre into a DS216+ Synology NAS using Docker (one docker image with jodogne/orthanc-plugins:1.2.0 and a second with Postgresql). If someone is interested I can post a tutorial to do so.
These kind of NAS allows to have high capacity storage (3TB+) with replication to run your Orthanc server with a minimal installation.

Best regards,

Salim

Hi,

The main difference between Sebastien docker package and ours is the osimis web viewer plugin instead of the orthanc one.

The osimis docker images are no longer built by docker hub. However, they are still pushed to it. You may check this page instead for the valid docker tags: https://hub.docker.com/r/osimis/orthanc-webviewer-plugin/tags/
As you can see, the latest one is from 14 days ago. Perhaps the issue come from somewhere else. Let me know if I can provide any help.

Kind Regards,
Thibault

Sorry you are correct, osimis/orthanc-webviewer-plugin is working properly, the error i get is not related to you (probably i had a problem in my connection or something like that).

The postgre version hardcode is the only issue (at least i had 50% accuracy on my bug report ;-\)

Salim

This snippet is quite old indeed, sorry about that. We'll update it
shortly.

As a preview of what we'll likely recommend instead, please take a look
at the following sample:

https://bitbucket.org/tn-osimis/orthanc-compose-sample/src

This leverages docker-compose and greatly simplifies the setup. We've
actually been using the tool in this way with great results in many
situations for a long time now.

Amazing,

When you will update the official installation page tell me so I will test the procedure.
That way you will be sure that is OK for a newbie point of view.

Best regards

Salim

Thanks a lot!

We’ll get back to you.

Ftr Thibault Nelis’ package doesn’t include Osimis webviewer plugin but the Sebastien’s one.

Kind Regards,
Thibault.

My bad, I meant to use it!

Fixed in the repository I linked above.

@Salim, we updated the procedure linked from the Osimis site
accordingly.
https://bitbucket.org/snippets/osimis/eynLn

Feel free to send any comments and suggestions privately to me or
anybody else at Osimis should anything remain unclear (orthanc-users is
probably not the most appropriate place to discuss this unless the
conversation is about Orthanc in Docker in general).

Best regards,

Dear Salim,

One good new : I successfully installed Orthanc + Plugin + Postgre into a DS216+ Synology NAS using Docker (one docker image with jodogne/orthanc-plugins:1.2.0 and a second with Postgresql). If someone is interested I can post a tutorial to do so.
These kind of NAS allows to have high capacity storage (3TB+) with replication to run your Orthanc server with a minimal installation.

Regarding this part of your original post, I’m pretty sure many people would like to know more about this.

Feel free to share your tutorial. From my point of view, it is something that could even be added to the Orthanc Book.

Regards,
Sébastien-

Hi,

Not Salim, but I am running a similar setup.

This prompted me to clean up and push the ansible scripts that I am using for this:
https://github.com/levinalex/orthanc-synology-ansible-example

I’m running this setup since December without major problems.

Regards,
Levin

Dear Levin,

Great! Thanks for sharing :slight_smile: :slight_smile:

Regards,
Sébastien-

Dear Sebastien,

here is my tutorial for Synology NAS. My method is only GUI based (not script based as Levin).

At least now the community will have access to a wide documentation.

Best regards,

Salim

Install Orthanc with Synology Nas.pdf (1.3 MB)

Hello,

here is my tutorial for Synology NAS. My method is only GUI based (not script based as Levin).
At least now the community will have access to a wide documentation.

Thanks a bunch for providing this document!

I have just added it to the “OrthancContributed” public repository:

Regards,
Sébastien-

I have followed this guide and got Orthanc to work with Docker on my Synology NAS (the only change was in 4b where I ended up adding the folder where orthanc.json was to the path variable instead.
I have a question and forgive me as it is basic (I have tries to read the documentation but it hasn’t got me far). How do I enable the Osimis plugin to enable web viewing from the Orthanc server on my NAS?
It would be much appreciated if it could be explained in a simple how to fashion like the guide above (I have only just started wading into the world of Docker and the nuts and bolts of Synology DSM OS).

You’ll have to use the Docker images by Osimis in order to to run the Osimis Web viewer.

The Docker images “jodogne/orthanc” and “jodogne/orthanc-plugins” do not contain this particular viewer.

Documentation for Docker images by Osimis is available at the following location:
https://osimis.atlassian.net/wiki/spaces/OKB/pages/26738689/How+to+use+osimis+orthanc+Docker+images

Sébastien-