Hello, good afternoon. I managed to run the orthanc/1.12.7 version (Linux-based) on a VPS. Everything works perfectly, but I wanted to use it as storage for the exams performed on my personal NAS server, as I have space to spare. Would it be possible to modify the path to the /var/lib/orthanc/db-v6/ folder?
thanks a lot
Hello,
The Orthanc configuration allows you to change the location of both the SQLite DB files (if you’re using the default DB) and the location where the DICOM are stored:
"StorageDirectory": "/path/to/dicom_folder",
"IndexDirectory": "/path/to/db_folder",
It’s highly advised to store the DB (IndexDirectory
) on a fast local storage, ideally SSD, while you can have StorageDirectory
point to your NAS.
Please note that you need to stop Orthanc before changing this, and you need to copy the existing files that you might already have stored from the older location to the new one by making sure to keep the same relative path from the StorageDirectory
root.
HTH
thanks …Now I need to find out how to point the IP or DNS of the NAS server where I want to store the images..
Bye
You’re welcome.
If I understand correctly, your NAS is at home and Orthanc in a VPS. This means that you’ll have to configure your firewall and have a fixed IP or DNS solution, or use a VPN such as Wireguard.
If the transport is over the Internet, maybe running MinIO on the NAS (if possible) and using the Orthanc S3 plugin would be a better choice than NFS (especially if you don’t use a VPN)
(None of this being directly related to Orthanc, though)
HTH