Explorer 2 Upload

I am unsure when this happened, but attempting to upload a folder through Explorer 2, it stops after one file and hangs. I have tried uploading one file at a time and that does work.

Hello,

First step to go to the right way:
https://orthanc.uclouvain.be/book/users/support.html#required-minimal-quality-of-a-message-in-the-orthanc-users-discussion-forum

As soon as we get a way to reproduce, we will be happy to help…

image

Could you provide the logs?

Orthanc.log.20240529-003932.28056.txt (25.4 KB)

Hello,

These logs are insufficient to understand your issue. You will have to provide a minimal working sample, including sample DICOM images, so as other people to be able to reproduce your issue.

Regards,
SĂ©bastien-

Hi

I used json.config from here orthanc/Resources/Configuration.json at master · amirkogithub/orthanc · GitHub
and started from scratch. In OE2 it will not upload any more than the first dicom image in a folder. I tried many files and with only two files in the folder, it will upload the first and hang. If I then upload the other a single file through file upload it will add it to the series.

Hello,

I have tested the “Select folder” button in OE2, using both Mozilla Firefox and Chromium, and I can guarantee that it is functional:

image

This test was done using the jodogne/orthanc-plugins:1.12.3 Docker image.

Regards,
SĂ©bastien-

Hi,

Thank you for that. I am using Windows installer on Windows 10 Pro. I tried downgrading to a former version, uninstalling Orthanc and deleting the folder, then reinstalling and renaming c:\orthanc\ so it created a new one. Still no luck. Any ideas?

i have the same issue, linux docker three different setups,
reversing to 24.3.5 solves the issue,
I will investigate more the next weekend.

version: “3.8”
services:
orthanc:
image: orthancteam/orthanc:24.5.1
depends_on: [orthanc-indexu]
restart: unless-stopped
ports: [“4244:4242”, “8044:8042”]
volumes: [“orthanc-storageu:/var/lib/orthanc/db:u”]
environment:
ΤΖ: “Europe/Nicosia”
ORTHANC__POSTGRESQL__HOST: “orthanc-indexu”
POSTGRESQL_PLUGIN_ENABLED: |
{
“PostgreSQL”: {
“EnableIndex”: true,
“EnableStorage”: false,
“Port”: 5432,
“Database”: “postgres”,
“Username”: “postgres”,
“Password”: “postgres”,
“EnableSsl”: false,
“Lock”: false
}
}

             DICOM_WEB_PLUGIN_ENABLED: |
              {
                "DicomWeb": {
                             Enable": true 
                }
               }
             TRANSFERS_PLUGIN_ENABLED: |
               {
                }
             STONE_WEB_VIEWER_PLUGIN_ENABLED: "true" 
             ORTHANC__REGISTERED_USERS: |
              {"dkortho": "dkortho123"}
             TZ: "Europe/Nicosia"
             ORTHANC_JSON: |
              {
                    "Name": "Upload Dicom Server Dkorthosurgery",
                    "OrthancExplorer2" : {
                    "Enable": true,
                    "IsDefaultOrthancUI": true,
                    "ShowOrthancName": true,
                    "UiOptions" : {
                    "MaxStudiesDisplayed": 100,                 
                    "MaxMyJobsHistorySize": 5,                  
                    "StudyListSearchMode": "search-as-you-type",
                    "StudyListSearchAsYouTypeMinChars": 3,      
                    "StudyListSearchAsYouTypeDelay": 400,       
                    "StudyListContentIfNoSearch": "empty",
                    "DateFormat": "dd/MM/yyyy",
                    "StudyListColumns" : [
                         "AccessionNumber",
                         "PatientName",
                         "PatientBirthDate",
                         "PatientID",
                         "StudyDescription",
                         "StudyDate",
                         "modalities",
                         "seriesCount"
                      ]
                                  }
                 },                  
                    "RegisteredUsers": {
                     "stelios": "xxxxxxx",
                     "stelios2": "xxxxxx"
                 },
                    "OrthancPeers" : {
                     "orthancmainserver" : [ "http://192.168.1.51:8044", "dkortho", "dkortho123" ]
                  },
                    "DicomModalities" : { 
                     "Marioss-MacBook-" : [ "Marioss-MacBook-", "192.168.1.203", 11112 ],
                     "WEASISM" : [ "WEASISM", "127.0.0.1", 11113 ]
                  },
                     "StoneWebViewer": {
                     "DateFormat" : "DD/MM/YYYY",
                     "ShowNotForDiagnosticUsageDisclaimer": false,
                     "ShowInfoPanelAtStartup": "Never"
                  }
              }
    orthanc-indexu:
            image: postgres:15.6
            restart: unless-stopped
            volumes: ["orthanc-indexu:/var/lib/postgresql/data:u"]
            environment:
              POSTGRES_HOST_AUTH_METHOD: "trust"

volumes:
orthanc-storageu:
orthanc-indexu:

1 Like

Your logs show that a single file is sent to Orthanc while the browser detects 105 files.
which means the issue lies in the UI code or in the browser.

Could you open the browser developer tools and check the console logs ? Also tell us what browser you are using ?

Alain

Console log does not show anything from when I click upload till it freezes.
I have tried it from Chrome, Chrome incognito (to remove any extensions), and Edge.

Thank you

So, we’re back at my first post:

Please provide a set of sample DICOM images.

SĂ©bastien-

Hi @dkortho, @chlaudan

I’m ashamed to confirm that you were right - we were so confident that it was working that we did not even re-test it. I’m really sorry for not analyzing your issue in more details.

This has been fixed in this commit and I will release a new version ASAP.

Best regards,

Alain.

No worries, thank you!
I see you added “await”.