When I try to upgrade a SharePoint 2013 app with an integrated workflow (add-in created in Visual Studio) it fails.
There was a problem accessing the file system on the server. Details: Cannot complete this action. Please try again.
Until I deleted al the tasks from the Workflow Task List (related to that workflow).