Announcement

Collapse
No announcement yet.

Problem with PHP-Selector later of update.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with PHP-Selector later of update.

    Hi !

    I'm working how to sys admin of one server with cpanel and cloudlinux, i have a little of experience management this servers however later of apply some updates the php selector shows this message:

    The received data is wrong. Contact support for resolution. Traceback (most recent call last):
    File "/usr/share/l.v.e-manager/utils/cloudlinux-cli-user.py", line 16, in
    cloudlinux_cli.main()
    File "/usr/share/l.v.e-manager/utils/libcloudlinux.py", line 187, in main
    endpoint()
    File "/usr/share/l.v.e-manager/utils/libcloudlinux.py", line 494, in cl_selector
    self.check_php_selector_user_availablility()
    File "/usr/share/l.v.e-manager/utils/libcloudlinux.py", line 508, in check_php_selector_user_availablility
    import cagefsctl
    File "/usr/share/cagefs/cagefsctl.py", line 73, in
    import cagefs_without_lve_lib
    File "/usr/share/cagefs/cagefs_without_lve_lib.py", line 47, in
    sentry_client = init_sentry_client(
    ^^^^^^^^^^^^^^^^^^^
    File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/clsentry/__init__.py", line 29, in init_sentry_client
    sentry = UserlandClient(dsn, release=release)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/clsentry/client.py", line 41, in __init__
    tags=self._get_user_tags(),
    ^^^^^^^^^^^^^^^^^^^^^
    File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/clsentry/client.py", line 75, in _get_user_tags
    'Cloudlinux edition': get_cl_edition_readable(),
    ^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/clcommon/lib/cledition.py", line 250, in get_cl_edition_readable
    with open(CL_EDITION_FILE_FOR_USERS, 'r') as f:
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    FileNotFoundError: [Errno 2] No such file or directory: '/opt/cloudlinux/cl_edition'​
    I tried solve this problem reinstalling the php group, but this problem cointinue.

    Could someone help me to solve it ?

    Thanks =)

  • #2
    Hello,

    I have the same problem. Did you find a solution?

    Comment


    • #3
      Hi,


      Could you please clarify what CL License you are using? Please show the output of:

      Code:
      cldetect --detect-edition

      Comment


      • #4
        Code:
        [root@ares alt]# cldetect --detect-edition
        CloudLinux OS Shared Pro

        The command only shows CloudLinux OS Shared Pro

        Comment


        • #5
          Okay, so you have a right license for this server and it can detect it properly. Since this issue was never reported to our devs before let's just create this file and you will reopen this thread if it repeats.

          Please do:

          Code:
          echo "CloudLinux OS Shared Pro" >> /opt/cloudlinux/cl_edition
          NOTE for others: This is not a solution, and if you are facing the same issue it's better to create support ticket for us so we can understand the value and investigate in details.

          Comment


          • #6
            Perfect !!! Now works fine ! Thanks for your help !! =)

            Comment

            Working...
            X