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.
Tool -> License Manager
Selected Device and Next...
Selected Soft container and Next...
Select the device and Ok..
And then I always show a message "Licensing info not available. There is no dongle attached to the device."
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?
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.
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:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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?
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Could you let me know what I've missed or what I've got wrong?
more posts ...
check on cli on your device
'cmu -x'
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"]
I checked it using the very same docker container version like colleague moon and the command returned
Please consider that we intend to license a codesys ARM64 SL in a docker container.
Last edit: 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
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?
Currently the CODESYS Control Basic S license is not a network license but it should be, so I guess it doesn't work yet
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
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.
I updated the docker container runtime to version 4.11.0.0. and build the container with this "Dockerfile"
Now cmu -x" returns
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?
will send out vplc preliminary version...!
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
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
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.
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?
we recommend to do it with the official virtual plc version..will send a version.
Hello,
I'm having the same problem. But I used HCFA PLC, the error message is same.
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
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.
you need a license server on the host or on any system in your environment.
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?