Upgrading FogBugz for Unix

** This document only applies when upgrading to FogBugz 5.0 and earlier. If you are upgrading to FogBugz 6, please see Upgrading to FogBugz 6 on Unix **

Upgrading is very similar to an install.  Follow these steps to upgrade your FogBugz installation to FogBugz 3, 4 or 5.

These instructions assume your FogBugz installation is at /opt/fogbugz.

  1. Log on as root or issue the su command.
  2. Download the fogbugz-setup-php-[version].tar.gz file from the shop using your order number.  Save this file in a temporary directory such as /tmp.  The upgrade procedure will move the files to the correct installation point.
  3. tar zxf fogbugz-setup-php-[version].tar.gz
  4. cd fogbugz
  5. php -d output_buffering=0 install.php upgrade
    This will run the install script, but first it will copy over the important files from your old install and then backup your old install to fogbugz.1 (or fogbugz.2, etc).