nativeInstallerresourcespace

Upgrade ResourceSpace

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

It is strongly recommended to create a backup before starting the update process. If you have important data, create and try to restore a backup to ensure that everything works properly.

To upgrade the application only without modifying any other stack components, follow the steps below:

  • Back up the stack so that if anything goes wrong, you can restore it. The most important file is installdir/apps/resourcespace/htdocs/include/config.php, which stores all the ResourceSpace configuration settings.

  • Stop all the services.

    $ sudo installdir/ctlscript.sh stop
    
  • Download the latest version of ResourceSpace from the official website.

    $ cd /home/bitnami
    $ wget http://www.resourcespace.org/downloads/ResourceSpaceVERSION.zip
    
  • Copy all files from the new version over the old files in installdir/apps/resourcespace/htdocs. Alternatively, remove existing files first (except those in the /filestore directory) and copy the new files to the installdir/apps/resourcespace/htdocs directory, so that if some files have changed their location, duplication can be prevented.

  • When executing the command below select “A [overwrite all files]” if prompted with an overwrite confirmation message.

    $ unzip /home/bitnami/ResourceSpaceVERSION.zip
    $ rm ResourceSpaceVERSION.zip
    
  • Replace any files containing local changes from your backup copy (for example, config.php, title.gif or others).

  • Restart services.

    $ sudo installdir/ctlscript.sh start
    
Last modification August 31, 2018