Update from 5.8.4 to 6.0

I followed these steps
https://pimcore.com/docs/5.x/Development_Documentation/Installation_and_Upgrade/Upgrade_Notes/V5_to_V6.html

And next cleared composer cache and run composer update

I got response:

composer update           
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 4 installs, 4 updates, 0 removals
  - Updating twig/twig (v2.11.2 => v2.11.3): Downloading (100%)         
  - Installing symfony/polyfill-php73 (v1.11.0): Downloading (100%)         
  - Installing symfony/mime (v4.3.1): Downloading (100%)         
  - Installing symfony/http-client-contracts (v1.1.3): Downloading (100%)         
  - Installing symfony/http-client (v4.3.1): Downloading (100%)         
  - Updating sensiolabs/security-checker (v5.0.3 => v6.0.1): Downloading (100%)         
  - Updating sensio/distribution-bundle (v5.0.24 => v5.0.25): Downloading (100%)         
  - Updating symfony/swiftmailer-bundle (v3.2.7 => v3.2.8): Downloading (100%)         
Writing lock file
Generating optimized autoload files
Endroid Installer detected project type "all"
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class
> Pimcore\Composer::postUpdate
Method Pimcore\Composer::clearCache is not callable, can not call pimcore-scripts script
Method Pimcore\Composer::installAssets is not callable, can not call pimcore-scripts script
> Pimcore\Composer::executeMigrationsUp


                                                                                
 [OK] Pimcore data cache cleared successfully                                   
                                                                                

                                                               
                    Pimcore Core Migrations                    
                                                               

No migrations to execute.


                                                                                
 [OK] Pimcore data cache cleared successfully                                   
                                                                                

Method Pimcore\Composer::clearCache is not callable, can not call pimcore-scripts script
Method Pimcore\Composer::installAssets is not callable, can not call pimcore-scripts script

The Pimcore is not updated. What do I miss?

you also have to set the requirement for “pimcore/pimcore” to “^6.0.0” or “~6.0.0” to get 6.0. Currently your composer json has something like “^5.0” or “~5.0”.

You can also try doing this:

composer req pimcore/pimcore:^6.0

that will change the version constraint for you

1 Like

@dpfaffenbauer

Thanks! That’s obvious. I’m an idiot :slight_smile: