How to re-index studies from s3?

Hi. Previously we used s3 to save studies. And created new orthanc with same s3 credentials. But study list is empty even though there are a lot of studies there uploaded from previous orthanc. I think we need to re-index orthanc from s3. How can i do this?

I use docker, if i copy /var/lib/orthanc/db/ (there is single index file in this folder) from previous orthanc and paste it in place of the new ortahnc using docker volume, should it work? i have tried, but it still empty list. If it should work, may be i doing something wrong

Hi,

You need both the SQL (index) and the files (storage) (reference). Here, you seem to restart only with the file storage.

If you’ve lost your SQL index, you must recreate it by re-importing all files into Orthanc → in this case, I would advise to start with a new empty bucket for the orthanc storage.

Best regards,

Alain.