Closed alexbjorlig closed 7 years ago
Just noticed that the Master Data Items on the application have been distributed with an older version of GMS - but I guess it should not matter, the endpoint is supposed to delete all MDI's no matter origin?
@dauledk, I found some wonkiness as well but what I did is I restarted all Qlik Sense services, then restarted the powertools service. I think the issue is notification service binding which kind of sucks because notification bindings are ephemeral. They have to be reset everytime services get restarted.
@goldbergjeffrey I just tried restarting all services - but to no help.
This is the log output:
Status output: {"level":"info","msg":"POST delete/fromapp for Nøgletal Dev","meta":{"module":"routes"}} {"level":"info","msg":"deleteFromApp::Calling deleteFromApp","meta":{"module":"doWork"}} {"level":"info","msg":"getDocId::running getdoc.getDocId","meta":{"module":"getdocid"}} {"level":"debug","msg":"getDocId::qrsInteract::/app?filter=name eq 'Nøgletal Dev'","meta":{"module":"getdocid"}} {"level":"debug","msg":"getDocId::qrsInteract::Nøgletal Dev id:f52b1ce9-9116-4c23-a8b1-948ecf8fb692","meta":{"module":"getdocid"}} {"level":"info","msg":"deleteAllMasterItems::Deleting all MasterItem dimensions and measures from app: f52b1ce9-9116-4c23-a8b1-948ecf8fb692","meta":{"module":"deletemetrics"}} {"level":"info","msg":"Destroyed 0 measures from Nøgletal Dev","meta":{"module":"deletemetrics","app":"Nøgletal Dev"}} {"level":"info","msg":"Waiting for notification service to inform that the repository is clean","meta":{"module":"deletemetrics","app":"Nøgletal Dev"}} {"level":"info","msg":"Destroyed 0 measures from Nøgletal Dev","meta":{"module":"deletemetrics","app":"Nøgletal Dev"}} {"level":"info","msg":"Waiting for notification service to inform that the repository is clean","meta":{"module":"deletemetrics","app":"Nøgletal Dev"}} {"level":"info","msg":"deleteAllMasterItems::saveObjects::Master Items removed.","meta":{"module":"deletemetrics"}} {"level":"info","msg":"deleteAllMasterItems::Engine connection terminated","meta":{"module":"deletemetrics"}} {"level":"info","msg":"deleteFromApp success","meta":{"module":"doWork"}} {"level":"info","msg":"POST delete/all success::delete complete!","meta":{"module":"routes"}}
Do you have any idea of what I can try?
try restarting all Qlik Sense services, then restart the powertools service once all Qlik Sense services are back online. This sometimes happens when the notification entry for GMS is not reset after a Qlik Sense services restart. Unfortunately, the notification service guids are ephemeral. They aren't stored in the repo so they need to be regenerated and synced everytime a restart happens.
@dauledk did restarting services resolve the delete issue? I'd like to close this if I can.
@goldbergjeffrey no, unfortunately not.
GMS 2.0.5? I ran through it just this week and it deleted on command.
Can you provide screenshots showing the delete and the result of the application to be deleted?
I've worked on converting from qsocks to Enigma. Deleting is definitely working in #129. This will be part of the next release targeted for end of July.
Using the api: {{url}}/masterlib/delete/fromapp with the body of: { "appname": "Nøgletal Dev" } gives the response: "delete complete!"
But the master data items are still present in the application.
Running Qlik Sense 3.2 SR1