Cannot update to Idea 2017.1.1
I receive this message: "Connection Error
Failed to prepare an update:
Temp directory inside installation: /idea2017.1/system/tmp/patch-update"
There is a 20M patch.jar file in above folder
My idea version:
IntelliJ IDEA 2017.1
Build #IU-171.3780.107, built on March 22, 2017
Licensed to xxxxxxxxxxxxxxx
You have a perpetual fallback license for this version
Subscription is active until April 7, 2018
JRE: 1.8.0_112-release-736-b13 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.4.0-72-generic
from idea.log:
2017-04-19 11:33:43,579 [700159499] WARN - eSettings.impl.UpdateInstaller - Temp directory inside installation: /idea2017.1/system/tmp/patch-update
java.io.IOException: Temp directory inside installation: /idea2017.1/system/tmp/patch-update
at com.intellij.openapi.updateSettings.impl.UpdateInstaller.preparePatchCommand(UpdateInstaller.kt:118)
at com.intellij.openapi.updateSettings.impl.UpdateInfoDialog$3.run(UpdateInfoDialog.java:197)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:726)
at com.intellij.openapi.progress.impl.CoreProgressManager$6.run(CoreProgressManager.java:410)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:176)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:556)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:501)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:163)
at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:594)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:334)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Please sign in to leave a comment.
Seems to be caused by the manually changed location of the system directory via idea.system.path property (https://intellij-support.jetbrains.com/hc/articles/206544869).
Please do not keep IDE config/system/plugins inside IntelliJ IDEA installation directory, otherwise patch update will not work.
Change the locations per https://intellij-support.jetbrains.com/hc/articles/207240985 and try to update again.
It worked, thanks.
Here's the strange thing though. I have never seen this error although I updated from the patch file many times before. My system/config folders location have always been the same in the past too. I still have the past /idea2016.x installations like this.
This check was added only recently https://github.com/JetBrains/intellij-community/blob/e14f9cab63e914cd023e48cfca83c1e476e143e7/platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdateInstaller.kt#L118-L118.
This was causing different exceptions in certain configurations ("Can't copy to itself" error).