Upgrade to CE2019.2 issue
I'm unable to upgrade from 2019.1 to 2019.2 error is:
27/06 10:31:43 ERROR Runner.install - prepare failed
java.nio.file.FileAlreadyExistsException: /home/moonwolf/.PyCharmCE2019.1/system/log/idea.updater.files.16027779868763028304/backup.tmp.0
at java.base/sun.nio.fs.UnixCopyFile.copy(Unknown Source)
at java.base/sun.nio.fs.UnixFileSystemProvider.copy(Unknown Source)
at java.base/java.nio.file.Files.copy(Unknown Source)
at com.intellij.updater.Utils$2.visitFile(Utils.java:194)
at com.intellij.updater.Utils$2.visitFile(Utils.java:179)
at java.base/java.nio.file.Files.walkFileTree(Unknown Source)
at java.base/java.nio.file.Files.walkFileTree(Unknown Source)
at com.intellij.updater.Utils.copyDirectory(Utils.java:179)
at com.intellij.updater.Runner.install(Runner.java:422)
at com.intellij.updater.Runner.main(Runner.java:122)
I have removed all contents from system/log directory. What can i do?
Please sign in to leave a comment.
Hi,
This is a known issue: https://youtrack.jetbrains.com/issue/IDEA-205262
To solve, please delete your current installation, and do a clean reinstall. You can download 2019.2 EAP version from here: https://www.jetbrains.com/pycharm/nextversion/
The issue is updating while running Intellij via a symlink. For me it worked to start intellij directly (no symlink) and run update.