Fresh installation of MySql plugin on Centos7

After a fresh install of Orthanc and cheking all is working - and it is
Then I installed MySQL plugin,
And I get the following error :
… Orthanc[2559]: E0514 15:24:51.001301 ServerContext.cpp:280] INTERNAL ERROR: ServerContext::Stop() should be invoked manually …
I cleared and changed the OrthancStorage … still same error.
what did I do wrong ?

“They got married and had a lot of children” …

You see, it’s not that funny when we just get the last line of a book. Same for the logs, if you provide a few lines before the crash, that could help :slight_smile:

Sorry ! Here it is …

[root@vps197949 ~]# /opt/orthanc/OrthancBuild/Orthanc /opt/orthanc/OrthancBuild/MyConfiguration.json
W0514 17:03:33.357863 main.cpp:1614] Orthanc version: 1.6.1
W0514 17:03:33.358303 OrthancConfiguration.cpp:61] Reading the configuration from: “/opt/orthanc/OrthancBuild/MyConfiguration.json”

W0514 17:03:33.389599 main.cpp:792] Loading plugin(s) from: /opt/orthanc/OrthancMySQL-2.0/BuildMySQL/libOrthancMySQLIndex.so
W0514 17:03:33.390459 PluginsManager.cpp:269] Registering plugin ‘mysql-index’ (version 2.0)
W0514 17:03:33.392100 OrthancPluginDatabase.cpp:293] Performance warning in the database index: Some extensions are missing in the plugin
W0514 17:03:33.392124 main.cpp:792] Loading plugin(s) from: /opt/orthanc/OrthancMySQL-2.0/BuildMySQL/libOrthancMySQLStorage.so
W0514 17:03:33.392856 PluginsManager.cpp:269] Registering plugin ‘mysql-storage’ (version 2.0)
W0514 17:03:33.395477 PluginsManager.cpp:168] Your MySQL server cannot store DICOM files larger than 256MB
W0514 17:03:33.395492 PluginsManager.cpp:168] => Consider increasing “max_allowed_packet” in “my.cnf” if this limit is insufficient for your use
W0514 17:03:33.395664 main.cpp:1394] Using a custom database from plugins
W0514 17:03:33.395678 main.cpp:1405] Using a custom storage area from plugins
W0514 17:03:33.398178 OrthancPluginDatabase.cpp:330] Your database index plugin is not compatible with multiple Orthanc writers
W0514 17:03:33.398642 HttpClient.cpp:1066] HTTPS will use the CA certificates from this file: /opt/orthanc/OrthancBuild
W0514 17:03:33.399320 LuaContext.cpp:104] Lua says: Lua toolbox installed
W0514 17:03:33.399512 LuaContext.cpp:104] Lua says: Lua toolbox installed
W0514 17:03:33.399574 ServerContext.cpp:327] Disk compression is disabled
W0514 17:03:33.399590 ServerIndex.cpp:1636] No limit on the number of stored patients
W0514 17:03:33.399673 ServerIndex.cpp:1653] No limit on the size of the storage area
E0514 17:03:33.399847 ServerContext.cpp:280] INTERNAL ERROR: ServerContext::Stop() should be invoked manually to avoid mess in the destruction order!
W0514 17:03:33.899428 PluginsManager.cpp:219] Unregistering plugin ‘mysql-index’ (version 2.0)
W0514 17:03:33.899522 PluginsManager.cpp:168] MySQL index is finalizing
W0514 17:03:33.900205 PluginsManager.cpp:219] Unregistering plugin ‘mysql-storage’ (version 2.0)
W0514 17:03:33.900252 PluginsManager.cpp:168] MySQL storage area is finalizing
E0514 17:03:33.900996 main.cpp:1640] Uncaught exception, stopping now: [Bad file format] (code 15)
W0514 17:03:33.901164 main.cpp:1673] Orthanc has stopped

The line in bold states that your configuration file is badly formatted in JSON.

If you expect support, you must provide your configuration file:
https://book.orthanc-server.com/users/support.html

Thx, I always feel stupid when I do not see these things !
of course now it works !
you did a nice job !