Hi,
we are currently facing a weird behavior with Windows Server 2016. When we use the latest x64 installer we get the following error in the log:
E0329 11:20:28.718124 PluginsManager.cpp:153] SQLite: database is locked (5)
E0329 11:20:28.718124 PluginsManager.cpp:153] SQLite: Cannot prepare a cached statement
E0329 11:20:28.718124 PluginsManager.cpp:91] Error while initializing plugin C:\Program Files\Orthanc Server\Plugins\OrthancWebViewer.dll (code -1)
Our workaround at the moment is:
Stop the Orthanc service, delete the “C:\Orthanc\WebViewerCache” and start the Orthanc again.
On a Windows Server 2019 the problem does not occur.
Do you know about that? Is there any way to prevent it?
Best regards.
Daniel
Hello! It looks like a permission issue. You could try:
Running Orthanc as administrator
Giving all permissions to the Orthanc folder (equivalent of chmod -R 777 in UNIX) for testing purposes
A quinta-feira, 14 de abril de 2022 à(s) 12:57:26 UTC+1, daniel.fi...@gmail.com escreveu:
Hello,
The “SQLite: database is locked (5)” error indicates that two different instances of Orthanc are simultaneously using the same database.
Are you aware of the fact that the Microsoft Windows installers by Osimis install a Windows service?
Sébastien-
Hi Sébastien,
yes I am aware that a windows service is installed.
The problem occurs in our test environment on a clean Windows 2016 Server, so no different instances can happen at that moment.
If we try the same on a Windows 2019 Server the installation works without any problems.
Best regards.
Daniel
Hello,
As far as I’m concerned, I have no access to a Windows 2016 Server setup, so I cannot provide any further help.
I would suggest you exploring this issue with your IT team, or getting in touch with a professional assistance:
https://book.orthanc-server.com/users/support.html#finding-professional-assistance
Regards,
Sébastien-