Hi everyone, unfortunately lately I’ve been having problems updating Orthanc to version 1.12.1, despite carrying out the usual procedure that I’ve always done and which has always worked.
we don’t use docker but we install orthanc directly using the “sudo apt install orthanc” command, which automatically installs version “1.10”, so to update orthanc manually we use the following commands:
- sudo orthanc stop
- sudo wget Orthanc downloads --output-document=/usr/sbin/Orthanc
- sudo rm -f /usr/share/orthanc/plugins/*.so
- sudo wget Orthanc downloads --output-document=/usr/share/orthanc/plugins/libServeFolders.so
- sudo wget Orthanc downloads --output-document=/usr/share/orthanc/plugins/libOrthancDicomWeb.so
- sudo orthanc restart
but I haven’t been able to for a week, once these commands have been executed, orthanc has no longer been able to start and does not produce logs directly from the /var/log/orthanc folder. The only logs I was able to recover were those from “journalctl -e” which tells me that the format of the /usr/sbin/orthanc file is incorrect.
I also add (this problem could be unrelated) that if I try to completely uninstall orthanc from the server, when I install it again via “sudo apt install orthanc” I receive this error:
“cannot access ‘/etc/orthanc/credentials.json’: No such file or directory”
even if I perform a system cleanup.
I attach a screenshot of the error that journalctl reports.
Thanks in advance for any response.
Are you sure you have run this command ?
sudo chmod +x /usr/sbin/Orthanc
Hi Alain,
yes, I run the command right after stopping the Orthanc service, after that I run the command “sudo wget Orthanc downloads --output-document=/usr/sbin/ Orthanc” and continue with the others described previously.
Once all the commands listed above have been executed, I restart the orthanc service and I do not receive any other log except “orthanc has stopped”, after which I recover the log in the photo from the “journalctl -e” command
The executable urls have actually changed recently. You are actually downloading an HTML page into the executable I will update the Orthanc book accordingly.
https://orthanc.uclouvain.be/downloads/linux-standard-base/orthanc/1.12.1/Orthanc
is the right url for Orthanc.
Best regards,
Alain.
Thanks Alain,
I managed to update orthanc to version 1.12.1, however now I can’t recover the previously loaded studies, even though the “orthanc.json” file is still the same… therefore the StorageDirectory pointing is always the same.
I uploaded a short video to show you, basically as you can see from the orthanc explorer, before I upgraded orthanc from version 1.10 to 1.12, I had two studies loaded. After updating the version, the studies were no longer there
thanks in advice…
You should check your logs in more details …
does not seem identical to
And, I can tell you that this is the first and last time I analyse logs in a Youtube Video
Hi Alain, the directory is the same because as I said the “orthanc.json” file is the same and has not been changed. In any case, I realize that it is difficult to analyze a possible problem from a low resolution video without logs, I’m sorry if I wasted your time in this sense. I will try to investigate the problem myself which I believe is definitely a configuration problem although I repeat that the files are the same so it is very strange. Thank you so much for your time, have a nice day
I meant that in one log, a custom DB plugin is used and SQLite is used in the other log.