IntelliJ updating does not work

Answered

Product: Intellij IDEA Ultimate 2018.2.1

OS: OSX High Sierra 10.13.6

 

Updates done via patches (vs full downloads) do not work. For example I am currently on IntelliJ IDEA Ultimate 2018.2.1, and an update exists for 2018.2.2. I click 'check for updates' and 'update and restart', do not see any errors, however upon restart I am still on x.2.1 instead of x.2.2. Same thing happens with other products like datagrip. Has been occurring for some time for me.

I uploaded my logs as 'logs-20180822-145132.zip'

I believe its a likely permissions issue but not sure what to look for in logs, application itself gives no error messages. Intellij is run under my account (not root), and the .app folder in /Applications is also under the same account; my ~/Library/IntelliJIdea2018.2 is also owned by same account, nothing is root or some other account.

0
17 comments
Avatar
Permanently deleted user

whoops, meant ~/Library/Preferences/IntelliJIdea2018.2 above

0

Are you sure the patch is successfully downloaded?

Try disabling these plugins:
Loaded custom plugins: BashSupport (1.6.13.182), Docker integration (182.3684.90), Elixir (8.0.0), Erlang (0.11.985), GNU GetText files support (*.po) (134.SNAPSHOT), Go (182.3911.47.873), HashiCorp Terraform / HCL language support (0.6.11), IdeaVim (0.49), Ini4Idea (182.3911.19), LiquiBase EJB Integration (1.03), Makefile support (1.3), Material Theme UI (2.8.2), ReStructuredText Support (134.SNAPSHOT), Rust (0.2.0.2103-182), Toml (0.2.0.18), YAML/Ansible support (0.9.5)

Also try to launch IDE from terminal: go to /Applications/IntelliJ IDEA 2018.2.app/Contents/MacOS, run IDEA by ./idea and update again.

If issue remains, delete the log file, restart IDE, reproduce the issue and attach idea.log.

As a workaround install from https://www.jetbrains.com/idea/download to a new empty directory.

-1
Avatar
Permanently deleted user

Thank you! For reasons I still don't quite understand running it via command line with the binary directly worked, I didn't disable any plugins.

 

I noticed that after the downloaded completed and I hit restart to complete the update I saw a dialog box with a progress bar showing the patching before the splash screen came up.  This was not happening before. Before I'd hit update and I'd see the progress bar for the download, then see the message to update and restart but upon restart I would just see the splash screen and I'd still be on the same version; no patching progress window.

In the past I would just download the entire application again to update but it was a bit inconvenient for small patches.

0

Thanks for the information. I've forwarded the thread to responsible developer to take a look.

-1

This problem still exists for me with macOS Catalina and Rider 2019.2.2 to 2019.2.3 - very annoying and yep so much for auto update have to download whole package each time :-(

2

Hello Peter,

Do you get any error/warning messages? Is it possible to share idea.log and update.log (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)?

-1

Gidday Yaroslav,

No errors or warnings, it acted as if it worked but did not.  Same problem occurs in PHP Storm.

Cannot upload ZIP but here is a temporary link to the logs - https://www.dropbox.com/s/6zlbbtaw8smkawf/rider-logs-20191101-084327.zip?dl=0

Cheers

2

Peter,

Have you tried to run IDE from command line as suggested above?

-2

I will have to wait until next patch is released and the problem happens again before I can say that running it from terminal will work or not.  However, it seems rather pointless to have an auto update fail and not notify the user when they run the application from the provided preferred startup icon/method.

1

Yaroslav,

Just check my WebStorm and it was due for an update as per: -

I clicked on "Update and Restart" all happened with no errors and runner ran and relaunched WebStorm automatically and I checked and nope still on 2019.2.3

So tried this

cd /Applications/WebStorm.app/Contents/MacOS/

./webstorm

Check for Updates..

Update and Restart

Here is dropbox compressed logs - https://www.dropbox.com/s/1ml1xqx4x3nllq2/webstorm-logs-20191102-093406.zip?dl=0

It did not update either, here is command line output: -

2019-11-02 09:29:36.199 webstorm[9568:2759123] allVms required 1.8*,1.8+

2019-11-02 09:29:36.203 webstorm[9568:2759127] Value of WEBSTORM_VM_OPTIONS is (null)

2019-11-02 09:29:36.203 webstorm[9568:2759127] Processing VMOptions file at /Users/petersawyer/Library/Preferences/WebStorm2019.2/webstorm.vmoptions

2019-11-02 09:29:36.203 webstorm[9568:2759127] Done

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.intellij.ide.ClassUtilCore to field sun.net.www.protocol.jar.JarFileFactory.fileCache

WARNING: Please consider reporting this to the maintainers of com.intellij.ide.ClassUtilCore

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

2019-11-02 09:29:39,505 [   1390]   WARN - llij.ide.plugins.PluginManager - Markdown support not loaded: until build 191.SNAPSHOT < WS-192.6817.13

2019-11-02 09:29:40,088 [   1973]   WARN - llij.ide.plugins.PluginManager - Markdown support not loaded: until build 191.SNAPSHOT < WS-192.6817.13

2019-11-02 09:29:42,320 [   4205]   WARN - llij.ide.plugins.PluginManager - Gherkin not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:29:42,322 [   4207]   WARN - llij.ide.plugins.PluginManager - Angular and AngularJS not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:29:42,322 [   4207]   WARN - llij.ide.plugins.PluginManager - Vue.js not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:29:42,322 [   4207]   WARN - llij.ide.plugins.PluginManager - Database Tools and SQL not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:29:42,322 [   4207]   WARN - llij.ide.plugins.PluginManager - Slim not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:29:42,324 [   4209]   WARN - llij.ide.plugins.PluginManager - Kubernetes not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:30:31,198 [  53083]   WARN - llij.ide.plugins.PluginManager - Gherkin not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:30:31,198 [  53083]   WARN - llij.ide.plugins.PluginManager - Angular and AngularJS not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:30:31,199 [  53084]   WARN - llij.ide.plugins.PluginManager - Vue.js not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:30:31,199 [  53084]   WARN - llij.ide.plugins.PluginManager - Database Tools and SQL not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:30:31,199 [  53084]   WARN - llij.ide.plugins.PluginManager - Slim not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:30:31,200 [  53085]   WARN - llij.ide.plugins.PluginManager - Kubernetes not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:32:11,245 [ 153130]   WARN - llij.ide.plugins.PluginManager - Gherkin not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:32:11,245 [ 153130]   WARN - llij.ide.plugins.PluginManager - Angular and AngularJS not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:32:11,245 [ 153130]   WARN - llij.ide.plugins.PluginManager - Vue.js not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:32:11,245 [ 153130]   WARN - llij.ide.plugins.PluginManager - Database Tools and SQL not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:32:11,246 [ 153131]   WARN - llij.ide.plugins.PluginManager - Slim not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:32:11,247 [ 153132]   WARN - llij.ide.plugins.PluginManager - Kubernetes not loaded: since build 192.7142 > WS-192.6817.13

2019-11-02 09:32:16,330 [ 158215]   WARN - ution.process.OSProcessHandler - Process has been already terminated: /usr/local/bin/node /Applications/WebStorm.app/Contents/plugins/JavaScriptLanguage/jsLanguageServicesImpl/js-language-service.js -id=1572647393906 -debug-name=tslint

 

1

Peter,

Is it possible to run IDE from command line with sudo rights? Looks like some permission issue prevents patch unpacking.

-2

I tried but it needs me to re setup and register with my licence etc.  Don't want to risk losing access to to licence in my own profile.

0

You could activate it using Evaluation license.

-2

Did sudo ./webstorm then selected try eval licence and did update and exactly the same problem still no error and no update.

0

Peter,

I reported issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-226297. Please follow it for updates.

1

Hello, a simple fix for me was to run IntelliJ as administrator. 

1
What kind of error did you meet when updating the IDE?
0

Please sign in to leave a comment.