Domanda

Ho trascurato un sito per un po ', e ora ho bisogno di aggiornare alcuni moduli che sono diverse versioni dalla data. Posso solo passare alla versione più recente del modulo o ho bisogno di copiare ogni versione in ordine e eseguire update.php ogni volta?

Inoltre, se diversi moduli devono essere aggiornate, è OK per copiare tutti i file ed eseguire in tutta update.php una volta, o ho bisogno di copiare ogni modulo singolarmente ed eseguire l'aggiornamento ogni volta?

È stato utile?

Soluzione

Yes, you can skip steps when updating. The best method I've found is to use drush. "drush up" will make backups; update all modules, themes, and Drupal core; and then run update.php.

I do this on my development site, test, then commit to SubVersion and check it out on production. In fact, I'm just about to update our production site.

Altri suggerimenti

As long as you're not skipping major Drupal versions (i.e. going from Drupal 5.x to Drupal 7.x), just jump to the new version(s).

Generally speaking, you can update from (for example) version 6.1 to 6.20; Drupal saves the last update function executed for each module, and will execute the functions that have never been run, one by one.

I would check if the project page contains particular instructions for updating a module; the module could be incompatible with some versions of other modules, or require a particular updating procedure.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a drupal.stackexchange
scroll top