Modalities added via api not saved to Mariadb

Hi Hasan,

Could you try by adding this configuration:

  // Arbitrary identifier of this Orthanc server when storing its
  // global properties if a custom index plugin is used. This
  // identifier is only useful in the case of multiple
  // readers/writers, in order to avoid collisions between multiple
  // Orthanc servers. If unset, this identifier is taken as a SHA-1
  // hash derived from the MAC addresses of the network interfaces,
  // and from the AET and TCP ports used by Orthanc. Manually setting
  // this option is needed in Docker/Kubernetes environments. (new in
  // Orthanc 1.9.2)
     "DatabaseServerIdentifier" : "Orthanc1",

Between reboots, when containers are recreated, they might receive different MAC addresses and therefore might not “find” the server properties that have been written during a previous execution.

HTH,

Alain.