"Unable to save settings" error
I have 2 machines.
With the first machine, PhpStorm runs correctly, but on the second machine, I am getting an "Unable to save settings" error
In the log file, I see
2017-06-19 11:08:04,019 [ 29487] WARN - mponents.impl.stores.StoreUtil - Save settings failed
java.lang.RuntimeException: java.io.IOException: /home/paul/.PhpStorm2017.1/config/options not found
However, the directory does exists
$ ls -la /home/paul/.PhpStorm2017.1/config
total 12
drwxr-xr-x 5 paul paul 7 Jun 19 11:11 .
drwxr-xr-x 4 paul paul 4 Jun 19 11:07 ..
drwxr-xr-x 2 paul paul 2 Jun 19 11:11 codestyles
drwxr-xr-x 2 paul paul 3 Jun 19 11:07 eval
drwxr-xr-x 2 paul paul 2 Jun 19 11:07 options
-rw-r--r-- 1 paul paul 4 Jun 19 11:08 port
-rw-r--r-- 1 paul paul 0 Jun 19 11:07 port.lock
If I delete the options directory, when I run PhpStorm again, it automatically gets recreated and then I get the same error again (Unable to save settings)
I cant see any difference between the setups. I had wondered if there was a difference with the JDK, but they are the same versions
Has anyone seen this before, or have any ideas what to try? I have tried both 2016.3.2 and also 2017.1.4 and both exhibit the same issue.
I am also seeing the same issue with DataGrip (https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000394810--Unable-to-save-settings-error)
Thanks
Please sign in to leave a comment.
Please try disabling all custom plugins (Settings | Plugins | Show: Custom), remove the directory again and check if the issue is reproducible.
I do not have any custom plugins listed.
This is a fresh install.

It's the most frequent reason for this error to appear, a 3rd party plugin.
Could you please restart PhpStorm, reproduce the issue and upload the IDE log somewhere?
Hi,
The log is available at http://caspersworld.co.uk/datagrip.txt
Thanks
By any chance, is it a network share you're keeping your profile on?
Nope, not on network share. Running on my laptop, local filesystem.
The other machine it was running on was the same setup (as far as I can tell), but that worked as expected
$ ls -la /home/paul/.DataGrip2017.1/
total 50
drwxr-xr-x 4 paul paul 4 Jun 19 15:37 .
drwxr-xr-x 58 paul paul 172 Jun 19 15:37 ..
drwxr-xr-x 8 paul paul 9 Jun 19 15:38 config
drwxr-xr-x 9 paul paul 11 Jun 19 15:38 system
$ ls -la /home/paul/.DataGrip2017.1/config/
total 13
drwxr-xr-x 8 paul paul 9 Jun 19 15:38 .
drwxr-xr-x 4 paul paul 4 Jun 19 15:37 ..
drwxr-xr-x 2 paul paul 2 Jun 19 15:38 codestyles
drwxr-xr-x 2 paul paul 3 Jun 19 15:37 eval
drwxr-xr-x 3 paul paul 3 Jun 19 15:37 extensions
drwxr-xr-x 2 paul paul 2 Jun 19 15:37 options
drwxr-xr-x 2 paul paul 3 Jun 19 15:37 plugins
-rw-r--r-- 1 paul paul 0 Jun 19 15:37 port.lock
drwxr-xr-x 3 paul paul 3 Jun 19 15:37 projects
$ ls -la /home/paul/.DataGrip2017.1/config/options/
total 9
drwxr-xr-x 2 paul paul 2 Jun 19 15:37 .
drwxr-xr-x 8 paul paul 9 Jun 19 15:38 ..
@Paul, log attached is for DataGrip and it's running on Oracle JDK.
1) could you please check that PhpStorm is running on JetBrains JDK:
2) are you starting PhpStorm as a "paul" user? What if you run it with sudo?
Hi,
Opps... Here is the PhpStorm log file http://caspersworld.co.uk/phpstorm.txt
Looking at the log file, that is also running on Oracle JDK.
Is there anything special that I need to do, to get PhpStorm to run the JetBrain's JVM?
Yes, I am starting PhpStorm (and DatatGrip) using the "paul" user and no, im not using sudo.
> Is there anything special that I need to do, to get PhpStorm to run the JetBrain's JVM?
Yep, please follow: https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under