Opened 7 months ago

Last modified 6 months ago

#13691 assigned Bug/Something is broken

Problemas con lavida.org.mx

Reported by: https://id.mayfirst.org/jaimev Owned by: https://id.mayfirst.org/jaimev
Priority: Medium Component: Tech
Keywords: drupal, media-gallery, gaspar Cc: Gerardo, Alatorre, <geralatorre@…>, Carlos, del, Campo, <huizache@…>, Alejandra, Parás, <alejandra.paras@…>, https://id.mayfirst.org/lavida-riaaver, https://id.mayfirst.org/jamie
Sensitive: no

Description

Hace unas semanas identificamos que este sitio aun no había aplicado un patch de seguridad muy urgente del software drupal. Tuvimos que aplicar la actualización manualmente pero parece que hay algún problema con la actualización del modulo media_gallery que es lo que provoca los errores en el diseño del sitio.

He intentado desinstalar y instalar es modulo con drush pero no he tenido éxito. Estoy copiando a otro compañero de soporte aquí.

---

A few weeks ago we had to force the upgrade of this site since it had not applied the Drupal security patches. Howwver there was a problem with the media_gallery module that the site depends on.

I attempted to help them by uninstalling the media_galley and media module and module sthat depended on them but I am unable to install them again now.

0 huizache_2018@gaspar:~/lavida.org.mx/web$ drush en media , media_internet, media_oembed, media_oembed_thumbnail_style, media_youtube, media_browser_plus, media_gallery, rotating_banner
Module media_gallery cannot be enabled because it depends on media  (<1.99) but 2.18 is available

Any ideas?

Change History (7)

comment:1 Changed 7 months ago by https://id.mayfirst.org/jaimev

  • Owner set to https://id.mayfirst.org/jaimev
  • Status changed from new to assigned

Geraro me comunicado por correo: Les pedimos sacarla de línea, y poner una página temporal: "Este sitio está en reparación"

Si me pueden ppasar un archivo html con el aviso que desean colocar lo puedo copiar a sus archivos.

comment:2 Changed 6 months ago by https://id.mayfirst.org/jamie

  • Resolution set to fixed
  • Status changed from assigned to feedback

I think you'll want to install the dev version of media gallery (judging from the notes on the project page here: https://www.drupal.org/project/media_gallery).

I got it to work with:

1 huizache_2018@gaspar:~/lavida.org.mx/web$ drush dl media_gallery-7.x-2.x-dev
Project media_gallery (7.x-2.x-dev) downloaded to /home/members/lavida-riaaver/sites/lavida.org.mx/web/sites/all/modules/contrib/media_gallery.                                      [success]
0 huizache_2018@gaspar:~/lavida.org.mx/web$ drush en media , media_internet, media_oembed, media_oembed_thumbnail_style, media_youtube, media_browser_plus, media_gallery, rotating_banner
The following extensions will be enabled: media, media_internet, media_oembed, media_oembed_thumbnail_style, media_youtube, media_browser_plus, media_gallery, rotating_banner, file_entity, media_bulk_upload
Do you really want to continue? (y/n): y
file_entity was enabled successfully.                                                                                                                                                [ok]
file_entity defines the following permissions: bypass file access, administer file types, administer files, create files, view own private files, view own files, view private files, view files, edit own image files, edit any image files, delete own image files, delete any image files, download own image files, download any image files, edit own video files, edit any video files, delete own video files, delete any video files, download own video files, download any video files, edit own audio files, edit any audio files, delete own audio files, delete any audio files, download own audio files, download any audio files, edit own document files, edit any document files, delete own document files, delete any document files, download own document files, download any document files
media was enabled successfully.                                                                                                                                                      [ok]
media defines the following permissions: administer media browser, access media browser
media_browser_plus was enabled successfully.                                                                                                                                         [ok]
media_bulk_upload was enabled successfully.                                                                                                                                          [ok]
media_bulk_upload defines the following permissions: import media
media_gallery was enabled successfully.                                                                                                                                              [ok]
media_gallery defines the following permissions: administer media galleries
media_internet was enabled successfully.                                                                                                                                             [ok]
media_internet defines the following permissions: add media from remote sources
media_oembed was enabled successfully.                                                                                                                                               [ok]
media_oembed_thumbnail_style was enabled successfully.                                                                                                                               [ok]
media_youtube was enabled successfully.                                                                                                                                              [ok]
rotating_banner was enabled successfully.                                                                                                                                            [ok]
0 huizache_2018@gaspar:~/lavida.org.mx/web$ 

comment:3 Changed 6 months ago by https://id.mayfirst.org/jamie

  • Resolution fixed deleted
  • Status changed from feedback to assigned

Hm - still not working porpery. I got this message in the error logs (and a white screen of death):

[Thu May 10 13:13:08.475322 2018] [proxy_fcgi:error] [pid 6342:tid 140611558487808] [client 142.255.81.111:56058] AH01071: Got error 'PHP message: PHP Fatal error:  Call to a member function getSlides() on boolean in /home/members/lavida-riaaver/sites/lavida.org.mx/web/sites/all/modules/contrib/rotating_banner/rotating_banner.module on line 415\n

So, I disabled rotating_banner module.

Now the site loads, but the media galleries are still not displaying properly. I think it might be something that needs to be configured from within drupal? Like the input formats?

comment:4 Changed 6 months ago by https://id.mayfirst.org/jaimev

Recibi otro correo de Gerardo hoy pidiendo un usuario y contraseña para administrar el sitio. Acceso al sitio de drupal en sí es algo normalmente gestionado por los miembros ya que estos datos son controlados por la base de de datos del sitio drupal directamente y no através de panel de control de May First. Sin embargo, creo que puedo acceder al servidor donde esta el sitio y utilizar la utilidad drush para generar un nuevo usuario para el sitio o cambiar la contraseña de uno que ya existe. Les aviso si tengo suerte con este paso.

comment:5 Changed 6 months ago by https://id.mayfirst.org/jaimev

Con drush pude utilizar drush para generar una url especial que te permite entrar como un usuario y cambiar su contraseña de una vez. Lo he generado para la cuenta de gerardo y enviado a su correo.

0 huizache_2018@gaspar:~/lavida.org.mx/web$ drush uli Geralatorre

comment:6 Changed 6 months ago by https://id.mayfirst.org/jaimev

Este mañana estoy intentando mover algunas cosas de la configuración para ver si puedo hallar con el problema. Voy a modificar el tema del sitio temporalmente.

comment:7 Changed 6 months ago by https://id.mayfirst.org/jaimev

Creo que he logrado avanzar en algo.

Vi que habia un usuario huizache asignado como administrador que nunca fue usado entonces generé un enlace de acceso igual como la que envié a gerardo para acceder al interfaz del sitio. Ahí en revisé el status del sitio http://lavida.org.mx/admin/reports/status y vi que faltaba correr una actualización en la base de datos del sitio. Este paso estaba fallando debido a errores en el modulo oembed. Desactivé el modulo oembedcore y sus dependencias media_oembed y media_oembed_thumbnail_style y ya pude correr alas actualizaciones a la base de datos lo cual parece haber resuelto el problema de convertir los tags de del modulo de medi en html y ahora el sitio carga las imágenes correctamente. Volví a activar los modules que deshabilite y todo sigue funcionando bien.

Please login to add comments to this ticket.

Note: See TracTickets for help on using tickets.