-
When attempting copilot update, via settings > plugins > Update I get the following error dialogue upon IDE restart: The IDE failed to install or update some plugins. The cause: java.nio.file.AccessDeniedException: C:\Users<myUsername>\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\213.6777.52.plugins\github-copilot-intellij\copilot-agent\bin\copilot-agent-win.exe |
Beta Was this translation helpful? Give feedback.
Replies: 37 comments 50 replies
-
After several IDE restarts I have been able to uninstall CoPilot and re-install the latest version. |
Beta Was this translation helpful? Give feedback.
-
Most likely, this was caused by a bug, which did not properly terminate the Copilot helper process when the IDE terminated. The latest release fixed this problem. Restarting Windows to terminate the process is a quick fix to make it apply the update at next restart of the IDE. |
Beta Was this translation helpful? Give feedback.
-
I disabled Copilot, uninstalled and restarted the IDE and installed Copilot again. After these attempts Copilot works just fine. |
Beta Was this translation helpful? Give feedback.
-
I'm having the same issue with 1.2.15.2816 |
Beta Was this translation helpful? Give feedback.
-
Just disable and update (do not enable on restart)! After update and restart... enable! |
Beta Was this translation helpful? Give feedback.
-
It just happened to me and the solution was super simple, instead of clicking "Restart idea to install updates", I've closed Webstorm manually and reopened it moments later and all was OK. |
Beta Was this translation helpful? Give feedback.
-
1.4.19.4986 → 1.5.0.5148 seems to be causing this issue for multiple people today |
Beta Was this translation helpful? Give feedback.
-
I face this problem today, my solution:
|
Beta Was this translation helpful? Give feedback.
-
running as administrator on windows fixed this issue for me |
Beta Was this translation helpful? Give feedback.
-
none of the above fixed it for me, but installing the plugin via the https://plugins.jetbrains.com/plugin/17718-github-copilot/versions worked Update. still experince that copilot chat is making android studio crash |
Beta Was this translation helpful? Give feedback.
-
Same issue here today when updating the plugin.
|
Beta Was this translation helpful? Give feedback.
-
Do you have plan to do something with that?! It's happening again in datagrip. in one version it was solved now in newest it's back. |
Beta Was this translation helpful? Give feedback.
-
Issue still observed:
Unable to update: Used version: |
Beta Was this translation helpful? Give feedback.
-
The recipe @ricar2ce already mentioned above broken down in steps would go like this:
|
Beta Was this translation helpful? Give feedback.
-
The IDE failed to install or update some plugins. The cause: java.nio.file.AccessDeniedException: C:\Users\xx\AppData\Roaming\JetBrains\IntelliJIdea2023.3\plugins\github-copilot-intellij\copilot-agent\bin\copilot-agent-win.exe |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, I'm also having trouble to update all these AI-related plugins [*1] (same "java.nie.file Exception ... access denied" thing) in the traditional way. But I found this WORKAROUND to be useful (a bit tedious, but considering the amount of time I lost by trying all the different proposals in this thread it's pretty short time): Steps that worked for me:
Hope that helped. [*1] AI-related plugins being Github Copilot, TabNine and Codeium. |
Beta Was this translation helpful? Give feedback.
-
This workaround does work, but so annoying to close all projects to bare metal and shutdown. It's 2024, why hasn't this bug been fixed???! Github, I want my money back! |
Beta Was this translation helpful? Give feedback.
-
What worked for me (though might have just been per chance) I launched Rider and in the dialog where you select the project you want to open, I instead went to the bottom left menu, selected plugins, clicked the update copilot plugin, and then clicked restart IDE and it restarted correctly for me |
Beta Was this translation helpful? Give feedback.
-
I had to kill the process name mentioned in the error message, in my case it was |
Beta Was this translation helpful? Give feedback.
-
That issue is back. This is starting to be nonsense. And there are several other bugs, but i don't even feel like reporting them if you can't solve one. |
Beta Was this translation helpful? Give feedback.
-
seeing the same issue today any updates? |
Beta Was this translation helpful? Give feedback.
-
i have this issue today with Goland 2024.2.1.1 i tried to uninstall copilot |
Beta Was this translation helpful? Give feedback.
-
hit this today... |
Beta Was this translation helpful? Give feedback.
-
This workaround keeps working flawlessly for me:
|
Beta Was this translation helpful? Give feedback.
-
Dec 2024, this issue surfaced again! This is the second time (last time happened some months back). Annoying. I modified Noctumsempra's list slightly, trying to keep it short and clear:
At this point, the Copilot-plugin seems to be properly shut down. And removed. You can now re-install it. |
Beta Was this translation helpful? Give feedback.
Most likely, this was caused by a bug, which did not properly terminate the Copilot helper process when the IDE terminated. The latest release fixed this problem. Restarting Windows to terminate the process is a quick fix to make it apply the update at next restart of the IDE.