# How to upgrade to latest DSP version

**URL:** <https://community.dreamfactory.com/t/how-to-upgrade-to-latest-dsp-version/1056>\
**Category:** GitHub Installers\
**Created:** [April 30, 2015, 1:14pm UTC](https://community.dreamfactory.com/t/how-to-upgrade-to-latest-dsp-version/1056 "2015-04-30T13:14:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [April 30, 2015, 1:14pm UTC](https://community.dreamfactory.com/t/how-to-upgrade-to-latest-dsp-version/1056/1 "2015-04-30T13:14:25Z")

</div>

Continuing the discussion from [E-Mail asking for authentification](https://community.dreamfactory.com/t/e-mail-asking-for-authentification/943/7):

> [@E-Mail asking for authentification](https://community.dreamfactory.com/t/e-mail-asking-for-authentification/943/7):
>
> Hello,
> 
> I want to see how I can’t update to the latest code. I’m quite new to this thanks!

Please see [the Product Upgrades page from our documentation here](https://github.com/dreamfactorysoftware/dsp-core/wiki/Product-Upgrades). Reply to this thread with any difficulties you encounter, if any.

---

<div class="post-metadata">

**Author:** ![Rusher](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@Rusher](https://community.dreamfactory.com/u/Rusher)\
**Post date:** [April 30, 2015, 1:40pm UTC](https://community.dreamfactory.com/t/how-to-upgrade-to-latest-dsp-version/1056/2 "2015-04-30T13:40:53Z")

</div>

Hello Jeffrey,

I have the exact same email authentication error this thread amend posted. I currently used bitnami console manage EC2 at AWS service. I tried to hit the update button and nothing really happens. I was wondering if there is any way to upgrade to the new changes so my email service can work, thanks!

Ivan

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [April 30, 2015, 1:52pm UTC](https://community.dreamfactory.com/t/how-to-upgrade-to-latest-dsp-version/1056/3 "2015-04-30T13:52:18Z")

</div>

I am not aware of an “update button.” Have you followed the instructions on [our Product Upgrades documentation page](https://github.com/dreamfactorysoftware/dsp-core/wiki/Product-Upgrades)?

---

<div class="post-metadata">

**Author:** ![Rusher](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@Rusher](https://community.dreamfactory.com/u/Rusher)\
**Post date:** [May 2, 2015, 12:18am UTC](https://community.dreamfactory.com/t/how-to-upgrade-to-latest-dsp-version/1056/4 "2015-05-02T00:18:17Z")

</div>

Hell Jeffrey,

The update button is what shown under Config -\> System info

[This image is no longer available]

Also the email response should be similar to the original author was facing

[This image is no longer available]

---

<div class="post-metadata">

**Author:** ![Rusher](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@Rusher](https://community.dreamfactory.com/u/Rusher)\
**Post date:** [May 2, 2015, 8:29pm UTC](https://community.dreamfactory.com/t/how-to-upgrade-to-latest-dsp-version/1056/5 "2015-05-02T20:29:54Z")

</div>

Hello I have tried to apply the following commands from [https://github.com/dreamfactorysoftware/dsp-core/wiki/Product-Upgrades](https://github.com/dreamfactorysoftware/dsp-core/wiki/Product-Upgrades)

# self-update is optional, try it if you get an error without it

…/…/…/php/bin/php …/…/…/php/bin/composer.phar self-update  
…/…/…/php/bin/php …/…/…/php/bin/composer.phar update --no-dev  
…/…/…/ctlscript.sh restart

based on this screenshot… what action should i take?

[This image is no longer available]

Also as I couldn’t get the follow command to work…

git stash

“/opt/bitnami/apps/dreamfactory/htdocs# git stash  
/opt/bitnami/git/libexec/git-core//git-stash: 186: /opt/bitnami/git/libexec/git-core//git-stash: cannot create /opt/bitnami/apps/dreamfactory/htdocs/.git/logs/refs/stash: Directory nonexistent”

git checkout master

“/opt/bitnami/apps/dreamfactory/htdocs# git checkout mastererror: pathspec ‘master’ did not match any file(s) known to git.”

git pull origin master

"/opt/bitnami/apps/dreamfactory/htdocs# git pull origin master  
From [https://github.com/dreamfactorysoftware/dsp-core](https://github.com/dreamfactorysoftware/dsp-core)

- branch master -\> FETCH\_HEAD  
Updating 92a81a6…efdf89a  
error: Your local changes to the following files would be overwritten by merge:  
composer.lock  
Please, commit your changes or stash them before you can merge.  
Aborting"

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [May 4, 2015, 6:54pm UTC](https://community.dreamfactory.com/t/how-to-upgrade-to-latest-dsp-version/1056/6 "2015-05-04T18:54:14Z")

</div>

If you know you have not intentionally / manually changed any files locally, you should be fine to choose ‘y’ to continue. (Sometimes when a package is updated, the files may have changed permissions or get moved around in the source, making the old installed version look like it was modified according to git, even though it was not.) For upgrades, unless you’re manually making changes locally, you will essentially always need to choose “yes” on these prompts.

Once you allow composer update to finish, the git operations should complete without aborting.

---

<div class="post-metadata">

**Author:** ![Jose\_Manuel\_Ojeda](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jose_manuel_ojeda/32/1055_2.png) [@Jose\_Manuel\_Ojeda](https://community.dreamfactory.com/u/Jose_Manuel_Ojeda)\
**Post date:** [December 3, 2015, 3:09am UTC](https://community.dreamfactory.com/t/how-to-upgrade-to-latest-dsp-version/1056/7 "2015-12-03T03:09:14Z")

</div>

Hi @jeffreystables I’v been trying to update my DF 2.0.1 to the new version using the guide here  
[https://github.com/dreamfactorysoftware/dsp-core/wiki/Product-Upgrades](https://github.com/dreamfactorysoftware/dsp-core/wiki/Product-Upgrades)

so far I have 2 problems

1. the first command git stash fails
2. the 6th line fail because I don’t have a script directory

I’m running on windows 10, with the latest bitnami installer

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [December 3, 2015, 4:22pm UTC](https://community.dreamfactory.com/t/how-to-upgrade-to-latest-dsp-version/1056/8 "2015-12-03T16:22:45Z")

</div>

There is no upgrade path from 1.9 to 2.0  
If you’re just trying to upgrade a 2.0 instance to the latest code revision, use the instructions on the 2.0 documentation here: [https://wiki.dreamfactory.com/DreamFactory/Installation#Windows](https://wiki.dreamfactory.com/DreamFactory/Installation#Windows)

When you run git stash what fails?
