LuaScripts Path causes Orthanc Service to Stop

I only fullfil the Path space and boom, Orthanc won’t run anymore.
Also tried to copy an already existing path, and the same thing happened.
What it could it be? It’s terrible annoying.

// List of paths to the custom Lua scripts that are to be loaded
// into this instance of Orthanc
“LuaScripts” : [ “C:\Program Files\Orthanc Server\Scripts” ],

It’s exactly as how Plugin is written by default

“Plugins” : [ “C:\Program Files\Orthanc Server\Plugins” ],

In JSON format, you typically use backslashes (\ ) to escape special characters, so the correct representation of file paths would be with double backslashes.
Try
C:\\Program Files\\Orthanc Server\\Scripts

Also check logs for errors. Share if still having difficulty

1 Like

Funny thing, the double backslash may be not copied directly from the file. It was not the problem.

BUt I figured out the Issue, I needed to add \luascript.lua" and the filename to the path

Thank you anyway!