Update dreamfactory 2.04 to 2.1


#1

How do I update to 2.1? I have a bitnami stack deployed on Google cloud? Can I just SSH into it a do a git pull or something?


#2

Is 2.1 release? I only see 2.0.4-2. I am also experiencing the SMTP service issue


#3

You can do a git pull, and then run the update. But, please make sure you run the artisan migrate command as well. See: http://wiki.dreamfactory.com/DreamFactory/Installation#Upgrade


#4

By the way, my experience with the Google cloud images is that you need to run the update process using sudo.


#5

I tried the upgrade process as described on the wiki but now I’ve messed up my system. Its getting errors on the composer install:

[RuntimeException]
The .git directory is missing from /opt/bitnami/apps/dreamfactory/htdocs/vendor/symfony/http-foundation, see h
ttps://getcomposer.org/commit-deps for more information

And it also recommends running an update, which results in the error:

[RuntimeException]
The .git directory is missing from /opt/bitnami/apps/dreamfactory/htdocs/vendor/symfony/var-dumper, see https:
//getcomposer.org/commit-deps for more information

So now I’m stuck. I did a snapshot on google cloud thinking this was the way to do a backup, and now I cant figure out how to use it to backup to before I tried this…


#6

I’ve seen this issue before. Delete the vendor directory and restart the process.

Also, in the upgrade instructions, where it tells you to copy the htdocs folder, that is your backup. You can restore the htdocs.old folder back to htdocs.


#7

phew, yes, I figured out the deleteing the whole vendor directory thing. I am back up.

Thanks.


#8

I ran the upgrade but it still reports version 2.0.4 in the web console. There were no errors running the upgrade. How can I confirm it actually happened?


#9

That was my initial experience too. But it will show up as 2.1 when you complete the process. Check out that link, http://wiki.dreamfactory.com/DreamFactory/Installation#Upgrade. You will need to delete everything in the vendors folder and then do a ‘composer update’.


#10

Thx for the info on deleting the vendor dir. Worked.


#11

Yeah, it looks like on a couple of the builds Bitnami deleted some needed git files in those vendor files. Deleting the Vendor directory will work.
Make sure you backed up the htdocs folder as recommended in the documentation!