You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sometimes vplc start before local codemter service #4
Hello @Leeable ,
thanks for the info I haven´t run into those issues yet on my hardware.
You are right in some circumstances you might want to add CodeMeter as a condition.
Did you also test just using the default SystemD solution for service dependencies?
e.g.:
This is however dependent on having CodeMeter running on the same installation at all.
That is not always the case, sometimes an external CodeMeter instance is used instead.
Maybe we can achieve a general solution instead or I will add another service template file to choose from during installation. (or maybe detect during installation if CodeMeter is installed on the host and decide depending on that)
# If CodeMeter exists, wait for it to become active.ExecCondition=/bin/bash -c ' if systemctl list-unit-files | grep -q codemeter.service; then echo " CodeMeter service exists, waiting for it to be active..." while ! systemctl is-active --quiet codemeter.service; do sleep 1; done else echo "CodeMeter service does not exist, continuing without waiting." fi'
@OWarneke Hi, yes, I have encountered this situation, it happens about 3 times out of 20 or so. When this situation occurs, there is no license being used on codeMeter, I need to restart the container or use systemctl restart pclnext again.
Did you also test just using the default SystemD solution for service dependencies?
e.g.:
[Unit]
Requires=codemeter.service
After=codemeter.service
Nope, I decided not to use this method because it is not widely used. If I do not have CodeMeter installed on the host machine.
Activity
OWarneke commentedon Aug 25, 2025
Hello @Leeable ,
thanks for the info I haven´t run into those issues yet on my hardware.
You are right in some circumstances you might want to add CodeMeter as a condition.
Did you also test just using the default SystemD solution for service dependencies?
e.g.:
This is however dependent on having CodeMeter running on the same installation at all.
That is not always the case, sometimes an external CodeMeter instance is used instead.
Maybe we can achieve a general solution instead or I will add another service template file to choose from during installation. (or maybe detect during installation if CodeMeter is installed on the host and decide depending on that)
Leeable commentedon Aug 26, 2025
@OWarneke Hi, yes, I have encountered this situation, it happens about 3 times out of 20 or so. When this situation occurs, there is no license being used on codeMeter, I need to restart the container or use
systemctl restart pclnextagain.Nope, I decided not to use this method because it is not widely used. If I do not have CodeMeter installed on the host machine.
fix #4 check codemeter service if it exists locally.