Hi,
I installed Orthanc on Windows by following the steps here: https://hg.orthanc-server.com/orthanc/file/default/INSTALL
I did changes in the Configuration.json file, how should I restart Orthanc to see these changes?
Thank you.
Hi,
I installed Orthanc on Windows by following the steps here: https://hg.orthanc-server.com/orthanc/file/default/INSTALL
I did changes in the Configuration.json file, how should I restart Orthanc to see these changes?
Thank you.
Hi,
You should open the “services” Windows component, find Orthanc in the list, right-click and “restart” the service.
HTH,
Alain.
Hi
An easier way to “START and STOP” Orthanc in Windows is by using the Windows DOS mode NET command.
net stop orthanc
net start orthanc
An example of the utility of the NET command is the following. Every day I backup the SQlite index files at a certain time, for that I create a BAT file that is executed with the Windows time function. In essence, first I STOP the execution of Orthanc, then I save the index files and then I START Orthanc again.
William
hi,
I installed Orthanc from source codes with following this steps: https://hg.orthanc-server.com/orthanc/file/default/INSTALL
There isnt Orthanc when I open services in Windows,
The “net stop orthanc” command doesn’t work either.
Could this be because installing and running Orthanc from source code?
Thank you
williamsa…@gmail.com <williamsanchezluis@gmail.com>, 9 Ara 2022 Cum, 16:56 tarihinde şunu yazdı:
If Orthanc is started as a service, you must open the Services Windows App, look for orthanc servicer in the list and manage it from there.
This article explains how to open de Services App: https://www.minitool.com/news/how-to-open-windows-services.html
Since I needed to make changes in explorer.html and explorer.js files, I downloaded the orthanc source codes and installed it that way, I compile and run it again every time I make changes to these files. But when I make changes in the configuration file, even if I recompile the codes, the configuration file becomes the default version. As seen in the screenshot, orthanc is not running as a service, so I cannot restart it. I changed the http port number in the configuration file and added modalities, but I can’t see it because the configuration file is default version, even i compile the source codes and run it again.
Ricardo Borjas <ricardo.a.borjas@gmail.com>, 13 Ara 2022 Sal, 15:31 tarihinde şunu yazdı:
Just make a copy of your custom configuration file, keep it apart and replace the “plain vanilla” file that is created every time that you compile the package.
The new executable will look for the config file in the same place every time, so you just have to overwrite the default file with the custom file.
Take into account that you can set a custom path for the config file as a command line parameter. Review the docs for that specific information.