You are here

UPGRADE.txt in FileField 6.3

Upgrading from previous versions of FileField does not differ from the
recommended approach for other modules.

Upgrading from Drupal 5
-----------------------

1) Your Drupal 5 installation must be running at least FileField 2.3 before
   migrating to Drupal 6. If your version of FileField is older than this,
   install the latest version of FileField for Drupal 5 on your Drupal 5 site
   and run update.php. This gets the database in a format that the Drupal 6
   upgrade expects.

2) After ensure FileField 2.3 or higher is on your Drupal 5 site, upgrade your
   site normally to Drupal 6. Download the latest version of FileField for
   Drupal 6 and place it in your sites/all/modules directory.

3) Run update.php on your Drupal 6 site to upgrade FileField to the latest
   database schema.


Upgrading from any previous Drupal 6 version
--------------------------------------------

1) Download the latest version of FileField and the filefield directory in
   sites/all/modules.

2) Visit update.php on your site and run the update.


Running update.php
------------------
Never, never, ever expand the "Select versions" fieldset and manually change
the update number. Drupal knows which version you are currently running and
automatically selects the appropriate version. If you change this number, you
risk running an update twice (if you select a lower number) or you'll skip
updates entirely (if you select a higher number). The ability to change the
update number was intended for developers. Due to the confusion caused by this
fieldset, it has been removed entirely in Drupal 7 to prevent such accidental
self-inflicted damage to user sites.

File

UPGRADE.txt
View source
  1. Upgrading from previous versions of FileField does not differ from the
  2. recommended approach for other modules.
  3. Upgrading from Drupal 5
  4. -----------------------
  5. 1) Your Drupal 5 installation must be running at least FileField 2.3 before
  6. migrating to Drupal 6. If your version of FileField is older than this,
  7. install the latest version of FileField for Drupal 5 on your Drupal 5 site
  8. and run update.php. This gets the database in a format that the Drupal 6
  9. upgrade expects.
  10. 2) After ensure FileField 2.3 or higher is on your Drupal 5 site, upgrade your
  11. site normally to Drupal 6. Download the latest version of FileField for
  12. Drupal 6 and place it in your sites/all/modules directory.
  13. 3) Run update.php on your Drupal 6 site to upgrade FileField to the latest
  14. database schema.
  15. Upgrading from any previous Drupal 6 version
  16. --------------------------------------------
  17. 1) Download the latest version of FileField and the filefield directory in
  18. sites/all/modules.
  19. 2) Visit update.php on your site and run the update.
  20. Running update.php
  21. ------------------
  22. Never, never, ever expand the "Select versions" fieldset and manually change
  23. the update number. Drupal knows which version you are currently running and
  24. automatically selects the appropriate version. If you change this number, you
  25. risk running an update twice (if you select a lower number) or you'll skip
  26. updates entirely (if you select a higher number). The ability to change the
  27. update number was intended for developers. Due to the confusion caused by this
  28. fieldset, it has been removed entirely in Drupal 7 to prevent such accidental
  29. self-inflicted damage to user sites.