{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]},"settings":""},"next":{"description":"","pages":[]},"title":"Upgrading from v1.0.0","type":"basic","slug":"upgrading-from-v100","excerpt":"","body":"# How to upgrade\n\n*Attention! you can use also our most stable version (for example `1.0.0` tag). But to use Symfony 2.8, you need to upgrade to 1.1.0*\n\n## System requirements for version 1.1.0.\n\n##### PHP Version\nPlease be careful to use **PHP version `5.4` and higher, but not PHP7**.\n\n\nIf you deployed wealthbot.io to a VPS server (amazon aws, digitalocean, etc), check your PHP version: \n\nSSH to server, then run `php -v` command.\n\n##### PHP Extensions\nWe use MongoDB and APC cache, and you need to install these 2 extensions (`apc` or `apcu` and `mongo`)\n\n##### Vagrant VirtualBox VM Update\n1) Please update your VirtualBox software to use latest version, and be careful to not install PHP7 instead of PHP5.\n\n2) In this version, you need to run `vagrant provision` after `vagrant up` command.\n\n## Process\nTo upgrade a version 1.0.0 install, open the terminal and run the following commands *line-by-line:*\n\n```bash\n# Connect to server\nssh you:::at:::yourserver.domain\n# Change directory to wealthbot root\ncd /var/www/wealthbot_root/\n# Checkout master branch\ngit checkout master\n# Stash your changes (git stash, optional) , then make Git Pull\ngit pull\n# Install dependencies from composer.lock\ncomposer install\n# Clear the cache\nphp app/console cache:clear -e prod\n# Clear the APC cache\nphp app/console apc:clear -e prod\n# Validate the Doctrine database schema\nphp app/console doctrine:schema:validate -e prod\n```\nProfit!\n\n## Upgrading Forks\nIf you forked the main repository, you need to merge latest changes to your fork and then run the commands mentioned above.\n\n**Note:** First, update your fork from the origin repository with this git command:\n```bash\ngit remote add upstream https://github.com/wealthbot-io/wealthbot.git\n```\nFor more information, check this github article (https://help.github.com/articles/syncing-a-fork/)\n\n## Testing\nRun PHPUnit tests before and after upgrade process and compare the results.\n\n\n#### Thank you for upgrading wealthbot.io!","updates":[],"order":3,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5771272e7209040e005c09b9","__v":0,"parentDoc":null,"user":"560415d590ee490d004404eb","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Installation","slug":"installation","order":0,"from_sync":false,"reference":false,"_id":"577126fc4607a30e001ded35","version":"577126fc4607a30e001ded34","project":"560415f00c78b00d0039b118","createdAt":"2015-09-24T15:25:37.418Z","__v":0},"createdAt":"2016-06-27T13:16:30.495Z","version":{"version":"1.1.0","version_clean":"1.1.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["577126fc4607a30e001ded35","577126fc4607a30e001ded36","577126fc4607a30e001ded37","577126fc4607a30e001ded38"],"_id":"577126fc4607a30e001ded34","__v":1,"project":"560415f00c78b00d0039b118","createdAt":"2016-06-27T13:15:40.398Z","releaseDate":"2016-06-27T13:15:40.398Z"},"project":"560415f00c78b00d0039b118","githubsync":""}