Enable LigandScout license from command-line

Hello all,

I need to run a KNIME workflow on a server that, unfortunately, is not managed by me. My workflow includes LigandScout nodes and I have a serial number to activate the extension. My issue is that I have to active the extension from the command-line because I don’t have access to the graphical environment. Could anyone help me enable the extension from command-line?
I assume it should be as simple as place the serial somewhere, but I’m quite lost.

Thanks in advance

1 Like

Hi @ajbanegas

I have no idea if or how this is possible.
Let’s involve the experts from @inteligand directly and see :slight_smile:

Best,
Martyna

2 Likes

Hi @ajbanegas,

Thomas from Inteligand here.

You are right, it is as simple as placing the serial somewhere :wink:

Please locate your KNIME installation folder. This folder should contain a file named knime.ini. In this file you can define startup parameters.

Add the following line to this file:

-Dcom.knime.licensedir=</path/to/directory/containing/serial/file>

The </path/to/directory/containing/serial/file> should be a path to a folder on your system that contains a file named serial. This serial file should contain your serial number and nothing else.

If these prerequisites are met, the LigandScout node extensions will activate automatically.

Please let me know if you have any further questions!

Best,
Thomas

3 Likes

Thank you all for your help!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.