Regular updates are vital to keep your machine safe from security issues and be up to date with new features, bug fixes and improvements. In order to upgrade your installation to the newest version, do the following:
- Log in to the machine where Buddy Enterprise is installed.
- If the app is running, halt it using
$ buddy stop
- To begin the upgrade, type
$ buddy update
- Buddy will check if a new version is available and ask if you want to make a backup (recommended).
- The process may take several minutes, do not close the CLI until it’s finished.
- To check the version of your app and CLI, run
- Backups are made to the application directory (default location:
Running out of space during the update
On rare occasions your machine may fail to update. The most common reason is running out of disk space during the update. In this case, you should:
- Free space on the disk where Buddy Enterprise is installed. Make sure to free at least double the amount your application occupies in
- Remove all backups in the
~/.buddy/app/backupsdirectory except the latest file.
- Restore the application to the latest backup with
$ buddy restore
- Run the update again using
If you’re low on space in the default install location, you can move the whole application to another location using Buddy CLI.
Canceling stalled backup process
If for some reason your backup gets stalled during the process, either because of a broken internet connection or accidental
ctrl + c, you can force Buddy to ignore previous errors by running the
buddy backup --force