How to update Orthanc installed via Ubuntu repository?

Hey folks,

I’ve installed Orthanc using sudo apt-get install orthanc on Ubuntu. But it installed the version 1.3.1. How can I safely update to 1.5.4?

Thanks in advance.

You may replace the executables that were installed by the package by executables you download from here: http://lsb.orthanc-server.com/.

In complement to Alain’s answer, here are two older threads on this forum about the same topic:
https://groups.google.com/d/msg/orthanc-users/VK1jF6LW2Wo/zk0juOgoCAAJ
https://groups.google.com/d/msg/orthanc-users/5JaYkWw0NDs/QGZ-6E48FgAJ

For which version of Ubuntu these ninares are compiled to? I tried to override but it didn’t work. I’m using Ubuntu 18.

Hello
I have a question about this :
Each folder contain a file named: UnitTests. Where we put this file? In Debian package I don,t see a folder witch contain this file…
Thanks

joi, 14 februarie 2019, 10:39:07 UTC+2, Alain Mazy a scris:

The file “UnitTests” contains the tests for quality assurance, and can be ignored in deployments.

What do you mean by “it didn’t work”?

I’m sorry. I was not clear.

I’ve stopped Orthanc and overwritten the executables to the version 1.5.4. Then, when I started again, Explorer didn’t work. I got error 500.

Then I restored the executables and it worked again (with version 1.3.1).

Please check out the Orthanc log in “–verbose” mode:
http://book.orthanc-server.com/faq/log.html

Maybe your distribution does not come with LSB support installed. You could try and run:

sudo apt-get install lsb lsb-core

sudo apt-get install -f

Ok, great. I’ll try this and get back to you asap.

Thanks, Sebastien!

I just tried once again and got the same error, even after installing lsb and lsb-core.

I saw the logs and it seem to be an issue with worklist plugin. Take a look:

W0220 19:52:41.083064 main.cpp:1436] Orthanc version: 1.5.4

W0220 19:52:41.084899 OrthancConfiguration.cpp:113] Scanning folder “/etc/orthanc/” for configuration files

W0220 19:52:41.084962 OrthancConfiguration.cpp:61] Reading the configuration from: “/etc/orthanc/orthanc.json”

W0220 19:52:41.085388 OrthancConfiguration.cpp:61] Reading the configuration from: “/etc/orthanc/serve-folders.json”

W0220 19:52:41.085456 OrthancConfiguration.cpp:61] Reading the configuration from: “/etc/orthanc/worklists.json”

W0220 19:52:41.111383 main.cpp:700] Loading plugin(s) from: /usr/share/orthanc/plugins/

W0220 19:52:41.112101 PluginsManager.cpp:269] Registering plugin ‘worklists’ (version 1.5.4)

W0220 19:52:41.112123 PluginsManager.cpp:168] Sample worklist plugin is initializing

W0220 19:52:41.112354 PluginsManager.cpp:168] Worklist server is disabled by the configuration file

W0220 19:52:41.123165 PluginsManager.cpp:269] Registering plugin ‘web-viewer’ (version mainline)

W0220 19:52:41.123196 PluginsManager.cpp:168] Initializing the Web viewer

W0220 19:52:41.123383 PluginsManager.cpp:168] Web viewer using 1 threads for the decoding of the DICOM images

W0220 19:52:41.123396 PluginsManager.cpp:168] Storing the cache of the Web viewer in folder: /var/lib/orthanc/db-v6/WebViewerCache

W0220 19:52:41.124054 PluginsManager.cpp:168] Web viewer using a cache of 100 MB

W0220 19:52:41.124072 PluginsManager.cpp:168] Using GDCM instead of the DICOM decoder that is built in Orthanc

W0220 19:52:41.124785 PluginsManager.cpp:269] Registering plugin ‘postgresql-index’ (version mainline)

W0220 19:52:41.125272 PluginsManager.cpp:269] Registering plugin ‘dwv-plugin’ (version 0.8)

W0220 19:52:41.125286 PluginsManager.cpp:168] DWV plugin is initializing

W0220 19:52:41.125434 PluginsManager.cpp:219] Unregistering plugin ‘postgresql-index’ (version mainline)

W0220 19:52:41.125446 PluginsManager.cpp:168] PostgreSQL index is finalizing

W0220 19:52:41.125504 PluginsManager.cpp:219] Unregistering plugin ‘web-viewer’ (version mainline)

W0220 19:52:41.125513 PluginsManager.cpp:168] Finalizing the Web viewer

W0220 19:52:42.128826 PluginsManager.cpp:219] Unregistering plugin ‘worklists’ (version 1.5.4)

W0220 19:52:42.128867 PluginsManager.cpp:168] Sample worklist plugin is finalizing

E0220 19:52:42.128957 main.cpp:1462] Uncaught exception, stopping now: [Accessing an inexistent item] (code 7)

W0220 19:52:42.129178 main.cpp:1495] Orthanc has stopped

I got the same error with the version 1.5.3

I compiled Orthanc in an Ubuntu 18.04. I thought this could be the problem. Perhaps I should be using 16.04?

Any idea?

Sorry, I didn’t compile Orthanc. I installed via apt-get.

This is not a log in “–verbose” mode, as requested above:
http://book.orthanc-server.com/faq/log.html

Your log indicates that Orthanc 1.5.4 correctly starts and has replaced 1.3.1. As a consequence, this not a LSB problem, but a configuration error in one plugin.

From what I see here in the finalization sequence, the problem occurs when loading “dwv-plugin (version 0.8)”. This is a non-official plugin, for which we don’t provide support. Try and disable it.

Sébastien-

You were right. I disabled the DWV plugin and it worked. Now I’m running Orthanc 1.5.4.

Thanks for your time! :slight_smile: