Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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.

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.

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
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

221 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you