Skip to content

File access permission issues on plugin update #237

Closed
@smellai

Description

@smellai

Log monitoring is reporting these kind of errors on /update request:

{  
   "data":{  
      "error":"rename C:\\Users\\[username]\\AppData\\Roaming\\ArduinoCreateAgent-1.1\\.Arduino_Create_Bridge.exe.new C:\\Users\\[username]\\AppData\\Roaming\\ArduinoCreateAgent-1.1\\Arduino_Create_Bridge.exe: The process cannot access the file because it is being used by another process."
   },
   "status":"Internal Server Error",
   "method":"POST",
   "browser":"chrome",
   "os":"Windows"
}
{  
   "data":{  
      "error":"open C:\\Users\\[username]\\AppData\\Roaming\\ArduinoCreateAgent-1.1\\Arduino_Create_Bridge.exe: The system cannot find the file specified."
   },
   "status":"Internal Server Error",
   "method":"POST",
   "browser":"chrome",
   "os":"Windows"
}
{  
   "data":{  
      "error":"open /home/root/ArduinoCreateAgent-1.1/.Arduino_Create_Bridge.new: permission denied"
   },
   "status":"Internal Server Error",
   "method":"POST",
   "browser":"chrome",
   "os":"Linux"
}
{  
   "data":{  
      "error":"rename C:\\Users\\[username]\\AppData\\Roaming\\ArduinoCreateAgent-1.1\\Arduino_Create_Bridge.exe C:\\Users\\[username]\\AppData\\Roaming\\ArduinoCreateAgent-1.1\\.Arduino_Create_Bridge.exe.old: Access is denied."
   },
   "status":"Internal Server Error",
   "method":"POST",
   "browser":"chrome",
   "os":"Windows"
}
{  
   "data":{  
      "error":"open /home/adl/adl/ArduinoCreateAgent-1.1/.Arduino_Create_Bridge.old: no such file or directory"
   },
   "status":"Internal Server Error",
   "method":"POST",
   "browser":"firefox",
   "os":"Linux"
}

Metadata

Metadata

Assignees

Labels

type: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions