Replication problems

Hi all,

I have all my DICOM files on a separate hard disk and I want to replicate those files to another computer with an Orthanc instance.
I’d like to know if this is the same scenario as replicating the content of one instance of Orthanc to another instance of Orthanc as described in :
https://orthanc.chu.ulg.ac.be/book/users/replication.html

(Direct access to the filesystem ).

What I do so far is to configure Orthanc in Configuration.json with:

  • a username and a password in “RegisteredUsers”
  • “RemoteAccessAllowed” : true,
  • The rest left with default values.

On command line, I put:

ImportDicomFiles.py 10.1.30.190 8042 F:\DicomData\OrthancStorage
where 10.1.30.190 is the hostname (IP address of the computer I want to import the DICOM files to),
F:\DicomData\OrthancStorage contains all the DICOM files that I want to import to the host.

This doesn’t work and I get an error for each file: Importing F:\DicomData\OrthancStorage … =>unable to connect (Is Orthanc running ? Is there a password ?):
I checked that Orthanc is running with Services and I already put a password in Configuration.json.

Then, I tried to track the error with:
Orthanc-1.1.0-Release.exe F:/OrthancData/Configuration.json --verbose and
Orthanc-1.1.0-Release.exe F:/OrthancData/Configuration.json --trace

I get as error message: SQLite: database is locked (5).
I then tried to restart my computer and I get this another error: SQLite disk I/O error.

Has someone encountered these problems and found a solution? Thank you for you time.
I’d like to know also if my replication steps are correct.

Best regards.

Veneree

Hello,

I have all my DICOM files on a separate hard disk and I want to replicate those files to another computer with an Orthanc instance.
I’d like to know if this is the same scenario as replicating the content of one instance of Orthanc to another instance of Orthanc as described in :
https://orthanc.chu.ulg.ac.be/book/users/replication.html

(Direct access to the filesystem ).

Yes, this is the same use case.

On command line, I put:

ImportDicomFiles.py 10.1.30.190 8042 F:\DicomData\OrthancStorage
where 10.1.30.190 is the hostname (IP address of the computer I want to import the DICOM files to),
F:\DicomData\OrthancStorage contains all the DICOM files that I want to import to the host.

This doesn’t work and I get an error for each file: Importing F:\DicomData\OrthancStorage … =>unable to connect (Is Orthanc running ? Is there a password ?):
I checked that Orthanc is running with Services and I already put a password in Configuration.json.

Are you able to access Orthanc Explorer by opening “http://10.1.30.190:8042/” with Firefox or Chrome?

If this access is impossible, then “ImportDicomFiles.py” cannot work. This most probably reflect a problem with your firewall. Make sure it is turned off, then retry connecting to Orthanc Explorer.

Then, I tried to track the error with:

Orthanc-1.1.0-Release.exe F:/OrthancData/Configuration.json --verbose and
Orthanc-1.1.0-Release.exe F:/OrthancData/Configuration.json --trace

I get as error message: SQLite: database is locked (5).
I then tried to restart my computer and I get this another error: SQLite disk I/O error.

This message most probably stems from the fact that Orthanc is already running in the background (as a Windows service), and your are trying to open a second instance of Orthanc that uses the same SQLite database as the background instance. The same SQLite database cannot be shared by two Orthanc instances.

HTH,
Sébastien-

Hello,

Thank you for replying.

I don’t understand what is happening because I am not able to access Orthanc Explorer by opening “http://10.1.30.190:8042/” with Firefox or Chrome. I get this error when copying this URL on Chrome:

The 10.1.30.190 page isn’t working

10.1.30.190 didn’t send any data.

I was able to import DICOM images from F:\DicomData\OrthancStorage with:

ImportDicomFiles.py 10.1.30.190 8042 F:\DicomData\OrthancStorage

I can have access to those DICOM (view series, download zip) with http://localhost:8042.

I am not Administrator on the machine. I will check for the firewall and other configuration.

Thank you