Trying to utilize the persistence manager, but system do not write to file and do not create the config file.
System is a Linux SL, version 4.13.0.0
Problems with persistence/config started when I had other problems to go online, I deleted the config file and the persistent files, but the system will not re-create them. I have tried to remove/re-install the "PersistenceManager"-module, create the folder-structure myself. And also reinstall the linux-runtime but its clearly not working. Any help appreciated.
Also. Every third (or so) attempt to login/compile is unsuccessful with the error prompt "one or more errors occurred", however there is no information available on what this error might be. If I remove the PersistenceManager-module, these problems are not present.
Thats what I did. The files existed originally, but when I had problems logging in as described I deleted those files (if they in some way had been corrupted causing my problems to login?). After that I have not managed to get the system to re-created these def-files. I manually created the folder structure (from CODESYS file browser) but this has not helped.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
..strange just switching of this device without graceful Linux OS shutdown?
Reset orgin on the device tree and a new download of the application will bring it up and running again but sure then the persistent data are for sure lost.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Back in november I paused this, but wanted to reattempt using the persistent manager, the behavior is still the same. Most "login attempts" s are stopped with the message "One or more errors occurred" but I have no idea what that error might be. The only clue is this message is presented while the lower left status box says "Generating code...: relocation pou".
For clarification. Build/Generate code is successful, no errors. Error appears when I try to download/login (physical or simulation) to a device.
I did manage to login (in simulation mode) at one point, but then the error message "PersistenceChannel: Config file not found!". And no persistence files were created.
I have done device-tree/reset-orgin also clean/clean all etc. Removed/re-inserted persistance manager. Behaviour is just the same. Removing Persistence Manage and everything is working OK.
Is there possibly more info somewhere about the "One or more errors occured"-message?
Trying to utilize the persistence manager, but system do not write to file and do not create the config file.
System is a Linux SL, version 4.13.0.0
Problems with persistence/config started when I had other problems to go online, I deleted the config file and the persistent files, but the system will not re-create them. I have tried to remove/re-install the "PersistenceManager"-module, create the folder-structure myself. And also reinstall the linux-runtime but its clearly not working. Any help appreciated.
Also. Every third (or so) attempt to login/compile is unsuccessful with the error prompt "one or more errors occurred", however there is no information available on what this error might be. If I remove the PersistenceManager-module, these problems are not present.
Last edit: pernockham 2024-11-01
I would check with the CODESYS file browser if these files exits on your system (PlcLogic directory)
Thats what I did. The files existed originally, but when I had problems logging in as described I deleted those files (if they in some way had been corrupted causing my problems to login?). After that I have not managed to get the system to re-created these def-files. I manually created the folder structure (from CODESYS file browser) but this has not helped.
..strange just switching of this device without graceful Linux OS shutdown?
Reset orgin on the device tree and a new download of the application will bring it up and running again but sure then the persistent data are for sure lost.
Back in november I paused this, but wanted to reattempt using the persistent manager, the behavior is still the same. Most "login attempts" s are stopped with the message "One or more errors occurred" but I have no idea what that error might be. The only clue is this message is presented while the lower left status box says "Generating code...: relocation pou".
For clarification. Build/Generate code is successful, no errors. Error appears when I try to download/login (physical or simulation) to a device.
I did manage to login (in simulation mode) at one point, but then the error message "PersistenceChannel: Config file not found!". And no persistence files were created.
I have done device-tree/reset-orgin also clean/clean all etc. Removed/re-inserted persistance manager. Behaviour is just the same. Removing Persistence Manage and everything is working OK.
Is there possibly more info somewhere about the "One or more errors occured"-message?
Last edit: pernockham 2025-03-20