Licensing info not available.

wmoon
2024-03-19
2025-10-02
1 2 > >> (Page 1 of 2)
  • wmoon - 2024-03-19

    Hello,

    I bought some licenses from CODESYS store.
    I am trying to install licenses into my device(CODESYS Control for Linux ARM64 SL). But I have a trouble with it.

    I did it in the following order.

    1. Tool -> License Manager
    2. Selected Device and Next...
    3. Selected Soft container and Next...
    4. Select the device and Ok..
    5. And then I always show a message "Licensing info not available. There is no dongle attached to the device."
    6. And I tried to click "Install Licenses" button. I saw the message "The value cannot be NULL. Parameter name : continerToLicenses"

    Could you let me know what I've missed or what I've got wrong?

     
  • eschwellinger

    eschwellinger - 2024-03-19

    check on cli on your device
    'cmu -x'

     
  • wmoon - 2024-03-20

    That command can't excute on my device.

    I installed CODESYS into Hilscher's product using container

    Here is the Docker file what I used.
    I'm not sure if this docker file have a problem.
    If it have a problem, please let me know how to download the files into my device using ftp server.


    FROM arm64v8/debian:11.6
    RUN apt-get update
    RUN apt-get install -y wget sudo unzip libusb-1.0-0-dev procps
    ENV CDS_VERSION "4.10.0.0"
    ENV EDGE_VERSION "4.10.0.0"
    ENV URL "https://store-archive.codesys.com/ftp_download/3S/LinuxARM64/2302000039/$CDS_VERSION/CODESYS%20Control%20for%20Linux%20ARM64%20SL%20$CDS_VERSION.package"
    ENV EDGE_URL "https://store-archive.codesys.com/ftp_download/3S/EdgeGatewayLinux/000120/$EDGE_VERSION/CODESYS%20Edge%20Gateway%20for%20Linux%20$EDGE_VERSION.package"
    RUN wget --output-document=/tmp/codesys.package $URL && \
    unzip -p /tmp/codesys.package 'codemeter.deb' > /tmp/codemeter.deb && dpkg -i /tmp/codemeter.deb && \
    unzip -p /tmp/codesys.package 'codesyscontrol.deb' > /tmp/codesys.deb && dpkg -i /tmp/codesys.deb
    RUN wget --output-document=/tmp/edge.package $EDGE_URL && \
    unzip -p /tmp/edge.package '*arm64.deb' > /tmp/edge.deb && dpkg -i /tmp/edge.deb
    EXPOSE 11740 1217 11743
    ENTRYPOINT ["/bin/sh", "-c" , "/etc/init.d/codesyscontrol start && /etc/init.d/codesysedge start && tail -f /dev/null"]


     
  • SuperJojo2002 - 2024-03-20

    I checked it using the very same docker container version like colleague moon and the command returned

    root@nt0001c02c5533:/# cmu -x
    cmu - CodeMeter Universal Support Tool.
    Version 7.60c of 2023-Aug-09 (Build 5625) for Linux/ARMHF 64-Bit
    Copyright (C) 2007-2023 by WIBU-SYSTEMS AG. All rights reserved.
    
    Result: 0 CmContainer(s) listed. (CodeMeter not running)
    

    Please consider that we intend to license a codesys ARM64 SL in a docker container.

     
    πŸ‘
    1

    Last edit: SuperJojo2002 2024-03-20
  • SuperJojo2002 - 2024-03-20

    I just want to highlight, that we intend to use the codesys runtime on an embedded device that has no possibilites to connect any dongle devices to. It is an edge IO-Link master with an 1.6GHz ARM computer running inside that has an embedded linux running and a Docker container engine:

    https://www.hilscher.com/de/produkte/edge-gateways-mit-container-management/edge-io-link-master

     

    Last edit: SuperJojo2002 2024-03-20
  • SuperJojo2002 - 2024-03-20

    If support for a containerized CODESYS runtime with a license isn't feasible, then I've considered an alternative approach:

    I've purchased and activated a "CODESYS Control Basic S" license on my Windows notebook, where I already have the Codemeter Control Center installed. Upon activation, I can see the CODESYS license as active on my notebook.

    Subsequently, I followed the instructions provided in this link (https://faq.codesys.com/display/CDSFAQ/How+to%3A+Setup+a+Wibu+Network+Server+Access+for+Licenses) to configure the Wibu runtime in the CODESYS container to access my external license server hosted on my notebook by editing the CODESYSControl_User.cfg file accordingly.

    However, it's worth noting that I'm still receiving a response from the Licensing Manager indicating that the runtime is persistently searching for a dongle instead of recognizing the soft container.

    So how can I get my runtime licensed now? Any ideas?

     
  • eschwellinger

    eschwellinger - 2024-03-20

    Currently the CODESYS Control Basic S license is not a network license but it should be, so I guess it doesn't work yet

     
  • SuperJojo2002 - 2024-03-21

    I recognized that I have to start the two services "/etc/init.d/codemeter" and "/etc/init.d/codemeter-webadmin" in the docker container as well.

    If I do so, then the command "cmu -x" returns

    root@sensoredge-field-netfield-produktmanagment:/# cmu -x
    cmu - CodeMeter Universal Support Tool.
    Version 7.60c of 2023-Aug-09 (Build 5625) for Linux/ARMHF 64-Bit
    Copyright (C) 2007-2023 by WIBU-SYSTEMS AG. All rights reserved.
    

    So this time there is no indication any more that "Codemeter is not running". But still we are getting the error when using the license manager in CODESYS development system.

     
  • SuperJojo2002 - 2024-03-21

    I updated the docker container runtime to version 4.11.0.0. and build the container with this "Dockerfile"

    FROM arm64v8/debian:11.6
    RUN apt-get update 
    RUN apt-get install -y wget sudo unzip libusb-1.0-0-dev procps
    ENV CDS_VERSION "4.11.0.0"
    ENV EDGE_VERSION "4.11.0.0"
    ENV URL "https://store-archive.codesys.com/ftp_download/3S/LinuxARM64/2302000039/$CDS_VERSION/CODESYS%20Control%20for%20Linux%20ARM64%20SL%20$CDS_VERSION.package"
    ENV EDGE_URL "https://store-archive.codesys.com/ftp_download/3S/EdgeGatewayLinux/000120/$EDGE_VERSION/CODESYS%20Edge%20Gateway%20for%20Linux%20$EDGE_VERSION.package"
    RUN wget --output-document=/tmp/codesys.package $URL && \
        unzip -p /tmp/codesys.package '*codemeter*.deb' > /tmp/codemeter.deb && dpkg -i /tmp/codemeter.deb && \
        unzip -p /tmp/codesys.package '*codesyscontrol*.deb' > /tmp/codesys.deb && dpkg -i /tmp/codesys.deb
    RUN wget --output-document=/tmp/edge.package $EDGE_URL && \
        unzip -p /tmp/edge.package '*arm64.deb' > /tmp/edge.deb && dpkg -i /tmp/edge.deb
    EXPOSE 11740 1217 11743
    ENTRYPOINT ["/bin/sh", "-c" , "/etc/init.d/codemeter start && /etc/init.d/codemeter-webadmin start && /etc/init.d/codesyscontrol start && /etc/init.d/codesysedge start  && tail -f /dev/null"]
    

    Now cmu -x" returns

    root@sensoredge-field-netfield-produktmanagment:/# cmu -x
    cmu - CodeMeter Universal Support Tool.
    Version 8.00 of 2023-Nov-28 (Build 5967) for Linux/ARMHF 64-Bit
    Copyright (C) 2007-2023 by WIBU-SYSTEMS AG. All rights reserved.
    

    But still CODESYS development system reports that it needs a dongle and when I click install that "value cannot be null. Parameter name: containerToLicenses"

    It seems that Codemeter is forced to look for a dongle instead of a CMsoftcontainer.

    Can you confirm that CODESYS licensing works also when CODESYS is installed in a Docker container?

     
  • eschwellinger

    eschwellinger - 2024-03-21

    will send out vplc preliminary version...!

     
  • kevinrn - 2024-03-21

    I'm facing a similar issue. @eschwellinger, can you also send me a preliminary version?

    Thank you in advance.

     

    Last edit: kevinrn 2024-03-21
  • joschi2804 - 2024-04-08

    Hi,
    I am facing the same issues. I've tried it with codesyscontrol version 4.10.0.0 (codemeter version 7.60.5625.503) and with version 4.11.0.0 (codemeter version 8.0.5967.500).

    @eschwellinger, can you send me also a preliminary version of it, please?

    Thanks in advance

     

    Last edit: joschi2804 2024-04-09
  • joschi2804 - 2024-04-11

    Hello,

    I've added some additional log output. Maybe this helps in figuring out the root cause. I've turned logging and verbose mode on for the CodeMeterLin application and I get the error, that some entry is not found.

     
  • rafaelbrito - 2024-05-22

    Hello,

    I'm having the same problem. I'm trying to license Codesys running in a Linux container, which I downloaded from the following link (https://hub.docker.com/r/hilschernetiotedge/codesys_control_sl_linux). The same error that you mentioned appears. Is there any solution?

     
  • eschwellinger

    eschwellinger - 2024-05-23

    we recommend to do it with the official virtual plc version..will send a version.

     
  • gennady - 2024-07-09

    Hello,
    I'm having the same problem. But I used HCFA PLC, the error message is same.

     
  • joschi2804 - 2024-07-10

    Hi,
    maybe this fixes your problem. At least this was our issue back then.
    We tried to run the codesys runtime environment on an embedded Linux system.

    The problem on our side was that we changed the WORKDIR directory in the /etc/init.d/codesyscontrol script to /home/user/codesys, but we forgot to copy all files (including the hidden files) from the initial WORKDIR (I am not sure but I guess the initial WORKDIR was /var/opt/codesys) to the new one.
    After copying those files and restarting codemeter and codesyscontrol, we were able to upload licenses.

    Hope this help

    BR
    Josef

     
  • fmbrew-rob - 2024-09-21

    Was there ever any resolution to this? I am using Virtual Control SL on a ProxMox setup, and I can't get the license installed. I get the same errors reported above.

     
  • eschwellinger

    eschwellinger - 2024-09-23

    you need a license server on the host or on any system in your environment.

     
  • fmbrew-rob - 2024-09-24

    I do have a license server installed. Can you point to a document or ANYTHING that shows how to configure this virtual control to properly do licensing?

     
  • alexgooi

    alexgooi - 2025-09-29

    Dear Forum

    I have the following config:
    Codesys_IDE 3.5.20
    Codesys_Virtual_Control 4.13
    Codesys_License_Server 4.13

    I know these are not the newest versions, but in my mind these should work.

    I have the same problem here. I have the license server installed on the host, and in the docker container(Codesys virtual control) I'm able to ping the license server. In the /conf/codesyscontrol/CODESYSControl_User.cfg I have added the following config:

    [CmpCodeMeter]
    EnableNetLicenses=1
    LicenseServer.1="ip address of the host"

    I have tried it via the wbm web-page. I can create new license containers over there, but still no luck.

    I also have tried to run the docker container with the -s "server_IP" command.
    I have searched for some tutorial's but I couldn't find it.

    If anyone has some clue or can give me a push in the right direction it would be very very welcome!

     

    Last edit: alexgooi 2025-09-29
  • alexgooi

    alexgooi - 2025-09-30

    Dear Eschwellinger,

    Thank you for the response.

    Does that mean that the license-manager inside the Codesys-IDE does not work with this setup anymore?
    Because when I use this I get the notification that there is no dongle attached to the device (see picture).

    And If I insert the license by the deploy tool, can I then redeploy the Codesys virtual control container, or does this erase the license completely?

     
  • eschwellinger

    eschwellinger - 2025-09-30

    yes and no ... if you run the license server on the host (to serve licenses to the docker instances / vplcs then there is no runtime which could check the licenses on the host.
    Therefore you need the CODESYS WBM to activate or check the licenes or you could use in CODESYS IDE the licensemanager ( not the one for the device licenses) but you have the the IP of the license server that he know where to search for the licenses ..tool options i guess to add it, will add a screenshot later.

     

    Last edit: eschwellinger 2025-10-01
  • alexgooi

    alexgooi - 2025-10-01

    Thank you for your quick response,

    I have updated to the 4.17.0 (Virtual control and the license server).

    Now I am able to see the softcontainer from the Codesys IDE.
    But when I want to activate the license I get the following message:
    Licensing info not available. The device does not support this service (See picture).

    I then tried to active it via the WBM service like you suggested.
    But when I try this is get an error (see picture for error).
    I also tried to put RTS- in front of the serial number, but when I try this I get an error that the serial number is not correct.

    I think I'm getting closer, but I'm not there yet.

     

    Last edit: alexgooi 2025-10-01
1 2 > >> (Page 1 of 2)

Log in to post a comment.