Issue with OPCUA Settings Not Applying via CLI on WAGO 750-8212 PFC200 G2

Hello everyone,

I’m encountering an issue when trying to load a configuration file using the CLI that contains various settings. Everything seems to work correctly, except for the OPCUA settings.

For example, if I save a configuration file with:

/etc/config-tools ./settings_backup save /tmp/savedConfig.config

Then, I modify the file’s content, such as the hostname or IP address, and restore it with:

/etc/config-tools ./settings_backup restore /tmp/savedConfig.config

The changes are applied successfully, except for the settings within the JSON string config_opcua. These settings don’t get updated.

The same issue occurs when I try to use:

/etc/config-tools/backup-restore ./opcuaserver-backup --save /tmp/myopcua.config

I then change the ctrlConfigurationName variable and run:

/etc/config-tools/backup-restore ./opcuaserver-backup --restore /tmp/myopcua.config

But the changes are not applied.

However, if I use:

/etc/config-tools/config-opcua --set="ctrlConfigurationName":"MY\ NAME\ WITH\ SPACES"

The OPCUA name is set correctly.

When I run:

/etc/config-tools ./config-opcua -G

I get the following output:

{"state":"enable","port":4840,"logLevel":"error","unlimitedAccess":"enable","trustAllClients":"enable","applicationUriCheck":"enable","errorCertificateTime":"disable","certificateIssuerTimeInvalid":"disable","certificateRevocationUnknown":"disable","certificateIssuerRevocationUnknown":"disable","endpointUrlInterface":"hostname","securityPolicyNone":"enable","securityPolicyBasic128_Rsa15":"enable","securityPolicyBasic256_Sha256":"enable","serverVersion":"1.3.2","serverLicense":"–","informationModel":"disable","informationModelDesc":"","ctrlConfigurationName":"MY NAME WITH SPACES"}

If I then change the name and use the -S option like this:

/etc/config-tools ./config-opcua -S {"state":"enable","port":4840,"logLevel":"error","unlimitedAccess":"enable","trustAllClients":"enable","applicationUriCheck":"enable","errorCertificateTime":"disable","certificateIssuerTimeInvalid":"disable","certificateRevocationUnknown":"disable","certificateIssuerRevocationUnknown":"disable","endpointUrlInterface":"hostname","securityPolicyNone":"enable","securityPolicyBasic128_Rsa15":"enable","securityPolicyBasic256_Sha256":"enable","serverVersion":"1.3.2","serverLicense":"–","informationModel":"disable","informationModelDesc":"","ctrlConfigurationName":"newNAME"}

The name is not updated. Is there a bug in the config-opcua script, or could it be related to another setting in the JSON string?

I’m using a WAGO 750-8212 PFC200 G2 2ETH RS XTR with firmware version 03.10.10(22).

Thanks in advance for any help or insights!