Upgrading a Previous Gallery Installation

Upgrading with Shell Access
Upgrading Gallery with FTP

This sections describes how to upgrade your Gallery from an old version to a new one. Upgrading is very easy, and you won't loose any data if you follow all the directions.

Upgrading with Shell Access

  1. Make a backup of your old Gallery installation. The easiest way to do this is to use the tar command.

          tar -cz gallery > gallery-backup.tar.gz
         

    On Windows, use something like WinZip to create an archive of your Gallery directory.

  2. Put your Gallery into configuration mode. This is very important.

          cd gallery
          sh configure.sh (or configure.bat for Windows)
         

  3. Download Gallery from the Gallery SF.net Download Page. Put the tarball in your gallery directory's parent directory.

  4. Untar the new Gallery version over the old one.

          tar -xvzf gallery-1.x.x.tar.gz
          [list of new files]
         

    Windows users: use WinZip to extract Gallery over the old installation

  5. Re-run the configuration wizard. Afterward, put Gallery back into secure mode, as described in that guide.

  6. Enjoy your upgraded Gallery!

Upgrading Gallery with FTP

  1. Make a backup copy of your Gallery directory. Use your FTP client to download the old Gallery directory, just in case

  2. Put your Gallery into configuration mode, by chmodding .htaccess and config.php 0777 and by chmodding the setup/ directory 0755.

  3. Download Gallery from the Gallery SF.net Download Page. Untar it using tar or WinZip on your computer.

  4. Using your FTP client, upload the new Gallery files over the old Gallery files. Yes, this will override the old Gallery files, but this is OK!

  5. Re-run the configuration wizard. Afterward, put Gallery back into secure mode, as described in that guide.

  6. Enjoy your upgraded Gallery!