1. Daniel PLCnext Store Team
  2. PLCnext Store
  3. Monday, 22 February 2021
In the course of an update to firmware 21.0.X an error occurs in PLCnext Control. This error prevents the activation of licenses on the PLCnext Control.

Error identification 1:
In PLCnext Store a license activation is not executed correctly.
The activation process showes "WAITING_FOR_DEVICE" longer than 1 minute.
In the Store device view, "processing" is permanently displayed at the license. The license is not transferred to the device.

Error identification 2:
Use your browser and open the WBM of the device by entering the IP address. The following error message appears:
https://www.plcnext-community.net/images/users/daniel_buschatzky/PLCnextStore_WBM_Fehler_Queryfailed3.png
Error identification 3:
Use your browser and open the WBM of the device by entering the IP address. In the WBM, navigate to the Administration -> License Management location. 
Here the situation is as follows:
https://www.plcnext-community.net/images/users/daniel_buschatzky/PLCnextStore_WBM_Fehler_Queryfailed2.png
 
Cause of "Query failed" situation : The write permissions for the folder "Config" are not set correctly.

You can fix this error as follows:

Recommended procedure:
- Perform a type 1 reset. It is best to use the PLCnext Engineer for this. Afterwards a license activation is possible again. License activations already scheduled in the store will finish.

Hint:
The IP address is then again default 192.168.1.10 
Your project is deleted.
The store service is deactivated
Your regtoken must be renewed. ( Proficloud.NET -> My Appliances -> select correct UUID -> Press "Reset Regtoken" )

Procedure 1 without a type 1 reset (Not recommended) :
- Creating the root user with the comand with Putty >> sudo passwd root
- delete the User-config folder with Putty. Use root rights (>> su -) >> rm /media/rfs/rw/upperdir/opt/plcnext/config/ -r
- Exit root User and Lock the root User >> sudo passwd -l root
- Reboot the device. >> reboot


Procedure 2 without a type 1 reset (Not recommended) :
- Creating the root user with the comand with Putty >> sudo passwd root
- Change access permissions for SSH
- Option 1: Change the line "#PermitRootLogin yes" to "PermitRootLogin yes" in the file /etc/ssh/sshd_config
- Option 2: Use the following command alternatively to the file change >> sed -i "/#PermitRootLogin/s/^#//" /etc/ssh/sshd_config && /etc/init.d/sshd restart
- Use winSCP to copy all elements from "/media/rfs/ro/opt/plcnext/config" to "/opt/plcnext/config".
- Exit root User and Lock the root User >> sudo passwd -l root
- Reboot the device.
<p>Phoenix Contact Electronics Headquarters - PLCnext Store Team</p>


There are no replies made for this post yet.
However, you are not allowed to reply to this post.