Upgrade Trac
Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.
Linux and Mac OS X
Follow the steps below:
-
At the server console, execute the command below, replacing X.Y.Z with the correct version number:
$ easy_install -a --prefix="installdir/apps/trac" -d "installdir/apps/trac/lib" -s "installdir/apps/trac/Scripts" --upgrade Trac==X.Y.Z
-
Upgrade your project, remembering to replace the PROJECT_PATH placeholder with the correct path to your project:
$ trac-admin PROJECT_PATH upgrade $ trac-admin PROJECT_PATH wiki upgrade
Windows
Follow the steps below:
-
At the server console, execute the command below, replacing X.Y.Z with the correct version number:
$ easy_install -a --prefix="installdir\apps\trac" -d "installdir\apps\trac\Lib\site-packages" -s "installdir\apps\trac\Scripts" --upgrade Trac==X.Y.Z
-
Upgrade your project, remembering to replace the PROJECT_PATH placeholder with the correct path to your project:
$ trac-admin PROJECT_PATH upgrade $ trac-admin PROJECT_PATH wiki upgrade
For more information, refer to the Trac wiki.