up to index

Upgrading DocumentJunction

Here are the instructions to upgrade a production DocumentJunction web site.


  1. Back up your entire DocumentJunction site for safekeeping. Store the backup in an entirely separate subdirectory so it cannot be overwritten accidentally.
  2. Download the latest TARball and untar the files in a separate directory. eg ./upgrade beneath the DocumentJunction subdirectory.
  3. Copy the files from ./upgrade (not its subdirecotries) from the new subdirectory to the base directory of your DocumentJunction subdirectory
  4. Copy the contents from the ./upgrade/scripts directory to your DocumentJunction scripts subdirectory.
  5. Note, if you use the symlink option in config.php, then this will automatically update all the *.php files under root/*... to the newest ./scripts/boilerplate.php. If you don't use symlinks, you may wish to write a script to replace all the root/*.php... scripts with the new ./scripts/boilerplate.php file.
  6. Read the new config file in ./upgrade/config/config.php to see if there are any newly defined parameters you should set in your ./config/config.php file.
  7. Copy the contents from ./upgrade/documentjunction/* to ./documentjunction to update your documentation.
  8. When done, you can erase the contents with rm -R ./upgrade
  9. The upgrade is now complete.










Edit in DocumentJunection