Hi there, i am on phabricator 20150817, i would like to upgrade the entire stack (openssl, apache, mysql, and phabricator to the latest). What is the best method of upgrading them?
As you want to upgrade all the components and not only the Phabricator application code my recommendation is to install the latest Bitnami Phabricator stack and then migrate your current data. Please take a look to the Phabricator documentation about what things should be migrated.
Please remember to create a full backup of your installation before make any changes to be able to restore it if something goes wrong.
I'm trying to upgrade and backup the mysqldatabase based off the link you gave mehttps://secure.phabricator.com/book/phabricator/article/configuring_backups/1
Backup: MySQL DatabasesI could not find where is the /bin/storage in the bitnami stackphabricator/ $ ./bin/storage dump | gzip > backup.sql.gz
Backup: Uploaded FilesNext is the uploaded file. I am not sure where it is saved in the bitnami stack. Below is a link that i use to access the localfileshttp://192.168.1.121/file/info/PHID-FILE-6j3citadkxybd7atewaa/
Backup: Configuration FilesThey said the configuration file is at phabricator/conf/local/local.jsonBut, i do not see it on the bitnami phabricator stacks either.
I recommend you a full backup of the app before making any changes. For that, follow this guide:https://wiki.bitnami.com/Applications/Bitnami_Phabricator?highlight=phabricator#How_to_create_a_full_backup_of_Phabricator.3f
installdir/mysql/bin/mysqldump -u root -p your_database > backup.sql
In your case, you should backup bitnami_phabricator database. Then, you coul restorre using:
mysql -u root -p your_database < backup.sql
You should backup and restore your /installdir/apps/phabricator/data folder.
You should see this file in installdir/apps/phabricator/htdocs/conf/local/local.json
I hope it helps.
when i tried to create the mysql backup, i notice the bitnami stack has multiple phabricator databases.Many of them actually.Here is a reference. so do i backup all one by one?
Yes, you will need to create a backup of all the Phabricator related databases. You can either do it manually or by using phpMyAdmin, the MySQL database manager built in PHP. You can find more information about how to connect to phpMyAdmin at https://wiki.bitnami.com/Components/phpMyAdmin_and_phpPgAdmin#How_to_enable_phpMyAdmin_or_phpPgAdmin_to_be_accessed_remotely.3f
Hope it helps,Gonzalo