jonasmusall / wolfram-jupyter

Use the Wolfram Language in a Jupyter notebook.
MIT License
0 stars 0 forks source link

License `mathpass` file expires #1

Open jonasmusall opened 1 year ago

jonasmusall commented 1 year ago

According to https://hub.docker.com/r/wolframresearch/wolframengine, the Wolfram Engine is supposed to renew the license when it is close to expiring. However, it seems like this does not happen or work, as at some point after first manual activation, the kernel will refuse to start because it deems the available mathpass license as invalid.

To do:

jonasmusall commented 1 year ago

Jupyter log

/usr/share/WolframEngine/Licensing/mathpass:2:
    Wolfram Language 13.2.0 Engine license you are using has expired.
    Please contact Wolfram Research or an authorized
    Wolfram product distributor to extend your license and
    obtain a new password.
No valid password found.

mathpass file ist not modified. License (created april 15) was fine yesterday, expired today (valid for 116 days).

After reactivation in an instance of wolframresearch/wolframengine, mathpass file was placed in /home/wolframengine/.WolframEngine/Licensing/mathpass instead of mounted /usr/share/WolframEngine/Licensing (permission issue?).

jonasmusall commented 1 year ago

Renewal of the license does not seem to be a permission issue since /usr/share/WolframEngine/Licensing/mathpass is rw for the same user running Jupyter and wolframscript. But a new mathpass was created in the wolfram-jupyter container in /home/<user>/.WolframEngine/Licensing indicating this is the better place to store the license file. (Also it has permissions -rw-rw-rw- while the one created in wolframresearch/wolframengine has -rw-r--r-- for unknown reasons.)