# Upgrading to 4.0.0-beta3 from release 3.8.x

**URL:** <https://discourse.cakephp.org/t/upgrading-to-4-0-0-beta3-from-release-3-8-x/6731>\
**Category:** Need Help\
**Created:** [October 9, 2019, 7:48pm UTC](https://discourse.cakephp.org/t/upgrading-to-4-0-0-beta3-from-release-3-8-x/6731 "2019-10-09T19:48:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![robertkendrick](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@robertkendrick](https://discourse.cakephp.org/u/robertkendrick)\
**Post date:** [October 9, 2019, 7:48pm UTC](https://discourse.cakephp.org/t/upgrading-to-4-0-0-beta3-from-release-3-8-x/6731/1 "2019-10-09T19:48:37Z")

</div>

Has anyone manged to upgrade a 3.8.x application to 4.0.0-beta3 using the migration guide in the release 4.0 docs.  
I get the following errors on windows10 running composer from the GIT bash shell.

* * *

$ composer require --update-with-dependencies “cakephp/cakephp: 4.0.0-beta3”  
./composer.json has been updated  
Loading composer repositories with package information  
Updating dependencies (including require-dev)  
Your requirements could not be resolved to an installable set of packages.

Problem 1  
- cakephp/bake 1.11.2 requires cakephp/cakephp ^3.8.0 -\> satisfiable by cakephp/cakephp[3.8.0, 3.8.0-RC1, 3.8.0-RC2, 3.8.0-RC3, 3.8.0-beta1, 3.8.1, 3.8.2, 3.8.3, 3.8.4, 3.8.5] but these conflict with your requirements or minimum-stability.  
- cakephp/bake 1.11.2 requires cakephp/cakephp ^3.8.0 -\> satisfiable by cakephp/cakephp[3.8.0, 3.8.0-RC1, 3.8.0-RC2, 3.8.0-RC3, 3.8.0-beta1, 3.8.1, 3.8.2, 3.8.3, 3.8.4, 3.8.5] but these conflict with your requirements or minimum-stability.  
- cakephp/bake 1.11.2 requires cakephp/cakephp ^3.8.0 -\> satisfiable by cakephp/cakephp[3.8.0, 3.8.0-RC1, 3.8.0-RC2, 3.8.0-RC3, 3.8.0-beta1, 3.8.1, 3.8.2, 3.8.3, 3.8.4, 3.8.5] but these conflict with your requirements or minimum-stability.  
- Installation request for cakephp/bake (locked at 1.11.2, required as ^1.9) -\> satisfiable by cakephp/bake[1.11.2].

## Installation failed, reverting ./composer.json to its original content.

## Seems I have the wrong bake version installed. But when I try to install bake 2.0 I get:

$ composer require --dev cakephp/bake:2.0.\*  
[InvalidArgumentException]  
Could not find package cakephp/bake in a version matching 2.0.\*

require [–dev] [–prefer-source] [–prefer-dist] [–no-progress] [–no-suggest] [–no-update] [–no-scripts] [–update-no-dev] [–update-with-dependencies] [–update-with-all-dependencies] [–ignore-platform-reqs] [–prefer-stable] [–prefer-lowest] [–sort-packages] [-o|–optimize-autoloader] [-a|–classmap-authoritative] [–apcu-autoloader] [–] []…

How has your upgrade gone?

---

<div class="post-metadata">

**Author:** ![jimgwhit](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/jimgwhit/32/378_2.png) [@jimgwhit](https://discourse.cakephp.org/u/jimgwhit)\
**Post date:** [October 17, 2019, 10:14pm UTC](https://discourse.cakephp.org/t/upgrading-to-4-0-0-beta3-from-release-3-8-x/6731/2 "2019-10-17T22:14:26Z")

</div>

For me it was easier to just do a new fresh install, then migrate code over. It just takes a little time.

---

<div class="post-metadata">

**Author:** ![coreytaylor](https://avatars.discourse-cdn.com/v4/letter/c/87869e/32.png) [@coreytaylor](https://discourse.cakephp.org/u/coreytaylor)\
**Post date:** [October 29, 2019, 2:03am UTC](https://discourse.cakephp.org/t/upgrading-to-4-0-0-beta3-from-release-3-8-x/6731/3 "2019-10-29T02:03:38Z")

</div>

I believe you need to install the 4.x-dev version as there isn’t a matching 4.0.0-beta release.
