Forum

Author Topic: Automated License Server activation  (Read 6260 times)

ikemarv

  • Newbie
  • *
  • Posts: 7
    • View Profile
Automated License Server activation
« on: December 08, 2023, 02:06:09 PM »
Hello,

we are currently upgrading our license server from 1.8.5. to 2.0.3. Two questions occured:
- Is it possible to activate the floating license with the new license server through a CLI (eg. with bash script) without manually using the Web-GUI on a Linux system?
- Is it still necessary to use the activate tool?

Best regards.
« Last Edit: December 08, 2023, 02:10:18 PM by ikemarv »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15424
    • View Profile
Re: Automated License Server activation
« Reply #1 on: December 11, 2023, 03:06:09 PM »
Hello ikemarv,

Floating licenses for Metashape Pro 2.x versions require new license server (Agisoft License Server) application, as Reprise system (RLM) is no longer supported for the version 2.x.
You can find the links to the new license server software in the related article together with the activation instructions:
https://agisoft.freshdesk.com/support/solutions/articles/31000169229--metashape-2-x-floating-license-activation-procedure

Activation can be performed via command line:
Code: [Select]
agisoft-fls  --activate <activation key> --count <license count>
You may also want to install the license server as a system service as described in the corresponding instruction:
https://agisoft.freshdesk.com/support/solutions/articles/31000169438--metashape-2-x-how-to-run-license-server-as-a-system-service

If you are lacking any command line arguments for Agisoft FLS, please let us know. The current list of supported parameters is available via the following call:
Code: [Select]
agisoft-fls --help
Best regards,
Alexey Pasumansky,
Agisoft LLC

ikemarv

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Automated License Server activation
« Reply #2 on: December 12, 2023, 01:53:42 PM »
Unfortunately there are still problems.
If we run the license server on Mac locally for test purposes, everything works.

However, we get the answer “No response from license server” as soon as we start the application via Dockerfile. In out Dockerfile we use an Ubuntu baseimage version 22.04. Do we need other dependencies/packages besides curl/libcurl to get a connection to the license server?

Kind regards.
« Last Edit: December 13, 2023, 11:31:14 AM by ikemarv »

ikemarv

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Automated License Server activation
« Reply #3 on: December 14, 2023, 02:40:12 PM »
Hello,

We found out that Ubuntu requires the libcurl4 and ca-certificates packages. Then a connection to the license server can be established.
A note in the instructions would have been helpful.

Kind regards.