Pipelines failing for a laravel repo, once successfully ran

I have a laravel repo and it's pipelines used to run successfully but at one point started failing and are now failing everytime since. When I run the pipelines, it gets to the  ```composer install``` section and everything goes fine until the end where I get this:

```phpunit/phpunit-mock-objects suggests installing ext-soap ```(*)phpunit/phpunit suggests installing phpunit/php-invoker ```(~1.1)phpspec/phpspec suggests installing phpspec/nyan-```formatters (~1.0 – Adds Nyan formatters)Writing lock ```fileGenerating autoload files> php artisan clear-compiled

``` [PDOException] could not find driver Script php artisan clear-```compiled handling the post-update-cmd event returned with error ```code 1

 

I've checked config.php and default connection there is mysql, also in the .env file my DB2_HOST has the correct IP address. 

 

Could this be on the bitbucket side?

1 answer

0 votes

Hey @hu,

I'm not entirely sure what's happening based upon your description, my first guess would be that a system package was updated or that the docker image was changed.

If you're still experiencing issues, please reach out to us via https://getsupport.atlassian.com

 

thanks,

Seb

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

673 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot