Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. UPGRADING instructions
  2. ======================
  3. Follow these instructions if upgrading from a previous version
  4. of Roundcube Webmail. We recommend to carefully backup the existing
  5. installation as well as the database before going through the following steps.
  6. Using the update script
  7. -----------------------
  8. There is a shell script (for unix based systems) that does the job for you.
  9. To use it, unpack the archive of the new Roundcube version to a temporary location
  10. (don't replace the Roundcube installation you want to update)
  11. and cd into that directory. From there, run the following command in a shell:
  12. ./bin/installto.sh <TARGET-FOLDER>
  13. For <TARGET-FOLDER> you specify the path to the Roundcube installation
  14. which should be updated. The update script will then copy all new files to the
  15. target location and check and update the configuration and database schema.
  16. After all is done, the temporary folder with the new Roundcube files can be
  17. removed again.
  18. WARNING: See Post-Upgrade Activities section below.
  19. Updating manually
  20. -----------------
  21. If you don't have shell access to the Roundcube installation or if not running
  22. it on a unix system, you need to do the following operations by hand:
  23. 1. Replace index.php and all files in
  24. - ./bin/
  25. - ./SQL/
  26. - ./program/
  27. - ./installer/
  28. 2. Replace the configuration defaults files:
  29. - config/defaults.inc.php
  30. - config/mimetypes.php
  31. 3. rsync the contents of the following folders from your installation
  32. directory into the target folder:
  33. ./skins/
  34. ./plugins/
  35. ./vendor/
  36. 4a. If you previously installed plugins through composer, update dependencies
  37. by running `php composer.phar update --no-dev`
  38. 4b. Install/update dependencies using composer:
  39. - get composer from https://getcomposer.org/download/
  40. - rename the composer.json-dist file into composer.json
  41. - if you want to use LDAP address books, enable the LDAP libraries in your
  42. composer.json file by moving the items from "suggest" to the "require"
  43. section (remove the explanation texts after the version!).
  44. - run `php composer.phar install --no-dev`
  45. 5. Run `./bin/update.sh` from the commandline OR
  46. open http://url-to-roundcube/installer/ in a browser and choose "3 Test config".
  47. To enable the latter one, you have to temporary set 'enable_installer'
  48. to true in your local config/config.inc.php file.
  49. WARNING: See SQLite database upgrade below.
  50. 6. Let the update script/installer check your configuration and
  51. update your config files and database schema as suggested by the updater.
  52. 7. Make sure 'enable_installer' is set to false again.
  53. 8. See Post-Upgrade Activities section.
  54. Post-Upgrade Activities
  55. -----------------------
  56. 1. Check .htaccess settings (some php settings could become required)
  57. 2. If you're using build-in addressbook, run indexing script /bin/indexcontacts.sh.
  58. 3. When upgrading from version older than 0.6-beta you should make sure
  59. your folder settings contain namespace prefix. For example Courier users
  60. should add INBOX. prefix to folder names in main configuration file.
  61. 4. Check system requirements in INSTALL file.
  62. SQLite database upgrade
  63. -----------------------
  64. Versions older than 0.9 were supporting SQLite v2 only. Newer versions require
  65. database in v3 format. The best what you can do is to convert database file
  66. to the new format using command line tools:
  67. sqlite OLD.DB .dump | sqlite3 NEW.DB