Skip to main content

Installing gRPC in Module Installers (PHP PECL) Causing Infinite Hang

Answered

Comments

13 comments

  • cPRex Jurassic Moderator

    Hey there! I did confirm this issue on my end and created case CPANEL-45901 for our developers to investigate this.  If I hear anything on my end, I'll be sure to reply!

    1
  • Michael Stace

    Thanks for that! 
    My production is stopped until gRPC gets installed.

    0
  • cPRex Jurassic Moderator

    Do you have a way to install that tool manually another way to get things working?  While me making a case is a great first step, and required to get the ball rolling with the developers, there's no telling how long it could be before the issue is resolved. 

    0
  • Michael Stace

    I have not found any other way to install gRPC without PECL. 
    All the other install programs, like Brew, etc. don't have gPRC.
    Also, this new AlmaLinux version of cPanel has some issues (that the web host also found and is waiting for cPanel to fix).

    If you know of any other way to install gPRC on this AlmaLinux, that would be most appreciated!

    0
  • cPRex Jurassic Moderator

    I also don't have an alternative way to install this at this time - I'll let you know if I hear anything on my end!

    0
  • Shane P

    Following up to see if this has a solution?

    0
  • Michael Stace

    No. cPanel has not got back to me or my server host about this.

    0
  • cPRex Jurassic Moderator

    I don't have any updates on this just yet, but I know it's on the developers list of items to review next triage!  If I hear an update I'll be sure to post.

    0
  • cPRex Jurassic Moderator

    Update - it turns out...this is actually the intended behavior.  A web search shows that the gRPC PECL installation can take a long time - anywhere from 40 minutes to several hours, and watching the progress on the command line shows that it really is pulling in different files to perform the work and not just looping.  The installer just needs time and a good chunk of disk space to complete normally.

    If the installation is causing your server to hang as you mentioned in your original post, it could be filling up a disk or creating too many temporary files. 

    It would also likely be better to try the work on the command line so you don't have to leave a browser open and risk terminating the session accidentally.

    0
  • Michael Stace

    That seems excessive and not at all typical with cPanel updates and installs.
    If this is correct, then cPanel needs to publish a bulletin stating this.

    Why isn't there a preamble in the update process that INFORMS the user of the time required and how much disk space is required?

    0
  • cPRex Jurassic Moderator

    That's because this particular process isn't related to cPanel at all, and the slowness happens on non-cPanel machines as well.

    I did have the team write this article this morning to help clarify this issue: https://support.cpanel.net/hc/en-us/articles/29035193872023-Trying-to-install-gRPC-via-PHP-PECL-leads-to-the-installation-process-never-finishing

    0
  • Michael Stace

    Great! That is very helpful.
    Thank you.

    0
  • cPRex Jurassic Moderator

    You're very welcome!

    0

Please sign in to leave a comment.