sitio web de la cci - tareas #2703 · lo que sí hay que hacer es una copia del sitio y un ensayo,...
TRANSCRIPT
Sitio web de la CCI - Tareas #2703
Actualizar Drupal 6 a Drupal 7
03/03/2014 02:13 PM - Luis Alonzo Fulchi
Status: Cerrada Start date: 03/03/2014
Priority: Alta Due date:
Assignee: CCI web % Done: 100%
Category: Estimated time: 0.00 hour
Target version: Spent time: 24.30 hours
Description
No se si esto debe colocarse como tarea hija de #2477 pero resulta importante hacerla.
Aquí una conversación con un experto en Drupal:
L: valdrá la pena migrar un D6 a un 7 ?
M: Sin lugar a dudas. D6 es obsoleto y tan pronto como aparezca D8 se abandona.
No actualizar es perder el carro.
L: Ok.. y cuán complejo será?
M: Complicado estimar. Si no tenéis código propio (ni módulos, ni theme, ni nada...) y los módulos de terceros son estandares, puede que
con un simple "drush sup @nuevoAlias" todo vaya como la seda Aquí te explica lo que hace 'site-upgrade y como definir el alias'
Related issues:
Related to Sitio web de la CCI - Tareas # 2890: Comprobar migración de Drupal Rechazada 05/06/2014
Blocked by Plataforma de servidores - Tareas # 2505: Migrar lo que hospeda higgs Cerrada 04/09/2014 04/29/2014
Blocked by Sitio web de la CCI - Tareas # 2800: Acceso mysql Davinci Cerrada 04/04/2014
Blocked by Plataforma de servidores - Tareas # 2827: Redirección DNS de sub-d... Cerrada 04/09/2014 04/29/2014
History
#1 - 03/13/2014 10:40 AM - Daniel Viñar Ulriksen
- Assignee changed from Luis Alonzo Fulchi to Cielito - adminsys
Si no tenéis código propio (ni módulos, ni theme, ni nada...)...
¿qué tanto lo nuestro? al menos temas, creo que tenemos, ¿no?
Creo que esta taarea debe ser dejada a otra persona que tú, Lupa. Será la prueba de fuego de transmisión de conocimiento respecto al sitio.
la paso a adminsys para que Andrés vea.
#2 - 03/13/2014 11:14 AM - Andrés Pías
Como medida preventiva, antes de migrarlo se debería realizar un respaldo completo solamente del sitio: base de datos y archivos. Así en caso de que
algo salga mal, sea posible dar un paso atrás.
#3 - 03/13/2014 11:16 AM - Luis Alonzo Fulchi
Me parece bien que lo haga otra persona.
01/15/2020 1/20
El respaldo supuestamente se hace diariamente.
Lo que sí hay que hacer es una copia del sitio y un ensayo, ya que no es un simple update, sino un upgrade.
Ahí ver cómo impacta el upgrade en las cosas que hay modificadas, y en particular en el theme.
#4 - 03/17/2014 02:12 PM - Andrés Pías
Yo podría tomar la tarea. Estoy también con la migración de Rusell, así que no será de forma inmediata. Mas teniendo en cuenta los problemas de red que
tenemos por estos días.
Estoy de acuerdo en realizar un primer test de migración en otro servidor. Para simplificar, se podría clonar con dd davinci (en ejecución), darle una ip
etc... y probar actualizar drupal.
Lo haría con drush y siguiendo el tutorial del link
Duda esta tarea refiere a lo mismo de #2753 no? la otra está duplicada?
#5 - 03/17/2014 03:08 PM - Luis Alonzo Fulchi
Andrés Pías escribió:
Estoy de acuerdo en realizar un primer test de migración en otro servidor. Para simplificar, se podría clonar con dd davinci (en ejecución), darle una
ip etc... y probar actualizar drupal.
Creo que drush tiene una herramienta de clonación del drupal entero en el mismo server pero nunca la usé. Digo x si querés ahorrarte algunos pasos.
Además no estaría mal hacer un ensayo de restauración desde los respaldos.
Duda esta tarea refiere a lo mismo de #2753 no? la otra está duplicada?
Nop. La #2753 es duplicacada de la #2615 que es la importante para hacer ahora. Es mucho más sencilla.
#6 - 03/19/2014 11:21 AM - Daniel Viñar Ulriksen
- Status changed from Nueva to En curso
La actualización drupal 6 a drupal 7 debe hacerse sin interrupción de servicio.
Entiendo que no es menor ((¿hay que llamarle migración 6 a 7?), por ende hay que empezar por clonar el sitio (manejemos un http://nuevo.cci.edu.uy/ -
que además hay que migrar de [[higgs]] a [[davinci]]) y actualizar esa instancia.
#7 - 03/19/2014 11:49 AM - Andrés Pías
Daniel Viñar Ulriksen escribió:
Entiendo que no es menor ((¿hay que llamarle migración 6 a 7?), por ende hay que empezar por clonar el sitio (manejemos un
http://nuevo.cci.edu.uy/ - que además hay que migrar de [[higgs]] a [[davinci]]) y actualizar esa instancia.
01/15/2020 2/20
Habría que matar dos pajaros de un tiro y ya hacer las dos cosas juntas: migración + actualización. Esta última desde Davinci.
#8 - 03/19/2014 05:44 PM - Luis Alonzo Fulchi
O sea, lo que digo es que:
- La actualización (update) hay que hacerla ya. "Es un clic"
- La migración (upgrade) hay que hacerla pronto
#9 - 03/20/2014 02:41 PM - Andrés Pías
Luis Alonzo Fulchi escribió:
Creo que drush tiene una herramienta de clonación del drupal entero en el mismo server pero nunca la usé. Digo x si querés ahorrarte algunos
pasos. Además no estaría mal hacer un ensayo de restauración desde los respaldos.
Sin importar la cantidad de pasos, me gustaría usar otro servidor para correr cualquier actualización, para no tener ningún tipo de problema (por ej.: pisar
un mismo archivo de configuración). Que les parece si relacionamos esta con la tarea #2505 para cuando el sitio esté en DaVinci desde ahí hagamos las
actualizaciones.
#10 - 04/02/2014 11:47 AM - Andrés Pías
Encontré un script en este blog para realizar un chequeo de los módulos que quedan por actualizar luego de la actualizacion de 6 a 7 que nos pueden
servir.
http://www.marysalento.com/actualizacion-automatica-de-drupal-y-sus-modulos-con-drush/
#11 - 04/02/2014 04:09 PM - Daniel Viñar Ulriksen
@andrés:
me gustaría usar otro servidor para correr cualquier actualización, para no tener ningún tipo de problema
Acordamos tener (en DaVinci), dos instancias del sitio web:
- la instancia de producción www.cci.edu.uy
- una instancia de integración y pruebas ("un arenero"), por ejemplo pruebas.cci.edu.uy (y es muy importante que éste tenga un robots.txt
#12 - 04/03/2014 12:20 PM - Andrés Pías
- Assignee changed from Cielito - adminsys to Andrés Pías
- Priority changed from Urgente to Alta
Pienso mañana mover el sitio de la cci a Davinci: #2505, por lo tanto mañana no se deberían estar trabajando en el contenido del mismo.
No voy a reconstruir el sitio a partir de los respaldos, por que si recupero los directorios completos /usr/local, etc.. puedo pisar archivos y afectar a los
demas sitios. Siguiendo mi idea original solo voy a copiar los archivos de drupal y la base de datos de la web cci, no las demas, que siguen estando
presentes en el servidor.
Econtré este tuto sobre como migrar con drush remotamente:
01/15/2020 3/20
https://www.digitalocean.com/community/articles/how-to-migrate-and-sync-drupal-sites-with-drush que tambien habla sobre lo que me comentaba lupa,
de clonar con drush.
Este es el procedimiento que voy a aplicar:
- Instalo drush, drupal y librerías necesarias (configuraciones mysql, etc) en Davinci de acuerdo al tutorial:
drush dl drupal-6.x
- Nota: durante esta instalación posiblemente voy a necesitar reiniciar el servicio de apache en davinci, por lo que podrían estar indisponibles las webs
de los cenures y la wiki.
- Solucionar todo lo referente a configuracion de apache para dejar el sitio de la cci funcionando allí en la url http://nuevo.cci.edu.uy/
- Luego si todo marcha bien solicito a daniel el cambio DNS de nuevo.cci.edu.uy a cci.edu.uy. Por unas horas el sitio web de la cci quedaría indisponible
hasta que se propague la información DNS.
- En davinci, aplicando también el tutorial, voy a crear otra instancia local, clonando el sitio web de la cci. Luego realizo las configuraciones pertienentes
para que también quede funcionando: pruebas.cci.edu.uy
- En esta ultima instancia, hago el upgrade de drupal a la nueva version.
#13 - 04/03/2014 03:45 PM - Daniel Viñar Ulriksen
- % Done changed from 0 to 10
@andres:
Luego si todo marcha bien solicito a daniel el cambio DNS de nuevo.cci.edu.uy a cci.edu.uy. Por unas horas el sitio web de la cci quedaría
indisponible hasta que se propague la información DNS.
No tiene porqué haber indisponibilidad del sito en lectura. Si conviene detener un rato la contribución, para evitar contribuir en el viejo sitio.
Ver esta recomendación general para la migración: [[web:Migración_hospedaje_sin_ruptura_de_servicio]].
#14 - 04/04/2014 03:17 PM - Andrés Pías
Drush ya quedo instalado en Davinci. La librería necesaria php5-gd ya está instalada.
apt-get install drush
En higgs, vemos que el directorio root del sitio web de la cci está en /var/www/webcciNew
En Dainvi, se configuran todos los virtual hosts y en particular el de la web de cci en:
root@DaVinci:/var/alternc/apache-vhost# cat vhosts_all.conf
Donde va a quedar el sitio es en:
01/15/2020 4/20
root@DaVinci:/var/alternc/html/c/cci/www/cci.edu.uy/www
#15 - 04/08/2014 04:05 PM - Andrés Pías
- % Done changed from 10 to 80
Arrancamos con esto: https://www.digitalocean.com/community/articles/how-to-install-drush-on-a-cloud-server-running-ubuntu-12-04
Se creo un usuario y una base de datos webcci en http://davinci.csic.edu.uy/alternc-sql/
Permisos antes de la instalación:
root@DaVinci:/var/alternc/html/c/cci/www/cci.edu.uy# ls -altr
total 58764
drwxrws---+ 2 2002 2002 4096 dic 29 2012 www
Se procede a instalar drupal:
cd /var/alternc/html/c/cci/www/cci.edu.uy/www
drush dl drupal-6.x
Se mueve los archivos hacia el directorio padre (desde drupal-6.x a www)
Comando de instalacion:
drush site-install standard --db-url=mysql://user:pass@localhost/db_name --site-name=your_site_name --account-name=admin
--account-pass=your_password
Edite al archivo de virtual hosts. Edité el de www.cci.edu.uy para habilitar el de testing.cci: http://testing.cci.edu.uy/
root@DaVinci:/var/alternc/apache-vhost# cat vhosts_all.conf
ServerName testing.cci.edu.uy
# DocumentRoot "/var/alternc/html/c/cci/www/cci.edu.uy/parking/"
DocumentRoot "/var/alternc/html/c/cci/www/cci.edu.uy/www/"
# <Directory "/var/alternc/html/c/cci/www/cci.edu.uy/parking/">
<Directory "/var/alternc/html/c/cci/www/cci.edu.uy/www/">
# php_admin_value upload_tmp_dir /var/alternc/html/c/cci/www/cci.edu.uy/parking//tmp
php_admin_value upload_tmp_dir /var/alternc/html/c/cci/www/cci.edu.uy/www//tmp
01/15/2020 5/20
Recargamos la config
sudo service apache2 reload
Entré al panel de control de alternc, leyendo un poco de [[alternc:wiki]]
https://davinci.csic.edu.uy/adm_panel.php
Pasos: Entrar a Alternc, Admin Control Panel, Manage installed domains, para el dominio cci.edu.uy, presionar botón Connect us. Debajo de domains,
click en cci.edu.uy y se listan todos los subdominios. Elegí el subdominio testing.cci.edu.uy, lo edito y en 'locally hosted' le puse temporalmente
'/www/cci.edu.uy/www'
Y en http://testing.cci.edu.uy/ ya se ve el sitio nuevo de drupal.
Corrección de permisos para la sincronización de archivos
chown -R 2002 sites/default/files
chmod -R 775 sites/default/files
root@DaVinci:/var/alternc/html/c/cci/www/cci.edu.uy/www# chown -R 2002 *
root@DaVinci:/var/alternc/html/c/cci/www/cci.edu.uy/www# chgrp -R 2002 *
Sigo con: https://www.digitalocean.com/community/articles/how-to-set-up-ssh-keys--2
Copia de clave pública entre los servidores, me voy a conectar al usuario que tengo en Davinci. En higgs (para correr drush hay que tener permisos
sudo):
root@higgs:~# ssh-keygen -b 8196
root@higgs:~$ ssh-copy-id [email protected]
Luego de los preparativos, la migracion de archivos y base de datos:
https://www.digitalocean.com/community/articles/how-to-migrate-and-sync-drupal-sites-with-drush
Configuracion de los aliases, no dejar espacios al final del archivo:
nano /root/.drush/aliases.drushrc.php
<?php
$aliases['ccihiggs'] = array(
'root' => '/var/www/webcciNew',
'uri' => 'www.cci.edu.uy',
);
$aliases['ccidavinci'] = array(
'root' => '/var/alternc/html/c/cci/www/cci.edu.uy/www',
'uri' => 'testing.cci.edu.uy',
'remote-host' => '164.73.68.37',
'remote-user' => 'apias'
);
?>
Verificamos que funcione la conexión con el drupal site local
01/15/2020 6/20
root@higgs:~/.drush# drush @ccihiggs status
Drupal version : 6.30
Site URI : www.cci.edu.uy
Database driver : mysqli
Database hostname : localhost
Database username : webcciNewUser
Database name : webcciNew
Database : Connected
Drupal bootstrap : Successful
Drupal user : Anónimo
Default theme : ccigiordani
Administration theme : garland
PHP configuration : /etc/php5/cli/php.ini
Drush version : 5.8
Drush configuration :
Drush alias files : /root/.drush/aliases.drushrc.php
Drupal root : /var/www/webcciNew
Site path : sites/default
File directory path : sites/default/files
Temporary file directory path : sites/default/tmp
Verificamos que nos poder conectar con el sitio drupal remoto:
apias@higgs:~$ sudo drush @ccidavinci status
Enter passphrase for key '/root/.ssh/id_rsa':
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/suhosin.so' - /usr/lib/php5/20100525/suhosin.so: cannot open
shared object file: No such file or directory in Unknown on line 0
PHP configuration : /etc/php5/cli/php.ini
Drush version : 5.4
Drush configuration :
Si bien conecta con el servidor muestra parte de la salida que debe mostrar.
Como voy a entrar con apias en davinci y voy a copiar los datos con ese usuario, me habilito permisos al menos temporales sobre el directorio de drupal.
apias@DaVinci:/var/alternc/html/c$ sudo chown 2002:sudo cci
apias@DaVinci:/var/alternc/html/c/cci$ sudo chown 2002:sudo www
apias@DaVinci:/var/alternc/html/c/cci/www$ sudo chown 2002:sudo cci.edu.uy
apias@DaVinci:/var/alternc/html/c/cci/www/cci.edu.uy$ sudo chown -R 2002:sudo www
Ahora si conecta realmente:
apias@higgs:~$ sudo drush @ccidavinci status
....
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/suhosin.so' - /usr/lib/php5/20100525/suhosin.so: cannot open
shared object file: No such file or directory in Unknown on line 0
Drupal version : 6.31-dev
01/15/2020 7/20
Site URI : testing.cci.edu.uy
Database driver : mysqli
Database hostname : 127.0.0.1
Database username : webcciuser
Database name : webcci
Database : Connected
Drupal bootstrap : Successful
Drupal user : Anonymous
Default theme : garland
Administration theme : garland
PHP configuration : /etc/php5/cli/php.ini
Drush version : 5.4
Drush configuration :
Drupal root : /var/alternc/html/c/cci/www/cci.edu.uy/www
Site path : sites/default
File directory path : sites/default/files
temp : /tmp
Seguimos:
Desde higgs, sincronizacion de los archivos, sin el archivo de configuracion:
sudo drush core-rsync @ccihiggs @ccidavinci
Daba error:
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/.": Operation not permitted (1)
rsync: failed to modify permissions on "/var/alternc/html/c/cci/www/cci.edu.uy/www/.": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/includes": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/misc": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/misc/farbtastic": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/aggregator": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/block": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/blog": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/blogapi": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/book": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/color": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/color/images": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/comment": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/contact": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/dblog": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/filter": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/forum": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/help": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/locale": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/menu": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/node": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/openid": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/path": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/php": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/ping": Operation not permitted (1)
01/15/2020 8/20
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/poll": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/profile": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/search": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/statistics": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/syslog": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/system": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/taxonomy": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/throttle": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/tracker": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/translation": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/trigger": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/update": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/upload": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/modules/user": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/profiles": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/profiles/default": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/scripts": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/sites": Operation not permitted (1)
rsync: failed to modify permissions on "/var/alternc/html/c/cci/www/cci.edu.uy/www/sites": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/sites/all": Operation not permitted (1)
rsync: failed to modify permissions on "/var/alternc/html/c/cci/www/cci.edu.uy/www/sites/all": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/sites/default": Operation not permitted (1)
rsync: failed to modify permissions on "/var/alternc/html/c/cci/www/cci.edu.uy/www/sites/default": Operation not permitted (1)
rsync: failed to set times on "/var/alternc/html/c/cci/www/cci.edu.uy/www/sites/default/files": Operation not permitted (1)
rsync: mkstemp "/var/alternc/html/c/cci/www/cci.edu.uy/www/sites/default/.default.settings.php.EbjVhm" failed: Permission denied (13)
rsync: recv_generator: mkdir "/var/alternc/html/c/cci/www/cci.edu.uy/www/sites/default/tmp" failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
Cambio permisos despues lo vuelvo atrás:
apias@DaVinci:/var/alternc/html/c/cci/www/cci.edu.uy$ sudo chown -R apias www
apias@DaVinci:/var/alternc/html/c/cci/www/cci.edu.uy/www$ chmod -R 775 sites/default/files
Ahora si funcionó la sincronización:
sudo drush core-rsync @ccihiggs @ccidavinci
Sincronización de la base de datos
sudo drush sql-sync @ccihiggs @ccidavinci --create-db
Pregunta si deseamos continuar y pide 5 veces o mas la passphrase.
Verificamos tener el sitio de la cci copiado: http://testing.cci.edu.uy/
01/15/2020 9/20
#16 - 05/06/2014 04:02 PM - Andrés Pías
Los dominios nueva.cci.ed.u.uy y pruebas.cci.edu.uy fueron configurados en el Alternc de Davinci.
Hice la clonación de sitios desde "nueva" a "pruebas" dentro del mismo servidor.
sudo drush sql-sync @ccidavinci @ccidavincipruebas --create-db
Luego de copiar la base de datos fue necesario ajustar nuevamente los permisos de acceso a las base de datos.
Como la herramienta site-upgrade no existía tuve que actualizar drush y luego descargar la herramienta:
apias@DaVinci:~$ sudo pear upgrade drush/drush
upgrade ok: channel://pear.drush.org/drush-6.2.0.0
sudo drush dl drush_sup
Project drush_sup (7.x-2.0-beta1) downloaded to [success]
Tuve que crear un nueva alias de drush con el nombre ccidavincipruebas, especificandole en el parámetro db-url, la base de datos a ser utilizada como
destino. Mirar este tutorial: http://duntuk.com/upgrade-drupal-6-drupal-7-using-drush-site-upgrade
Debido a que me impedia realizar la actualización además tuve que actualizar el core que tenía una versión anterior:
root@DaVinci:/var/alternc/html/c/cci/www/cci.edu.uy/www# drush pm-update drupal
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/suhosin.so' - /usr/lib/php5/20100525/suhosin.so: cannot open
shared object file: No such file or directory in Unknown on line 0
Name Installed Version Proposed version Message
Drupal 6.30 6.31 SECURITY UPDATE available
Update information last refreshed: Lun, 05/05/2014 - 14:43
Code updates will be made to drupal core.
WARNING: Updating core will discard any modifications made to Drupal core files, most noteworthy among these are .htaccess and robots.txt. If
you have made any modifications to these files, please back them up before updating so that you can re-create your modifications in the updated
version of the file.
Note: Updating core can potentially break your site. It is NOT recommended to update production sites without prior testing.
Do you really want to continue? (y/n): y
Project drupal was updated successfully. Installed version is now 6.31.
Backups were saved into the directory /root/drush-backups/webccipruebas/20140505175937/drupal. [ok]
No database updates required
[success]
Finished performing updates. [ok]
Navegue hasta donde se ubica el archivo de configuración del source www y corrí el upgrade:
root@DaVinci:/var/alternc/html/c/cci/www/cci.edu.uy/www# sudo drush site-upgrade @ccidavincipruebas
Elegí la opción 1:
[1] : Re-use the existing code: re-import the database from the source site and update core and contrib modules again.
01/15/2020 10/20
Luego salieron varios warnings. Mas adelante una lista de los modulos que no pueden ser actualizados porque no son compatibles con la version 7 y nos
advierte de que el upgrade podria fallar:
Gathering information about core and contrib modules...
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
UPGRADE.txt Major Upgrade Step 1
1. Check on the Drupal 7 status of your contributed and custom modules and themes. See http://drupal.org/node/948216 for information on
upgrading
contributed modules and themes. See http://drupal.org/node/895314 for a list of modules that have been moved into core for Drupal 7, and
instructions on
how to update them. See http://drupal.org/update/modules for information on how to update your custom modules, and
http://drupal.org/update/theme for
custom themes.
You may decide at this point that you cannot upgrade your site, because needed modules or themes are not ready for Drupal 7.
Project Título Instalado Available Estado
admin_menu Administration menu 6.x-1.8 - NO 7.x RELEASES
computed_field Computed Field 6.x-1.0 - NO 7.x RELEASES
cck Text 6.x-2.9 - NO 7.x RELEASES
link Link 6.x-2.11 - NO 7.x RELEASES
ctools Chaos tool suite (ctools) 6.x-1.11 - NO 7.x RELEASES
data Data 6.x-1.1 - NO 7.x RELEASES
date Date Timezone 6.x-2.9 - NO 7.x RELEASES
feeds Feeds News 6.x-1.0-beta13 - NO 7.x RELEASES
image ImageMagick Advanced Options 6.x-1.2 - NO 7.x RELEASES
img_assist Image assist 6.x-3.x-dev - NO 7.x RELEASES
inline Inline 6.x-1.0 - NO 7.x RELEASES
wysiwyg_filter WYSIWYG Filter 6.x-1.5 - NO 7.x RELEASES
l10n_update Localization update 6.x-1.0-beta3 - NO 7.x RELEASES
opengraph_meta Open Graph meta tags 6.x-1.7 - NO 7.x RELEASES
node_clone Clone module 6.x-1.3 - NO 7.x RELEASES
formfilter Formfilter UI 6.x-1.0 - NO 7.x RELEASES
imageblock Image Block 6.x-1.3 - NO 7.x RELEASES
job_scheduler Job Scheduler 6.x-1.0-beta3 - NO 7.x RELEASES
libraries Libraries 6.x-1.0 - NO 7.x RELEASES
lightbox2 Lightbox2 6.x-1.11 - NO 7.x RELEASES
masquerade Masquerade 6.x-1.9 - NO 7.x RELEASES
nice_menus Nice Menus 6.x-2.1 - NO 7.x RELEASES
pathauto Pathauto 6.x-1.6 - NO 7.x RELEASES
security_review Security Review 6.x-1.2 - NO 7.x RELEASES
site_map Site map 6.x-2.2 - NO 7.x RELEASES
taxonomy_defaults Taxonomy Defaults 6.x-2.1 - NO 7.x RELEASES
taxonomy_super_select Taxonomy Super Select 6.x-1.4 - NO 7.x RELEASES
token Token actions 6.x-1.19 - NO 7.x RELEASES
service_links Spanish Services 6.x-2.2 - NO 7.x RELEASES
captcha Image CAPTCHA 6.x-2.5 - NO 7.x RELEASES
recaptcha reCAPTCHA Mailhide 6.x-1.7 - NO 7.x RELEASES
wysiwyg Wysiwyg 6.x-2.4 - NO 7.x RELEASES
views Views UI 6.x-2.16 - NO 7.x RELEASES
views_bulk_operations Views Bulk Operations 6.x-1.16 - NO 7.x RELEASES
01/15/2020 11/20
views_slideshow Views Slideshow: ThumbnailHover 6.x-2.4+1-dev - NO 7.x RELEASES
webform Webform 6.x-3.20 - NO 7.x RELEASES
bundle_copy Bundle copy (content_copy) - NO 7.x RELEASES
field_permissions Field Permissions (content_permissions) - NO 7.x RELEASES
field_group Field Group (fieldgroup) - NO 7.x RELEASES
references References (nodereference,userreference) - NO 7.x RELEASES
Special notes about some of the projects you are using:
cck : The module nodereference in this project has no D7 version available, but there are multiple alternative projects that may be used instead.
Drush
picked references:node_reference, but entityreference also available. Run again with --preferred to select a different preference.
cck : The module userreference in this project has no D7 version available, but there are multiple alternative projects that may be used instead.
Drush
picked references:user_reference, but entityreference also available. Run again with --preferred to select a different preference.
cck : This project requires data migration or other special processing. Please see http://drupal.org/project/cck and http://drupal.org/node/895314
for
more information on how to do this.
dat : This project requires data migration or other special processing. The d6 version of the date_api module in the date project defines a table
called
e date_formats, which is also defined by system/system.install schema in d7. If this problem has not been fixed yet, then the updatedb function
will
fail, and it will not be possible to upgrade to d7. If this happens, disable and uninstall the date_api module before running site-upgrade (i.e.
add
'--uninstall=date_api' to site-upgrade call). See http://drupal.org/node/1013034.
tok : This project requires data migration or other special processing. In Drupal 7, the contrib token module handles UI, as well as field and
profile
en tokens; all other functionality has been migrated to core. You may encounter problems when enabling the token module during a major
upgrade; see
http://drupal.org/node/1477932.
Based on the contrib modules enabled in this site, it is possible that the site-upgrade command might fail. See warnings above.
[warning]
De todas formas, le dí que comenzará con el upgrade. Muestra los pasos que va realizando con información detallada. Avisa que debemos volver a copiar
nuestros propios archivos .htaccess y robots.txt porque fueron modificados, le di saltar ese paso.
Mas adelante nos avisa que va a copiar la estructura y los datos de la base de datos, le damos que si:
You will destroy data in webccipruebas and replace with data from webcci.
You might want to make a backup first, using the sql-dump command.
Do you really want to continue? (y/n): y
#17 - 05/07/2014 03:07 PM - Andrés Pías
Mas adelante la actualización nos consulta que modulos del drupal queremos actualizar. Inicialmente elegí la opción recomendada y lógica:
[5]:Automatically enable and upgrade all modules remaining in list. Pero se generaron muchos errores debido a que el sitio tenía modulos incompatibles
con la versión 7 que no se podían actualizar.
01/15/2020 12/20
Hice varias actualizaciones de módulos manualmente desde /www:
drush dl cck
drush dl field_group
drush dl node_reference
drush bulk_export
El único modulo que logro actualizarse de la lista, cambiandose de nombre al hacer el upgrade y quedar habilitado fue bulk_export. Luego de esto volví al
mismo menú de actualización de módulos:
Please select a module to upgrade, or some other action below:
[0] : Cancel
[1] : content (now renamed to cck) (Deps: field_ui)
[2] : fieldgroup (now renamed to field_group) (Deps: field,ctools) [[Error: failed to enable.]]
[3] : nodereference (now renamed to node_reference) (Deps: field,references,options) [[Error: failed to enable.]]
[4] : Automatically enable and upgrade all modules remaining in list
[5] : Show upgrade progress so far
[6] : Finish upgrade, leaving remaining modules un-upgraded
Luego elegí 5 para ver el progreso del upgrade (cómo quedó el drupal actualizado):
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Upgrade Progress
Current upgrade progress:
Upgrade status for: drush ccidavinci site-upgrade @ccidavincipruebas
The following extensions were successfully upgraded without any messages from updatedb:
bulk_export
core
The following contrib extesnions had problems:
field_group : Error: failed to enable.
node_reference : Error: failed to enable.
The following extensions were replaced with new extensions:
Old Module New Module
content : cck
content_copy : bundle_copy
content_permissions : field_permissions
fieldgroup : field_group
views_export : bulk_export
nodereference : node_reference
userreference : user_reference
The following contrib extesnions were not upgraded:
admin_menu image_gallery service_links
captcha image_im_advanced site_map
ccigiordani image_import spanish_services
clone imageblock taxonomy_defaults
computed_field img_assist taxonomy_super_select
ctools inline text
data job_scheduler token
01/15/2020 13/20
date l10n_update token_actions
date_api libraries views
feeds lightbox2 views_bulk_operations
feeds_import link views_slideshow
feeds_news masquerade views_slideshow_singleframe
feeds_ui nice_menus views_slideshow_thumbnailhover
formfilter number views_ui
formfilter_ui opengraph_meta webform
general_services pathauto wysiwyg
image recaptcha wysiwyg_filter
image_attach recaptcha_mailhide
image_captcha security_review
The following extensions have been newly added to the upgrade site:
date_timezone imageapi_imagemagick optionwidgets
filefield imagecache
imageapi imagecache_ui
imageapi_gd imagefield
The current stage is Upgrade Progress
El upgrade luego finaliza y siguen pasos posteriores a la actualización. Por ejemplo, elegimos la opción recomendada que deshabilita el módulo de
migración de contenido: [2] : Do not enable the content migrate module.
Este es el mensaje final que nos avisa de que todo salió bien:
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Upgrade Complete
Congratulations!
Your upgrade is now complete. There are still some things that you will need to do before your site is working and ready to go online.
* Upgrade your theme, or create a new one, perhaps using either zen or omega (both of which contain Drush commands to create a new theme
template)
* Consider using Drupal-to-Drupal migration to keep the content on your new site in sync with additions and changes made on the live site; see
http://drupal.org/sandbox/mikeryan/1234554. Since this is still a sandbox project, you may prefer to just run drush site-upgrade again to pull in new
content.
To see the status messages output by updatedb during the upgrade of your site, run:
drush @target-site site-upgrade-progress
Good luck with your upgraded site!
#18 - 05/07/2014 05:49 PM - Luis Alonzo Fulchi
01/15/2020 14/20
Ojo que la versión de drush de los repos siempre es más vieja. Conviene usar drush de acá: https://drupal.org/project/drush
#19 - 05/07/2014 05:55 PM - Luis Alonzo Fulchi
Entré a nueva, testing y pruebas y en ningún lugar encuentro un drupal 7 :/
#20 - 05/07/2014 07:34 PM - Andrés Pías
La actualización la hice en pruebas. Es raro que no haya funcionado por que los mensajes indican que se hizo de forma exitosa. Esto probablemente se
deba a el gran número de extensiones que no se pudieron actualizar:
You may decide at this point that you cannot upgrade your site, because needed modules or themes are not ready for Drupal 7.
Me base en este link: http://duntuk.com/upgrade-drupal-6-drupal-7-using-drush-site-upgrade
De todas formas mañana lo sigo mirando.
#21 - 05/15/2014 12:22 PM - Andrés Pías
Al seguir investigando veo que no hay ningún procedimiento totalmente automático para debian: https://wiki.debian.org/Drupal/Upgrade/From6To7. De
acá en más voy a aplicar esto para ver si funciona: https://drupal.org/node/570162
#22 - 06/09/2014 03:17 PM - Andrés Pías
- File Drupal-bd-migracionexitosa.png added
- File Drupal2doupdate2.png added
- Assignee changed from Andrés Pías to Daniel Viñar Ulriksen
- % Done changed from 80 to 90
Resumo lo trabajado los días Jueves, Viernes y hoy Lunes sobre el sitio pruebas.cci.edu.uy. El procedimiento que se aplicó fue:
https://drupal.org/node/570162
La última versión disponible del core de drupal es la 7.28. Drush está actualizado a la última versión.
Los modulos que no son del core fueron desactivados de la siguiente forma:
drush pm-disable `drush pm-list --no-core --type=module --pipe`
Se fue aplicando el procedimiento mencionado al pie de la letra. Es importante hacer notar que este implicó borrar todos los directorios y ficheros ubicados
en la raiz del sitio, a excepción del dir 'sites'
Remove all old core files and directories, except for the 'sites' directory and any custom files you added elsewhere.
Drupal fue obtenida desde los repositorios en su mas reciente versión (7.28), a través del comando:
drush dl drupal
01/15/2020 15/20
Luego de correr el script de update.php, el proceso fue exitoso:
Luego se hicieron varios respaldados de la base de datos y el sitio
Hubo que entrar con el usuario admin para poder acceder a los mdoulos, entonces, lo activé y le resetié la clave.
Al intentar habilitar nuevamente los módulos, no fue posible ya que ninguno era compatible con la version Drupal 7.x
drush pm-enable `drush pm-list --no-core --type=module --pipe`
Como no podía activar ningún módulo, ni funcionaba el site-upgrade y no quería descargar desde la página cada uno de los contrib moduls desde la
pagina de drupal, actualicé cada uno de los módulos con drush. Por ejemplo, para CCK:
drush dl cck
01/15/2020 16/20
Habilitación de módulos
Luego fui habilitando los módulos nuevamente. Ejecute lo sig varias veces:
drush pm-enable `drush pm-list --no-core --type=module --pipe`
Luego me fue pidiendo otros módulos que eran necesarios descargar por las dependencias entre ellos. Luego de descargados pudieron ser activados los
dependientes en el siguiente paso:
cck is already enabled. [ok]
content_migrate is already enabled. [ok]
filefield is incompatible with the Drupal version. [error]
filefield_meta is incompatible with the Drupal version. [error]
imagefield is incompatible with the Drupal version. [error]
img_assist is incompatible with the Drupal version. [error]
imagecache is incompatible with the Drupal version. [error]
imagecache_ui is incompatible with the Drupal version. [error]
clone is incompatible with the Drupal version. [error]
taxonomy_defaults is incompatible with the Drupal version. [error]
taxonomy_super_select is incompatible with the Drupal version. [error]
webform is incompatible with the Drupal version. [error]
Module migrate_example_oracle doesn't meet the requirements to be enabled. [error]
Migrating from an Oracle [error]
database requires that you have the oci8 extension loaded in PHP.
Como seguían habiendo módulos sin activar por incompatibles, guardé el listado en un archivo y borré las líneas correspondientes a: filefield, imagefield,
img_assist, imagecache, imagecache_ui, clone, taxonomy_defaults, taxonomy_super_select, webform
drush pml --no-core --type=module --status=disabled --pipe > modulos-dis-nocore.txt
Luego tuve que ejecutar varios veces el siguiente comando, porque algunos modulos dependen de que otros anteriores esten habilitados para arrancar:
cat modulos-dis-nocore.txt | xargs drush -y en
Algunos errores generados en los primeros intentos de habilitar:
PHP Fatal error: Call to undefined function taxonomy_save_vocabulary() in
/var/alternc/html/c/cci/www/cci.edu.uy/pruebas/sites/all/modules/image/contrib/image_gallery/image_gallery.install on line 21
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function taxonomy_save_vocabulary() in
/var/alternc/html/c/cci/www/cci.edu.uy/pruebas/sites/all/modules/image/contrib/image_gallery/image_gallery.install,
line 21
xargs: drush: acabó con status 255; abortando
apias@DaVinci:/var/alternc/html/c/cci/www/cci.edu.uy/pruebas/sites$ cat modulos-dis-nocore.txt | xargs drush -y en
The following extensions will be enabled: image_import, inline, l10n_update, imageblock, libraries, nice_menus, pathauto, site_map, token,
spanish_services, views_bulk_operations, views_slideshow, views_ui
Do you really want to continue? (y/n): y
WD php: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table [error]
'webccipruebas.cache_panels' doesn't exist: TRUNCATE {cache_panels} ; Array()in cache_clear_all() (line 165 of
/var/alternc/html/c/cci/www/cci.edu.uy/pruebas/includes/cache.inc).
Cannot modify header information - headers already sent by (output started at [warning]
/usr/share/php/drush/includes/output.inc:38) bootstrap.inc:1217
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'webccipruebas.cache_panels' doesn't exist:
TRUNCATE {cache_panels} ; Array()
in cache_clear_all() (line 165 of /var/alternc/html/c/cci/www/cci.edu.uy/pruebas/includes/cache.inc).
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/suhosin.so' -
/usr/lib/php5/20100525/suhosin.so: cannot open shared object file: No such file or directory in
Unknown, line 0
Para la última ejecución:
admin_menu is already enabled. [ok]
ctools is already enabled. [ok]
data is already enabled. [ok]
data_ui is already enabled. [ok]
data_search is already enabled. [ok]
01/15/2020 17/20
schema is already enabled. [ok]
date is already enabled. [ok]
date_api is already enabled. [ok]
feeds is already enabled. [ok]
feeds_ui is already enabled. [ok]
feeds_import is already enabled. [ok]
feeds_news is already enabled. [ok]
computed_field is already enabled. [ok]
link is already enabled. [ok]
image_attach is already enabled. [ok]
image_gallery is already enabled. [ok]
image_import is already enabled. [ok]
image_im_advanced is already enabled. [ok]
imageapi is already enabled. [ok]
imageapi_gd is already enabled. [ok]
imageapi_imagemagick is already enabled. [ok]
inline is already enabled. [ok]
wysiwyg_filter is already enabled. [ok]
l10n_update is already enabled. [ok]
opengraph_meta is already enabled. [ok]
formfilter is already enabled. [ok]
formfilter_ui is already enabled. [ok]
imageblock is already enabled. [ok]
job_scheduler is already enabled. [ok]
libraries is already enabled. [ok]
masquerade is already enabled. [ok]
nice_menus is already enabled. [ok]
pathauto is already enabled. [ok]
security_review is already enabled. [ok]
site_map is already enabled. [ok]
token is already enabled. [ok]
panels is already enabled. [ok]
service_links is already enabled. [ok]
general_services is already enabled. [ok]
spanish_services is already enabled. [ok]
captcha is already enabled. [ok]
image_captcha is already enabled. [ok]
recaptcha is already enabled. [ok]
recaptcha_mailhide is already enabled. [ok]
lightbox2 is already enabled. [ok]
wysiwyg is already enabled. [ok]
views is already enabled. [ok]
views_bulk_operations is already enabled. [ok]
views_slideshow is already enabled. [ok]
views_ui is already enabled. [ok]
There were no extensions that could be enabled. [ok]
Segundo update
Nota: site-upgrade no se puede ejecutar porque necesita tener un core 6
Luego corrí de nuevo update.php, necesario luego de actualizar módulos, que si bien resulto exisoto, generó 3 errores:
Notice: Undefined index: formfilter_id in formfilter_ui_form_alter() (line 102 of
/var/alternc/html/c/cci/www/cci.edu.uy/pruebas/sites/all/modules/formfilter/formfilter_ui/formfilter_ui.module).
Notice: Undefined index: #suffix in formfilter_ui_form_alter() (line 112 of
/var/alternc/html/c/cci/www/cci.edu.uy/pruebas/sites/all/modules/formfilter/formfilter_ui/formfilter_ui.module).
Notice: Undefined index: formfilter_id in formfilter_ui_form_alter() (line 125 of
/var/alternc/html/c/cci/www/cci.edu.uy/pruebas/sites/all/modules/formfilter/formfilter_ui/formfilter_ui.module)
Solucionado con un parche: https://drupal.org/files/formfilter.patch
Notice: Use of undefined constant IMAGE_THUMBNAIL - assumed 'IMAGE_THUMBNAIL' in image_attach_theme() (line 544 of
/var/alternc/html/c/cci/www/cci.edu.uy/pruebas/sites/all/modules/image/contrib/image_attach/image_attach.module).
Notice: Use of undefined constant IMAGE_THUMBNAIL - assumed 'IMAGE_THUMBNAIL' in image_attach_theme() (line 544 of
/var/alternc/html/c/cci/www/cci.edu.uy/pruebas/sites/all/modules/image/contrib/image_attach/image_attach.module)
Aún sin solución.
Y el más importante:
01/15/2020 18/20
El cual representa un problema que aún no tiene mucha solución según:
https://drupal.org/node/1163740#comment-6857282 y https://drupal.org/node/1822930
Content Migrate
Luego continúe con la migración de los campos utilizados en los contenidos del sitio a la nueva versión D7.
Verifique que el único campo de texto del sitio tuviera definido un size de caractares: field_colgado
Esta etapa se realiza con el Content Migrate, desde aquí: http://pruebas.cci.edu.uy/admin/structure/content_migrate
Aplique el tuto: https://drupal.org/node/1144136
Seleccioné todos los campos, y presioné Migrate selected fields
Este el log resultante:
Changed field type: The 'field_adjunto' field type will be changed from 'filefield' to 'file'.
Created field field_adjunto
Created instance of field_adjunto in bundle Página.
Created instance of field_adjunto in bundle Entrada de blog.
Created instance of field_adjunto in bundle Convocatoria.
Created instance of field_adjunto in bundle Noticia.
Changed field type: The 'field_header_image' field type will be changed from 'filefield' to 'image'.
Created field field_header_image
Missing widget: The 'image' widget is not available for the field_header_image field, it will be set to the default widget.
Missing formatter: The 'preview_linked' formatter used in 1 view modes for the field_header_image field is not available, these displays will be
reset to the default formatter.
Missing formatter: The 'imagefield__lightbox2__preview__original' formatter used in 2 view modes for the field_header_image field is not
available, these displays will be reset to the default formatter.
Created instance of field_header_image in bundle Entrada de blog.
Missing widget: The 'image' widget is not available for the field_header_image field, it will be set to the default widget.
Missing formatter: The 'preview_linked' formatter used in 1 view modes for the field_header_image field is not available, these displays will be
reset to the default formatter.
Missing formatter: The 'imagefield__lightbox2__preview__original' formatter used in 2 view modes for the field_header_image field is not
available, these displays will be reset to the default formatter.
Created instance of field_header_image in bundle Noticia.
Created field field_periodo
Created instance of field_periodo in bundle Convocatoria.
Created field field_link
Created instance of field_link in bundle Elemento de canal de noticias.
Changed field type: The 'field_listar' field uses a 'optionwidgets_onoff' widget. The field type will be changed from 'number_integer' to
'list_boolean'.
Created field field_listar
Created instance of field_listar in bundle .
01/15/2020 19/20
Created field field_colgado
Missing formatter: The 'text_hidden' formatter used in 3 view modes for the field_colgado field is not available, these displays will be reset to the
default formatter.
Created instance of field_colgado in bundle Noticia.
Changed field type: The 'field_galery_image' field type will be changed from 'filefield' to 'image'.
Created field field_galery_image
Missing widget: The 'image' widget is not available for the field_galery_image field, it will be set to the default widget.
Missing formatter: The 'hidden' formatter used in 1 view modes for the field_galery_image field is not available, these displays will be reset to the
default formatter.
Missing formatter: The 'imagefield__lightshow2__thumb__original' formatter used in 2 view modes for the field_galery_image field is not
available, these displays will be reset to the default formatter.
Created instance of field_galery_image in bundle Noticia.
Missing widget: The 'image' widget is not available for the field_galery_image field, it will be set to the default widget.
Missing formatter: The 'imagefield__lightshow2__thumb__original' formatter used in 3 view modes for the field_galery_image field is not
available, these displays will be reset to the default formatter.
Created instance of field_galery_image in bundle Página.
Mas errores
Había varias páginas de la administración que fallaban, porque se generaban errores PHP de fondo, como por ejemplo, la de Status Report, por lo que
tuve que desactivar image_import para que funcionaran:
[Mon Jun 09 12:32:25 2014] [error] [client 164.73.60.200] PHP Fatal error: Call to undefined function file_check_directory() in
/var/alternc/html/c/cci/www/cci.edu.uy/pruebas/sites/all/modules/image/contrib/image_import/image_import.install on line 17
Como si fuera poco, en este nueva versión ya no existe más el theme Giordani, o mejor dicho no es compatbile con Drupal 7.
Descargué de nuevo Marinelli version 7 y le copie dentro el directorio del tema CCIGiordani pero no funciona porque sigue siendo drupal 6. O sea hay que
hacer trabajo extra para adaptar los nuevos templates al tema de la CCI.
Por lo que leí, para Drupal 8 la cosa estará un poco mas aceitada, ya que se le dará la atención necesaria a la migración desde drupoal 6.
Nunca pensé que la migración de un sitio PHP llevara tanto trabajo. Te la paso Daniel para que veas si seguimos invirtiendo tiempo ahora o esperamos a
que salga Drupal 8.
#23 - 10/21/2014 09:25 AM - Daniel Viñar Ulriksen
- Assignee changed from Daniel Viñar Ulriksen to CCI web
#24 - 05/21/2015 01:53 PM - Ivan Padula
- Status changed from En curso to Cerrada
- % Done changed from 90 to 100
#25 - 07/20/2015 08:08 PM - Ivan Padula
Se intento migrar contenido de drupal 6 al drupal 7. ver tarea
Se llevo una copia para solicitar asistencia con experto de drupal (centro linux), no se puedo migrar por tener componentes desactualizado y que no existe
para drupal 7
Files
Drupal-bd-migracionexitosa.png 90.7 KB 06/09/2014 Andrés Pías
Drupal2doupdate2.png 34.6 KB 06/09/2014 Andrés Pías
01/15/2020 20/20