Installing gRPC in Module Installers (PHP PECL) Causing Infinite Hang
AnsweredcPanel v122.0.15
AlmaLinux v9.4.0 STANDARD kvm
PHP 8.3
Trying to install gRPC in the Module Installers (PHP PECL) is causing the server to hang infinitely. The installation process never ends; it keeps looping.
Software Gentle or Hard reboot does not work.
SSL login does not work.
The only solution is to have the server physically turned off and back on again.
THIS IS REPEATEABLE.
gRPC is required for Google Firestore | Firebase database development.
Strongly suggest that cPanel ship servers with gRPC already installed.
-
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 -
Thanks for that!
My production is stopped until gRPC gets installed.0 -
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 -
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 -
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 -
Following up to see if this has a solution?
0 -
No. cPanel has not got back to me or my server host about this.
0 -
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 -
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 -
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 -
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 -
Great! That is very helpful.
Thank you.0 -
You're very welcome!
0
Please sign in to leave a comment.
Comments
13 comments