cancel
Showing results for 
Search instead for 
Did you mean: 

2.1.7 Upgrade failed, Producing braintree error and CLI commands no longer work

2.1.7 Upgrade failed, Producing braintree error and CLI commands no longer work

We just ran the upgrade to 2.1.7 through the Web Setup Wizard within Magento during which we recieved the error:

 

[2017-06-22 20:39:41] update-cron.INFO: Composer update completed successfully [] []
[2017-06-22 20:39:41] update-cron.INFO: Job "update {"components":[{"name":"magento/product-community-edition","version":"2.1.7"}]}" has successfully completed [] []
[2017-06-22 23:34:01] update-cron.ERROR: Cron readiness check failure! Found non-writable paths: 	/var/www/html/dev/tests/functional/tests/app/Magento/Braintree/Test/Page/adminhtml [] []

Now, Magento seems to be down, serving a broken storefront (or part of one), and from the CLI, any of the commands I attempt to use (ex: bin/magento setup:upgrade) all return a "There are no commands defined in the "commandName" namespace.

 

 

3 REPLIES

Re: 2.1.7 Upgrade failed, Producing braintree error and CLI commands no longer work

@codestr, Why are you upgrade using Setup  Wizard, You can just upgrade your old to latest version in magento 2 using composer.json file. 

Its easy way to upgrade from older to newer version.

 

Just edit composer.json file from root replace old version with new version at below place,

Just update line, "version": "2.1.7" from your old version,

update second line,         "magento/product-community-edition": "2.1.7" from your old version.

 

Now open command panel,

Run command,

 

composer update

Process is started and after finish process your version will upgrade.

 

Just clear cache and reindex.

 

If issue solved, click Kudos and Accept as Solution.

If Issue Solved, Click Kudos/Accept As solutions.

Re: 2.1.7 Upgrade failed, Producing braintree error and CLI commands no longer work

@Rakesh Jesadiya Composer will run the update if I initiate it manually the way you suggest, but I'm still left with the same result as running the update via the web wizard.

 

I've cleared the var/cache, var/di, var/generation and var/page_cache folders as suggested in other topics I've been looking into, but nothing has helped.

 

When I run

bin/magento list

I am receiving the following error :Screen Shot 2017-06-23 at 2.56.02 AM.png

 

Re: 2.1.7 Upgrade failed, Producing braintree error and CLI commands no longer work

@Rakesh Jesadiya Also seeing this in the exception log and attempting to hit our url is resulting in a 500 error now after running the updates via composer as suggested

 

Screen Shot 2017-06-23 at 2.58.07 AM.png