Article - CS395798

Studio project sometimes publish fails with error: "Move/Rename error after 10 retries. EPERM: operation not permitted" in Vuforia Studio

Modified: 11-Dec-2023   


Applies To

  • Vuforia Experience Service 9.6.0 to 9.9.0
  • Vuforia Studio 9.6.0 to 9.15.0

Description

  • Studio project sometimes publish fails with error: Move/Rename error after 10 retries. EPERM: operation not permitted
  • Studio.log contains:
[2023-06-27T08:24:28.184Z] error: [twx-studio:ves-publish:1687854254084:<project_name>] Response statusText  Internal Server Error
[2023-06-27T08:24:28.184Z] error: [twx-studio:ves-publish:1687854254084:<project_name>] Response body  {"message":"Move/Rename error after 10 retries. EPERM: operation not permitted, rename 'D:\\VuforiaExperienceService\\studio-es-store\\projects\\<project_name>' -> 'D:\\VuforiaExperienceService\\studio-es-store\\projects\\<project_name>_1687854267446'","errorCode":"","error":{}}
[2023-06-27T08:24:28.184Z] error: [twx-studio:ves-publish:1687854254084:<project_name>] Response error  undefined
[2023-06-27T08:24:28.184Z] error: [twx-studio:ves-publish:1687854254084:<project_name>] Failed to upload to the Experience Service. undefined
[2023-06-27T08:24:28.185Z] error: [twx-studio:projectHelper] publishTask error for project <project_name> {"statusCode":500,"message":"{\"message\":\"Move/Rename error after 10 retries. EPERM: operation not permitted, rename 'D:\\\\VuforiaExperienceService\\\\studio-es-store\\\\projects\\\\<project_name>' -&gt; 'D:\\\\VuforiaExperienceService\\\\studio-es-store\\\\projects\\\\<project_name>_1687854267446'\",\"errorCode\":\"\",\"error\":{}}"}
[2023-06-27T08:24:28.186Z] error: [twx-studio:api] Error occured while publishing project <project_name> {
[2023-06-27T08:24:28.185Z] error:   statusCode: 500,
[2023-06-27T08:24:28.185Z] error:   message: `{"message":"Move/Rename error after 10 retries. EPERM: operation not permitted, rename 'D:\\\\VuforiaExperienceService\\\\studio-es-store\\\\projects\\\\<project_name>' -> 'D:\\\\VuforiaExperienceService\\\\studio-es-store\\\\projects\\\\<project_name>_1687854267446'","errorCode":"","error":{}}`
[2023-06-27T08:24:28.185Z] error: }
 
  • Experience Service log contains below message:
(node:2252) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'selectWithParams' of undefined
    at Object.exports.getExistingRecordForAnExperience (D:\VuforiaExperienceService\services\advancedmtg\trainingDatabaseService.js:76:22)
    at Object.cancelObsoleteHMTGJob (D:\VuforiaExperienceService\services\advancedmtg\hmtgHelperModule.js:472:51)
    at getFileInfos (D:\VuforiaExperienceService\routes\handlers\target-generation\eventHandler.js:86:16)
    at D:\VuforiaExperienceService\routes\handlers\target-generation\eventHandler.js:63:24
    at _fulfilled (D:\VuforiaExperienceService\node_modules\q\q.js:854:54)
    at D:\VuforiaExperienceService\node_modules\q\q.js:883:30
    at Promise.promise.promiseDispatch (D:\VuforiaExperienceService\node_modules\q\q.js:816:13)
    at D:\VuforiaExperienceService\node_modules\q\q.js:624:44
    at runSingle (D:\VuforiaExperienceService\node_modules\q\q.js:137:13)
    at flush (D:\VuforiaExperienceService\node_modules\q\q.js:125:13)
    at processTicksAndRejections (internal/process/task_queues.js:77:11)
(node:2252) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 14)
*** Terminating upload POST (500). Error: Move/Rename error after 10 retries. EPERM: operation not permitted, rename 'D:\VuforiaExperienceService\studio-es-store\projects\<project_name>' -> 'D:\VuforiaExperienceService\studio-es-store\projects\project_name_1687853758234'
This is a printer-friendly version of Article 395798 and may be out of date. For the latest version click CS395798