I am running PhpStorm on Linux Mint installed in /opt. PhpStorm is notifying me that there is an update available (8.0.3), but then it tells me it doesn't have write permission to apply the update, and that I should run it as a privileged user to update it.
If I run phpstorm.sh as root/sudo it asks for license info and looks as though it's running the installer rather than the program. PhpStorm is licensed when I run it from the desktop.
So how can I run updates?
Alternatively, from the main menu, select Help | Check for Updates on Windows or Linux, or PhpStorm | Check for Updates on macOS.
Install and use PhpStorm from the source tarballVisit the PhpStorm JetBrains official website (https://www.jetbrains.com/phpstorm/), and click on 'Download now'. Click on 'Download' to download the PhpStorm tarball for Linux. Click on 'Save file' and then click on 'OK'.
By default, PHPStorm IDE should be installed in the path $HOME/. local/umake/ide/phpstorm.
I had the same issue and was able to change ownership of the PhpStorm folder to get it to work. Assuming your username is newownername and PhpStorm installation is located in /opt/phpstorm, the command should look like this:
chown -R newownername /opt/phpstorm
Note that you should change username and path to appropriate values.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With