I am experiencing an issue with Orthanc. Although the “DicomModalitiesInDatabase” property is set to “true”, any modification made to the orthanc.json file (such as changing the web port) results in the loss of the configured modalities in the database.
Has anyone else encountered this problem? Any advice or solutions would be greatly appreciated.
The modalities are stored in the database linked against this identifier. If it changes (which it can when running in a container or different servers), then the modalities will not persist correctly.
I use orthanc as a linux service, since i install it by the “apt install” command, so i don’t have any container running, so which identifier should i set? i use postgresql as database engine
Could it be that your MySQL/PostgreSQL database is simply started without persistence? If you are using PostgreSQL, check out the PGDATAconfiguration option.