<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Adding PLC to the List view resolves in Unknown Error</title><link href="https://forge.codesys.com/forge/talk/automation_server/thread/3eaa22d018/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/automation_server/thread/3eaa22d018/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/automation_server/thread/3eaa22d018/</id><updated>2025-02-24T11:03:10.770000Z</updated><subtitle>Recent posts to Adding PLC to the List view resolves in Unknown Error</subtitle><entry><title>Adding PLC to the List view resolves in Unknown Error</title><link href="https://forge.codesys.com/forge/talk/automation_server/thread/3eaa22d018/?limit=25#c9bf" rel="alternate"/><published>2025-02-24T11:03:10.770000Z</published><updated>2025-02-24T11:03:10.770000Z</updated><author><name>janber0206</name><uri>https://forge.codesys.com/u/janber0206/</uri></author><id>https://forge.codesys.comfd5f5473e9637cf5ca9543d757abea54374fd25a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Problem Solved&lt;/strong&gt;&lt;br/&gt;
The Problem was within the Usermanagment.&lt;br/&gt;
There should be 6 files for the Usermanagment in /var/opt/codesys/&lt;/p&gt;
&lt;p&gt;.UserMgmtDB.csv&lt;/p&gt;
&lt;p&gt;.UserMgmRightstDB.csv&lt;/p&gt;
&lt;p&gt;.GroupDatabase.csv   &lt;/p&gt;
&lt;p&gt;.UserDatabase.csv_&lt;/p&gt;
&lt;p&gt;.GroupDatabase.csv_ &lt;/p&gt;
&lt;p&gt;.UserDatabase.csv&lt;/p&gt;
&lt;p&gt;The file .UserMgmtDB.csv was missing.&lt;br/&gt;
I moved the other files in a savefolder.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Full Step by step instructions&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;stop the runtime with&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;sudo /etc/init.d/codesyscontrol stop&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;rename the following files on the PI: (or save them and then delete them) in this directory: /var/opt/codesys/&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;.UserMgmtDB.csv&lt;/p&gt;
&lt;p&gt;.UserMgmRightstDB.csv&lt;/p&gt;
&lt;p&gt;.GroupDatabase.csv   &lt;/p&gt;
&lt;p&gt;.UserDatabase.csv_&lt;/p&gt;
&lt;p&gt;.GroupDatabase.csv_ &lt;/p&gt;
&lt;p&gt;.UserDatabase.csv&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;then restart the Runtime:&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;sudo /etc/init.d/codesyscontrol start&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;now reconnect the PLC via the Automation Server - here you will be asked to create a new CODESYS user password,&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The user management files deleted above are then created again (in /var/opt/codesys/ on the PI).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Adding PLC to the List view resolves in Unknown Error</title><link href="https://forge.codesys.com/forge/talk/automation_server/thread/3eaa22d018/?limit=25#136d" rel="alternate"/><published>2025-02-21T11:07:23.461000Z</published><updated>2025-02-21T11:07:23.461000Z</updated><author><name>janber0206</name><uri>https://forge.codesys.com/u/janber0206/</uri></author><id>https://forge.codesys.comf9778f63426574ef0d5a56a55a919335409b8e4e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I try to add one of my PLC from the Gateways to the List view.&lt;br/&gt;
The Gateway is shown me as online, also i have other remote tools to verify the Internet connection is working.&lt;br/&gt;
I do the Network Scan and the Gateway shows up, i select it and click on "Add to Server".&lt;br/&gt;
Then I type in Username and password and click on confirm. There it shows me the "Unkown Error", see screenshot.&lt;br/&gt;
If I use the wrong credentials it gives me the error message for this.&lt;br/&gt;
Other Devices work fine it's just this one.&lt;br/&gt;
 Greetings&lt;br/&gt;
 Jannis&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>