Got this error message today using 1.1 version of Qlik Sense Server.
I know experienced on several occasions corrupted apps, and at one time sheets disappearing and now this. Will this be fixed in the next version? Is it a known issues?
The stability of Qlik Sense Server is not good when you loose content you created, and with no build in backup feature or version control you feel a huge uncertainty developing. Manually backing up your apps shouldn't be necassary in an Enterprise product like Qlik Sense Server.
Solved! Go to Solution.
I got some help from our consulting firm. They suggested looking in to the EXIT() function. The problem I have is that I have Qlik Sense 2.1.1 installed on an EC2 instance that we shut down after business hours to save some money. If a reload task is running when the shutdown is taking places that corrupts the file. So we fixed it with a exit script that is referenced from every other script at the beginning of the qvs file.
Let vExitStartTime = Num(MakeTime(6,20),'0.000','.');
Let vExitEndTime = Num(MakeTime(18,30),'0.000','.');
Let vNow = MakeTime(Hour(Now()),Minute(Now()));
Let vNowNum = Num(vNow,'0.000','.');
If( $(vNowNum)<$(vExitStartTime) OR $(vNowNum)>$(vExitEndTime)) Then;
TRACE 'Exit Script';
And this is how you reference it from another script file.
The traces is just to log what's happening at what times. This is because I don't trust Qlik Sense notion of time. All my reload tasked was 1 hour early because day light savings last week and I had to delete the events and create a new for it to work properly.
On other thing is that the IF statement needs to use a number format with a "." as decimal separator, doesn't work if your local number format uses a "," instead.
We did not find any solution, other than recreating the app. We had a copy in "My work" that was uncorrupted. Unfortunately though, all Community-sheets were unrecoverable.
Did you try re-importing the app? (Go into the server, find the file for the app, then import it again through QMC)? In my (very limited) experience it seems like it might have been a database issue rather than a corrupted QVF file.
(I'm not suggesting this is the ideal solution, but I'd be interested if there is a Qlik Sense issue or a database issue - of course I would expect neither!)
I tried everything, starting from reimporting, ending with replacing apps in the app folder. Nothing helped.
I tried different versions of Qlik Sense, nothing helped too.