Changes between Version 9 and Version 10 of Roundcube


Ignore:
Timestamp:
01/16/15 20:28:33 (9 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Roundcube

    v9 v10  
    8888 * differ from the ones listed in defaults.inc.php.
    8989}}}
     90{{{
     91=================================================================
     92POST-UPGRADE INSTRUCTIONS
     93=================================================================
     94
     95UPGRADING instructions
     96======================
     97
     98Follow these instructions if upgrading from a previous version
     99of Roundcube Webmail. We recommend to carefully backup the existing
     100installation as well as the database before going through the following steps.
     101
     102Using the update script
     103-----------------------
     104There is a shell script (for unix based systems) that does the job for you.
     105To use it, unpack the archive of the new Roundcube version to a temporary location
     106(don't replace the Roundcube installation you want to update)
     107and cd into that directory. From there, run the following command in a shell:
     108
     109  ./bin/installto.sh <TARGET-FOLDER>
     110
     111For <TARGET-FOLDER> you specify the path to the Roundcube installation
     112which should be updated. The update script will then copy all new files to the
     113target location and check and update the configuration and database schema.
     114After all is done, the temporary folder with the new Roundcube files can be
     115removed again.
     116
     117WARNING: See Post-Upgrade Activities section below.
     118
     119
     120Updating manually
     121-----------------
     122If you don't have shell access to the Roundcube installation or if not running
     123it on a unix system, you need to do the following operations by hand:
     124
     1251. Replace index.php and all files in
     126   - ./bin/
     127   - ./SQL/
     128   - ./program/
     129   - ./installer/
     1302. Replace the configuration defaults files:
     131   - config/defaults.inc.php
     132   - config/mimetypes.php
     1333. rsync the contents of the following folders from your installation
     134   directory into the target folder:
     135   ./skins/
     136   ./plugins/
     1374. Run ./bin/update.sh from the commandline OR
     138   open http://url-to-roundcube/installer/ in a browser and choose "3 Test config".
     139   To enable the latter one, you have to temporary set 'enable_installer'
     140   to true in your local config/config.inc.php file.
     141   WARNING: See SQLite database upgrade below.
     1425. Let the update script/installer check your configuration and
     143   update your config files and database schema as suggested by the updater.
     1446. Make sure 'enable_installer' is set to false again.
     1457. See Post-Upgrade Activities section.
     146
     147
     148Post-Upgrade Activities
     149-----------------------
     1501. Check .htaccess settings (some php settings could become required)
     1512. If you're using build-in addressbook, run indexing script /bin/indexcontacts.sh.
     1523. When upgrading from version older than 0.6-beta you should make sure
     153   your folder settings contain namespace prefix. For example Courier users
     154   should add INBOX. prefix to folder names in main configuration file.
     1554. Check system requirements in INSTALL file.
     156
     157SQLite database upgrade
     158-----------------------
     159Versions older than 0.9 were supporting SQLite v2 only. Newer versions require
     160database in v3 format. The best what you can do is to convert database file
     161to the new format using command line tools:
     162
     163sqlite OLD.DB .dump | sqlite3 NEW.DB
     164
     165=================================================================
     166}}}