Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Cannot install Codesys Raspberry Pi Package 4.1.0

2021-05-19
2021-05-21
  • KKempeneers - 2021-05-19

    Hi,

    I am unable to install the Codesys Control for Raspberry Pi package in the package manager within Codesys engineering (64bit).
    After the package manager initializes i get a message window that says: "The referenced packages with the following ids were not found in a suitable version: Codesys.Edge Gateway for Linux"

    Thanks for any help,

    KKempeneers

     
  • RasPi-User - 2021-05-19

    me to. If i install the Gateway before, then the installation stops with this message

     
  • eschwellinger

    eschwellinger - 2021-05-19

    Hallo,
    yes, seems to be a bug,
    the workaround is:
    1. uninstall 4.0.1.0 Pi Package
    2. then install the Edge Gateway Linux
    3. then install Pi Package 4.1.0.0

    Regards
    Edwin

     

    Last edit: eschwellinger 2021-05-19
  • KKempeneers - 2021-05-20

    Hi Edwin, I just installed the edge gateway for linux and retried installing the CodesysControl for Raspberry Pi package 4.1.0.0 The installer now runs trough all the preinstallation messagewindows and finishes with "Please close all instances to continue the installation. But nothing is installed.

    Koen.

     
  • eschwellinger

    eschwellinger - 2021-05-20

    Hi Koen,
    if you quit CODESYS it will install - this is new to SP17 release..!
    BR
    Edwin

     
  • KKempeneers - 2021-05-20

    No it does not ... at least nothing shows up. I ll clean up my installation anf try again.

     
  • eschwellinger

    eschwellinger - 2021-05-20

    check if any instance of CODESYS or of the Package manager is still up and running in the taskmanager - and quit them via taskmanager

     

    Last edit: eschwellinger 2021-05-20
  • KKempeneers - 2021-05-20

    I did i did not find any instances running.

     
  • KKempeneers - 2021-05-20

    Okay I started a new installation on a clean computer ...
    Installation worked out after a number of reboots.

    Now when I try to logon to the device (RPi) i'm asked for an username and password with administrator rights

    What is wrong here?

     
  • eschwellinger

    eschwellinger - 2021-05-20

    with 3.5SP17 the forced UserManagement have been introduced.
    Means on first logon you need to add a user and credentials for login to the plc.
    Could be disbaled by a setting in the config file if needed.
    But recommended to have.

     
  • KKempeneers - 2021-05-21

    Mmm I can understand that it is recommended, but where do i set the username and password in the Pi? and How? Why not just login with the Pi credentials.

    Koen

     
  • eschwellinger

    eschwellinger - 2021-05-21

    this UserManagment is not related to the PI OS,
    it is just for CODESYS use.
    On first download/connect with CODESYS IDE you'll be asked to add them.

    Edwin

     
  • hermsen

    hermsen - 2021-05-21

    To elaborate on Edwin a bit,
    This setting is mandatory on first login / download in SP17 and onwards for every runtime.

    Just provide a username and password, peferably NOT the user credentials from the raspberry pi from security point of view but that is a whole other discussion.

    This setting can be disabled but my Devbox is down for maintenance so I cannot show it.

     
  • KKempeneers - 2021-05-21

    Hi all,

    I understand, but ... when i enter these credentials (say "admin" / "admin") i receive a popup saying the gateway is not properly configured (in Device view) while the scan just comes up with the Pi at its set IP, i can not go online at all.
    These security settings BTW, what is the point of providing them if they are affiliated with the PLC but have nothing to do with the Pi OS. Can somebody with a new Codesys Engineering install not just connect to the controller?

    Kind'a puzzled here, but i would really just like the use my (your) teaching platform the way I always used it.

    Koen.

     
  • eschwellinger

    eschwellinger - 2021-05-21

    this makes sense due even login from Visu/OIPUCA etc has then credentials to
    and even possible would be to enbale encrypted communication between CODESYS and plc.

    If needed you could disable this by:

    Please change the *cfg file and add the following line:
    in the /etc/CODESYSControl_User.cfg

    [CmpUserMgr]
    SECURITY.UserMgmtEnforce=NO

     

Log in to post a comment.