Update to 2018.3 crash

Running the update to PHPStorm 2018.3 via PHPStorm -> help -> check for updates. When the installprocess comes to applying the patch I get an error (a corrupt file??) and the install process restore to the previous version. Tried several times.

What to do?

6 comments
Comment actions Permalink

Some questions, if you do not mind:

- Would it be possible to share a screenshot with the error message?

- Did you try to run the update with JetBrains Toolbox application? (https://www.jetbrains.com/toolbox/)

- What you version do you have installed now, is it 2018.2.5? What OS do you have installed?

0
Comment actions Permalink

Hello Vasiliy

 

Thank you for your fast reply.

 

Here are some screenshots I hope will help you figure this out.


 


 

I do all updates via PHP Storm -> Help, don´t know of any other method and don´t have time to use different methods for updates.

 

Here is text from error log file, hope it will help in any way.

-----------------------------------------------------------------------------

 

 

23/11 12:45:11 ERROR Patch.apply - apply failed

java.io.IOException: Cannot delete: C:\Users\Johan\AppData\Roaming\JetBrains\PhpStorm 2018.2.1\lib\icons.jar

                      at com.intellij.updater.Utils.tryDelete(Utils.java:107)

                      at com.intellij.updater.Utils.access$000(Utils.java:15)

                      at com.intellij.updater.Utils$1.visitFile(Utils.java:71)

                      at com.intellij.updater.Utils$1.visitFile(Utils.java:68)

                      at java.nio.file.Files.walkFileTree(Files.java:2670)

                      at java.nio.file.Files.walkFileTree(Files.java:2742)

                      at com.intellij.updater.Utils.delete(Utils.java:68)

                      at com.intellij.updater.BaseUpdateAction.replaceUpdated(BaseUpdateAction.java:117)

                      at com.intellij.updater.UpdateAction.doApply(UpdateAction.java:66)

                      at com.intellij.updater.PatchAction.apply(PatchAction.java:195)

                      at com.intellij.updater.Patch.lambda$apply$3(Patch.java:342)

                      at com.intellij.updater.Patch.forEach(Patch.java:414)

                      at com.intellij.updater.Patch.apply(Patch.java:333)

                      at com.intellij.updater.PatchFileCreator.apply(PatchFileCreator.java:64)

                      at com.intellij.updater.Runner.install(Runner.java:325)

                      at com.intellij.updater.Runner.main(Runner.java:118)

 

 

 

 

If there is any other question just let me know.

Looking forward to your reply/sollution on this.

0
Comment actions Permalink

OS: Windows 10 pro

 

0
Comment actions Permalink

Thanks for the extra information provided.

I know that it may sound obvious but could you please try to manually rename (not delete) "C:\Users\Johan\AppData\Roaming\JetBrains\PhpStorm 2018.2.1\lib\icons.jar" just to check if it possible? Looks like, some process is holding this file from deletion and it appears to be some remainings of one of the previous versions as basically, "icons.jar" should be located in "lib" folder of %programfiles% PhpStorm installation.

Also, do you have any antivirus software installed? Did you try to perform an upgrade after a clean reboot? 

0
Comment actions Permalink

Hmmm, can´t find that folder or file?

0
Comment actions Permalink

Hello!?

I couldn´t find the file you suggested so I tried to uninstall 2018.2 via windows but could not. Then downloaded 2018.3 and installed the software which worked.

I now have a working version but the road there was not the fastest.

0

Please sign in to leave a comment.