Task finishes successfully, is registered as "Failed" (SaveApp caught extended exception)
I'm having trouble with our QS Prod server. Tasks that have actually finished with the message "Execution finished." are still registered as "Failed" in the QMC. This is of course a major problem with regards to jobs that should follow the one that just failed, especially during nightly reloads.
Using this guide, I was able to trace the the error:
5974 20220607T085505.289+0200 DEBUG SERVERNAME System.Engine.Engine 272 DOMAIN\qlikuser ExtendedException: Type '-1' thrown in file 'C:\Jws\engine-common-ws\src\ServerPlugin\Plugins\PluginApiSupport\PluginHelpers.cpp' in function 'ServerPlugin::PluginHelpers::ConvertAndThrow' on line '138'. Message: 'Unknown error' and additional debug info: 'File error for file \\internal.domain\Data\00_Qlik\Qlik_Share_Prod\Apps\Transactions\SERVERNAME.internal.domain\AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE, message: sharingViolation \\internal.domain\Data\00_Qlik\Qlik_Share_Prod\Apps\Transactions\SERVERNAME.internal.domain\AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE'
As can be seen, the Qlik Sense apps are stored on a network share and not on the local Qlik Sense server. We already excluded the "Transactions" folder from our virus scanner but to no avail, tasks still keep failing although they were actually finished successfully. It appeared for the first time last Sat after two servers were rebooted after patching, QS Prod and the file server where these files are hosted. I was told that the patches were not in regards to file management or virus scanning which I did also verify myself.
Traffic on that folder "Transactions" is very high so I assume the file server sometimes has problems keeping up with writing files and then deleting them again immediately while they still might be locked / not fully transferred or written to the file server's disk.
Has anyone dealt with the same behavior before? Would you recommend moving at least the "Apps" folder back to the local disk of the server to avoid locking / sharing violations with processes on the file server?