Hello,
I try to add one of my PLC from the Gateways to the List view.
The Gateway is shown me as online, also i have other remote tools to verify the Internet connection is working.
I do the Network Scan and the Gateway shows up, i select it and click on "Add to Server".
Then I type in Username and password and click on confirm. There it shows me the "Unkown Error", see screenshot.
If I use the wrong credentials it gives me the error message for this.
Other Devices work fine it's just this one.
Greetings
Jannis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I try to add one of my PLC from the Gateways to the List view.
The Gateway is shown me as online, also i have other remote tools to verify the Internet connection is working.
I do the Network Scan and the Gateway shows up, i select it and click on "Add to Server".
Then I type in Username and password and click on confirm. There it shows me the "Unkown Error", see screenshot.
If I use the wrong credentials it gives me the error message for this.
Other Devices work fine it's just this one.
Greetings
Jannis
Problem Solved
The Problem was within the Usermanagment.
There should be 6 files for the Usermanagment in /var/opt/codesys/
.UserMgmtDB.csv
.UserMgmRightstDB.csv
.GroupDatabase.csv
.UserDatabase.csv_
.GroupDatabase.csv_
.UserDatabase.csv
The file .UserMgmtDB.csv was missing.
I moved the other files in a savefolder.
Full Step by step instructions
sudo /etc/init.d/codesyscontrol stop
.UserMgmtDB.csv
.UserMgmRightstDB.csv
.GroupDatabase.csv
.UserDatabase.csv_
.GroupDatabase.csv_
.UserDatabase.csv
sudo /etc/init.d/codesyscontrol start
The user management files deleted above are then created again (in /var/opt/codesys/ on the PI).