Persistence Manager: Config File not found?

pernockham
2024-10-31
2025-03-19
  • pernockham - 2024-10-31

    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.

     
  • pernockham - 2024-10-31

    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
  • eschwellinger

    eschwellinger - 2024-11-02

    I would check with the CODESYS file browser if these files exits on your system (PlcLogic directory)

     
  • pernockham - 2024-11-02

    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.

     
  • eschwellinger

    eschwellinger - 2024-11-02

    ..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.

     
  • pernockham - 2025-03-19

    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

Log in to post a comment.