Running phpstorm inspections in headless mode (No valid license found)

I'm working on docker image to use with TeamCity in order to run PHPStrom inspections.
Image build on top of {{centos:6.6}}, and it has TeamCity Server & Agent
And I want to run {{/opt/PhpStorm-139.1348/bin/}} but I faced with 1st problem:

[root@97c4dced25b8 PhpStorm-139.1348]# ./bin/
[    246]  ERROR - nse.impl.GeneralLicenseManager - No valid license found
at com.intellij.openapi.diagnostic.Logger.error(
at com.intellij.idea.MainImpl$1.start(
at com.intellij.idea.StartupUtil.prepareAndStart(
at com.intellij.idea.MainImpl.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.intellij.ide.plugins.PluginManager$
[    249]  ERROR - nse.impl.GeneralLicenseManager - PhpStorm 8.0.3  Build #PS-139.1348
[    249]  ERROR - nse.impl.GeneralLicenseManager - JDK: 1.7.0_75
[    249]  ERROR - nse.impl.GeneralLicenseManager - VM: OpenJDK 64-Bit Server VM
[    249]  ERROR - nse.impl.GeneralLicenseManager - Vendor: Oracle Corporation

[    250]  ERROR - nse.impl.GeneralLicenseManager - OS: Linux

I've copied local trial key (generated on OS X) to container but it doesnt work....

CentOS 6.6. container

[root@97c4dced25b8 PhpStorm-139.1348]# md5sum ~/.WebIde80/eval/PhpStorm8.evaluation.key
ea01c6e4c33afe60e56b0af83f4c6beb  /root/.WebIde80/eval/PhpStorm8.evaluation.key

OS X 10.10.3

bash-3.2$ md5 ~/Library/Preferences/WebIde80/eval/PhpStorm8.evaluation.key
MD5 (/Users/ailyin/Library/Preferences/WebIde80/eval/PhpStorm8.evaluation.key) = ea01c6e4c33afe60e56b0af83f4c6beb

Any suggections how to set key without GUI?
1 comment

Looks similar to Please try asking the responsible developer for update directly in the ticket


Please sign in to leave a comment.