pim-community-dev icon indicating copy to clipboard operation
pim-community-dev copied to clipboard

Error in ArrayNode.php when update 5.0.96 to 6.x

Open Philippe-M opened this issue 2 years ago • 2 comments

Hello, I am trying to update our 5.0.96 CE instance to the latest version of branch 6 by following the procedure indicated on this page: SITE

System :

  • Debian 11.3 up to date
  • PHP 8.0.19
  • MySQL 8

When I run the bin/console pim:installer:check-requirements command I get the error:

In ArrayNode.php line 322:
                                                                                                                                                                                                              
  Unrecognized option "directory" under "oneup_flysystem.adapters.catalog_storage_adapter.local". Available options are "lazy", "linkHandling", "location", "mimeTypeDetector", "permissions", "writeFlags". 

I can't even run bin/console anymore to get the list of available commands. I get the same error.

Before launching the update, the process of placing the bin/console command works perfectly.

Philippe-M avatar May 25 '22 13:05 Philippe-M

Same here :).

magnusjjj avatar Jun 28 '22 17:06 magnusjjj

I manually edited config/packages/prod/oneup_flysystem.yml and changed directory to location, that silenced this error.

magnusjjj avatar Jun 29 '22 09:06 magnusjjj

Hello, it's ok now.

Thank's @magnusjjj

Philippe-M avatar Aug 22 '22 12:08 Philippe-M