Skip to content

File access permission issues on plugin update #237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
smellai opened this issue Jul 2, 2018 · 2 comments
Closed

File access permission issues on plugin update #237

smellai opened this issue Jul 2, 2018 · 2 comments
Assignees
Labels
type: imperfection Perceived defect in any part of project

Comments

@smellai
Copy link
Contributor

smellai commented Jul 2, 2018

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"
}
@smellai
Copy link
Contributor Author

smellai commented Jul 27, 2018

Happened to me to:
{"error":"open /home/stefania/.local/share/Trash/files/.Arduino_Create_Bridge_cli.old: no such file or directory"}

500 internal server error

@umbynos
Copy link
Contributor

umbynos commented Feb 9, 2021

The way the update is handled has changed significantly #551
Closing

@umbynos umbynos closed this as completed Feb 9, 2021
@rsora rsora added the type: imperfection Perceived defect in any part of project label Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

4 participants