Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Please make sure the PHP Redis extension is installed and enabled.

Saddam Hossain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 27, 2021
Step #1: Discovered Package: staudenmeir/laravel-upsert
Step #1: Discovered Package: tymon/jwt-auth
Step #1: Package manifest generated successfully.
Step #1: 65 packages you are using are looking for funding.
Step #1: Use the `composer fund` command to find out more!
Step #1: > chmod -R 755 bootstrap/cache
Step #1: > php artisan cache:clear
Step #1:
Step #1: In PhpRedisConnector.php line 77:
Step #1:
Step #1: Please make sure the PHP Redis extension is installed and enabled.
Step #1:
Step #1:
Step #1: Script php artisan cache:clear handling the post-install-cmd event returned with error code 1
Step #1: error building image: error building stage: waiting for process to exit: exit status 1
Finished Step #1
ERROR

Getting this error from last month but the same code was working before . I don't know why this error coming 

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 27, 2021

There are two things that could have happened here:

  • One of your developers has added something to your project that means it now requires the redis connector
  • Someone has removed the redis connector from your build environment or the instruction to install it during the build

Either way, the fix is to (re) install the connector.

Saddam Hossain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 29, 2021

1. We are using Google App Eng for our project

2. We did not change anything in the code repo

3.  in the project root directory we have a php.ini file to install the Redis extension

 

If we removed the `php artisan clear:cache` command from the composer.json file (

post-install-cmd"), the deployment is working without any issue. Also, after deployment Redis connector also worked properly.
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 29, 2021

Ok, so your build has been modified such that the dependency is now met again.  Well spotted!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events