Unable to add remote CLI Interpreter

I am unable to create a remote CLI Interpreter.  After choosing the PHP executable path (so I know that I can connect to the remote server) and pressing the refresh icon, I get "Can not update phpinfo: Failure".  Looking in the log file I see an exception being thrown as shown below.  Any ideas on what the problem is?  I am on PhpStorm Version 2016.3.2.  I have not added any projects yet, as I want to get the settings sorted out first.

=======================================

2017-01-04 11:56:23,552 [4089152] WARN - .PhpRemoteInterpreterComponent - Can not update phpinfo
com.intellij.execution.ExecutionException: Failure
at com.jetbrains.php.remote.PhpRemoteSshHelpersManager.update(PhpRemoteSshHelpersManager.java:54)
at com.jetbrains.php.config.interpreters.PhpSdkHelpersManager.lambda$getHelperScript$0(PhpSdkHelpersManager.java:38)
at com.intellij.openapi.progress.impl.CoreProgressManager$6.run(CoreProgressManager.java:265)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:710)
at com.intellij.openapi.progress.impl.CoreProgressManager$11.run(CoreProgressManager.java:423)
at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:179)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:568)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:164)
at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:572)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:309)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.jetbrains.plugins.webDeployment.CustomFileSystemException: Failure
at com.jetbrains.plugins.remotesdk.RemoteSdkUtil.checkInterpreterAndCreateHelpersFolder(RemoteSdkUtil.java:402)
at com.jetbrains.plugins.remotesdk.RemoteSdkUtil$2.lambda$run$0(RemoteSdkUtil.java:265)
... 6 more
Caused by: 4: Failure
at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2873)
at com.jcraft.jsch.ChannelSftp.mkdir(ChannelSftp.java:2182)
at com.jetbrains.plugins.remotesdk.RemoteSdkUtil.checkInterpreterAndCreateHelpersFolder(RemoteSdkUtil.java:373)
... 7 more

3 comments

Could you please download and install EAP build and check the same? If it still errors out please upload full idea.log file 

0

I think my problem was that I didn't have a project setup yet.  I have since setup a project and the EAP build and my 2016.3.2 build both work now.

0

Hello,

Error message was not related to a project but rather to remote server and failure at attempt of creating a directory. Maybe something has been changed at permissions side?

Either way, it is great that it's working now.

0

Please sign in to leave a comment.