# Is it safe to upgrade from 1.6.10 to 1.7.6 from the config?

**URL:** <https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270>\
**Category:** Bitnami Installers\
**Created:** [August 18, 2014, 5:57pm UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270 "2014-08-18T17:57:19Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Objective\_neo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/objective_neo/32/79_2.png) [@Objective\_neo](https://community.dreamfactory.com/u/Objective_neo)\
**Post date:** [August 18, 2014, 5:57pm UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/1 "2014-08-18T17:57:19Z")

</div>

I am using the Bitnami installation and last time that broke my entire server and it took half a day to sort out the issue.

Should I just go on and upgrade? I still can’t backup my database.

Cheers and many thanks for the epic product.

---

<div class="post-metadata">

**Author:** ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)\
**Post date:** [August 18, 2014, 7:16pm UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/4 "2014-08-18T19:16:52Z")

</div>

When Bitnami packages are installed there is a default user that it is installed by. This user is different than the user that we expect it to be, and the [installer.sh](http://installer.sh) doesn’t pick up on it. We are working to fix this.

**Solution**

1. Go into your htdocs folder inside of the bitnami install and identify the owner and group.

2. Run [installer.sh](http://installer.sh) (this unfortunately uses the logged in user currently instead of root, thus the commands below)

3. Change the owner and group back to its original value.

Example where owner is root and group is daemon, root:daemon.

```
sudo scripts/installer.sh 
sudo chgrp -R daemon *
sudo chgrp -R daemon .*
sudo chown -R root config log vendor web storage

```

Or, if you’d like to just do it in one line:

```
$ sudo ./scripts/installer.sh && sudo chgrp -R daemon * .* && sudo chown -R root config/ log/ vendor/ web/ storage/

```

Thanks,

Mark

---

<div class="post-metadata">

**Author:** ![Objective\_neo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/objective_neo/32/79_2.png) [@Objective\_neo](https://community.dreamfactory.com/u/Objective_neo)\
**Post date:** [August 18, 2014, 7:33pm UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/5 "2014-08-18T19:33:02Z")

</div>

sorry for being a newbie 😊 but that installer upgrades the server? or I will need to upgrade first then run the installer?

---

<div class="post-metadata">

**Author:** ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)\
**Post date:** [August 18, 2014, 8:15pm UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/6 "2014-08-18T20:15:46Z")

</div>

Just run that installer and it’ll upgrade everything for ya.

Thanks,

- Mark

---

<div class="post-metadata">

**Author:** ![Objective\_neo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/objective_neo/32/79_2.png) [@Objective\_neo](https://community.dreamfactory.com/u/Objective_neo)\
**Post date:** [August 18, 2014, 8:28pm UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/7 "2014-08-18T20:28:31Z")

</div>

yeah thats what i thought. The installer ran fine but the version still shows the old one. Do I have to clear the browser cache or something?

---

<div class="post-metadata">

**Author:** ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)\
**Post date:** [August 18, 2014, 9:11pm UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/8 "2014-08-18T21:11:53Z")

</div>

yes, restart apache, reload frame, refresh screen and you’re good to go!

thanks,

mark

---

<div class="post-metadata">

**Author:** ![Objective\_neo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/objective_neo/32/79_2.png) [@Objective\_neo](https://community.dreamfactory.com/u/Objective_neo)\
**Post date:** [August 18, 2014, 9:48pm UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/9 "2014-08-18T21:48:23Z")

</div>

i restarted the amazon instance, reloaded and cleared the cache. Still the old version. Is there a way to check for the version in bitnami?

---

<div class="post-metadata">

**Author:** ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)\
**Post date:** [August 18, 2014, 11:33pm UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/10 "2014-08-18T23:33:32Z")

</div>

Forgot an important step:

perform a /web/logout - e.g. localhost/web/logout - then restart apache… flush cache on dsp and browser through admin console.

you can easily check version by going into the config tab on the left side of your admin console.

You can get your system config, for example, running on localhost by doing the following:

```
http://localhost/rest/system/config?app_name=launchpad

```

Thanks,  
Mark

---

<div class="post-metadata">

**Author:** ![Objective\_neo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/objective_neo/32/79_2.png) [@Objective\_neo](https://community.dreamfactory.com/u/Objective_neo)\
**Post date:** [August 21, 2014, 1:23am UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/11 "2014-08-21T01:23:19Z")

</div>

> [@Mark](#):
>
> dsp

What do you mean by a web logout? I never ran DreamFactory on my local machine. I only use the amazon s3 instant. I honestly have very limited knowledge about server development (That’s why i am using dreamFactory from the first place)

That’s what is shown in my console still  
[The image you are requesting does not exist or is no longer available]  
I can try to press update and if it didn’t work i rerun the installer from the terminal like you told me. Will that work?

Is there a way to tell the version of DreamFactory running on the bitnami instance from the terminal?

Thanks a lot Mark for your extensive help I really appreciate it!

---

<div class="post-metadata">

**Author:** ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)\
**Post date:** [August 21, 2014, 5:08am UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/12 "2014-08-21T05:08:37Z")

</div>

Click the green upgrade button. The process behind the scenes pulls latest dsp\_core from github, the installer runs, and composer is also updated.

After success here you’ll need to update the db and schema. This is done by appending /web/logout to your DSP\_URL.

Finally, Be sure to restart Apache. Clear cache, reload frame…

Looking forward to successful results.

Thanks man,  
Mark

---

<div class="post-metadata">

**Author:** ![Objective\_neo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/objective_neo/32/79_2.png) [@Objective\_neo](https://community.dreamfactory.com/u/Objective_neo)\
**Post date:** [August 21, 2014, 11:19am UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/13 "2014-08-21T11:19:29Z")

</div>

what is a DSP\_URL and how can i reload a frame?

how long it takes till the installer runs usually after I press the upgrade?

By restarting Apache. You mean I should restart the amazon server instance that’s running DreamFactory?

Sorry that i am asking too many questions 🙂

---

<div class="post-metadata">

**Author:** ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)\
**Post date:** [August 21, 2014, 1:06pm UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/14 "2014-08-21T13:06:57Z")

</div>

say it was [www.test.com](http://www.test.com)

you would put [http://www.test.com/web/logout](http://www.test.com/web/logout)

---

<div class="post-metadata">

**Author:** ![Objective\_neo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/objective_neo/32/79_2.png) [@Objective\_neo](https://community.dreamfactory.com/u/Objective_neo)\
**Post date:** [August 22, 2014, 12:11am UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/15 "2014-08-22T00:11:22Z")

</div>

> [@Mark](#):
>
> /web/logout

so i tried to upgrade from the website and thats what happened ☹  
[The image you are requesting does not exist or is no longer available]

And of course my entire server is down again. Tha[quote=“Objective\_neo, post:15, topic:270”]  
/web/logout  
[/quote]

Okay that’s how I sorted it out

1- I logged into bitnami  
2- Ran that from inside the htdocs of the app ` sudo ./scripts/installer.sh && sudo chgrp -R daemon * .* && sudo chown -R root config/ log/ vendor/ web/ storage/`  
3- made a log out  
4- Works fine now again.

---

<div class="post-metadata">

**Author:** ![tborja](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/tborja/32/81_2.png) [@tborja](https://community.dreamfactory.com/u/tborja)\
**Post date:** [September 11, 2014, 3:54am UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/16 "2014-09-11T03:54:25Z")

</div>

Will I still run into these problems upgrading from 1.6.10 to 1.7.8 on ubuntu 12.04 64bit server and bitnami installer?

---

<div class="post-metadata">

**Author:** ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)\
**Post date:** [September 11, 2014, 4:48am UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/17 "2014-09-11T04:48:43Z")

</div>

Yes - here is the process that you will go through:

1. Launch your DSP and go into admin console -\> config -\> hit upgrade (1.7.8)

\*this pulls down the dsp\_core

1. If a white page pops up - append /web/logout to your dsp\_url

2. Go into your terminal and navigate to the /apps/dreamfactory/htdocs folder

3. **Important** : note the owner:group of the folders/files within this folder

4. Perform the following commands (based on the owner:group)

**in this example we will have owner = root and group = daemon**

```
sudo ./scripts/installer.sh
sudo chgrp -R daemon * .* 
sudo chown -R root config/ log/ vendor/ web/ storage/

```

1. Restart Apache

Let me know if you have any questions.

Thanks,

- Mark

---

<div class="post-metadata">

**Author:** ![qx\_ouyang](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/qx_ouyang/32/91_2.png) [@qx\_ouyang](https://community.dreamfactory.com/u/qx_ouyang)\
**Post date:** [September 13, 2014, 8:57am UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/18 "2014-09-13T08:57:42Z")

</div>

Serval times I hit update,then all site become blank!  
if safe ,I think it will work without any option,Indeed,it seems still have many things to do,during this work,we could make mistake…so I don’t think it’s safe,at least current version.

---

<div class="post-metadata">

**Author:** ![qx\_ouyang](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/qx_ouyang/32/91_2.png) [@qx\_ouyang](https://community.dreamfactory.com/u/qx_ouyang)\
**Post date:** [September 13, 2014, 9:16am UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/19 "2014-09-13T09:16:50Z")

</div>

```
********************************************************************************
  DreamFactory Services Platform(tm) Darwin Installer [Mode: Bitnami v1.3.10]
********************************************************************************

  * notice:	OS X installation: Apache user set to "_www"
  * info:	Install user is "ok"
  * info:	Composer pre-installed: /Applications/dreamfactory-1.7.6-0/apps/dreamfactory/htdocs/composer.phar
  * info:	Checking for package manager updates
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/dreamfactory-1.7.6-0/php/lib/php/extensions/pgsql.so' - dlopen(/Applications/dreamfactory-1.7.6-0/php/lib/php/extensions/pgsql.so, 9): Library not loaded: /usr/lib/libsasl2.2.dylib
  Referenced from: /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
  Reason: Incompatible library version: LDAP requires version 3.0.0 or later, but libsasl2.2.dylib provides version 0.0.0 in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/dreamfactory-1.7.6-0/php/lib/php/extensions/pdo_pgsql.so' - dlopen(/Applications/dreamfactory-1.7.6-0/php/lib/php/extensions/pdo_pgsql.so, 9): Library not loaded: /usr/lib/libsasl2.2.dylib
  Referenced from: /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
  Reason: Incompatible library version: LDAP requires version 3.0.0 or later, but libsasl2.2.dylib provides version 0.0.0 in Unknown on line 0
  * info:	External modules updated
  * info:	Checking file system structure and permissions
  * notice:	Error changing ownership of local files. Additional steps required. See note at end of run.
  * info:	Installing dependencies
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/dreamfactory-1.7.6-0/php/lib/php/extensions/pgsql.so' - dlopen(/Applications/dreamfactory-1.7.6-0/php/lib/php/extensions/pgsql.so, 9): Library not loaded: /usr/lib/libsasl2.2.dylib
  Referenced from: /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
  Reason: Incompatible library version: LDAP requires version 3.0.0 or later, but libsasl2.2.dylib provides version 0.0.0 in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/dreamfactory-1.7.6-0/php/lib/php/extensions/pdo_pgsql.so' - dlopen(/Applications/dreamfactory-1.7.6-0/php/lib/php/extensions/pdo_pgsql.so, 9): Library not loaded: /usr/lib/libsasl2.2.dylib
  Referenced from: /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
  Reason: Incompatible library version: LDAP requires version 3.0.0 or later, but libsasl2.2.dylib provides version 0.0.0 in Unknown on line 0

```

Seems fail again!

---

<div class="post-metadata">

**Author:** ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)\
**Post date:** [September 13, 2014, 10:08pm UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/20 "2014-09-13T22:08:25Z")

</div>

Hey,

After you hit update, did you apply /web/log to your dsp\_url root?

Also, please follow the instructions listed on [this topic](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/17?u=mark)

Thanks,

---

<div class="post-metadata">

**Author:** ![qx\_ouyang](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/qx_ouyang/32/91_2.png) [@qx\_ouyang](https://community.dreamfactory.com/u/qx_ouyang)\
**Post date:** [September 16, 2014, 10:09pm UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/21 "2014-09-16T22:09:35Z")

</div>

Yes, I did, tested in osx

---

<div class="post-metadata">

**Author:** ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)\
**Post date:** [September 17, 2014, 1:44pm UTC](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270/22 "2014-09-17T13:44:49Z")

</div>

Did this resolve your issue?

Thanks,

- Mark

[Next page](https://community.dreamfactory.com/t/is-it-safe-to-upgrade-from-1-6-10-to-1-7-6-from-the-config/270.md?page=2)
