Warning avec drush up

Information importante

En raison d'un grand nombre d'inscriptions de spammers sur notre site, polluant sans relache notre forum, nous suspendons la création de compte via le formulaire de "sign up".

Il est néanmoins toujours possible de devenir adhérent•e en faisant la demande sur cette page, rubrique "Inscription" : https://www.drupal.fr/contact


De plus, le forum est désormais "interdit en écriture". Il n'est plus autorisé d'y écrire un sujet/billet/commentaire.

Pour contacter la communauté, merci de rejoindre le slack "drupalfrance".

Si vous voulez contacter le bureau de l'association, utilisez le formulaire disponible ici, ou envoyez-nous un DM sur twitter.

Hello,

Voici la sortie que j'ai dans mon terminal lorsque j'ai fait un drush up ce matin :

drush up
Error while trying to find the common path for enabled extensions of project omega. Extensions are: alpha, omega, mytheme,                      [error]
starterkit_alpha_xhtml, starterkit_omega_html5, starterkit_omega_xhtml.
Update information last refreshed: sam, 19/11/2016 - 05:35
Name                                                         Installed Version  Proposed version  Message               
Media (media)                                                7.x-2.0-beta7      7.x-2.0-beta8     Mise à jour disponible
Module Missing Message Fixer (module_missing_message_fixer)  7.x-1.1            7.x-1.2           Mise à jour disponible

Code updates will be made to the following projects: Media [media-7.x-2.0-beta8], Module Missing Message Fixer [module_missing_message_fixer-7.x-1.2]

Note: A backup of your project will be stored to backups directory if it is not managed by a supported version control system.
Note: If you have made any modifications to any file that belongs to one of these projects, you will have to migrate those modifications after updating.
Do you really want to continue with the update process? (y/n): y
Project media was updated successfully. Installed version is now 7.x-2.0-beta8.
Backups were saved into the directory /home/floown/drush-backups/admin_publicitem/20161119043521/modules/media.                                   [ok]
Project module_missing_message_fixer was updated successfully. Installed version is now 7.x-1.2.
Backups were saved into the directory /home/floown/drush-backups/admin_publicitem/20161119043521/modules/module_missing_message_fixer.            [ok]
The following module is missing from the file system: <em class="placeholder">media_wysiwyg_view_mode</em>. For information about how to fix this, [warning]
see <a href="https://www.drupal.org/node/2487215">the documentation page</a>. bootstrap.inc:1128
4 byte UTF-8 for mysql is disabled. See the documentation on adding 4 byte UTF-8 support for more information. (Currently using Database 4 byte    [warning]
UTF-8 support Disabled)
Media_wysiwyg  7205  Install {media_restrict_wysiwyg} and {media_view_mode_wysiwyg}.   Remove variables media_wysiwyg_view_mode_%.   Uninstall
                      media_wysiwyg_view_mode module.
Do you wish to run all pending updates? (y/n): y
4 byte UTF-8 for mysql is disabled. See the documentation on adding 4 byte UTF-8 support for more information. (Currently using Database 4 byte    [warning]
UTF-8 support Disabled)
The following module is missing from the file system: <em class="placeholder">media_wysiwyg_view_mode</em>. For information about how to fix this, [warning]
see <a href="https://www.drupal.org/node/2487215">the documentation page</a>. bootstrap.inc:1128
Performed update: media_wysiwyg_update_7205                                                                                                        [ok]
'all' cache was cleared.                                                                                                                           [success]
Finished performing updates.

Comment régler les warning un après l'autre svp ?

J'ai bien tenté :

$ drush dis media_wysiwyg_view_mode           
There were no extensions that could be disabled.                                                                                                   [ok]
$ drush pm-uninstall media_wysiwyg_view_mode
Module media_wysiwyg_view_mode was not found and will not be uninstalled.                                                                          [warning]
There were no modules that could be uninstalled.

C'est un problème connu depuis quelques temps.

En fait il reste dans la table system des traces de modules qui ont été désinstallés ou supprimés dans les répertoires.

On peut vérifier avec une requête :

select filename, name, type, status from system where name = 'media_wysiwyg_view_mode' ;

Si le status est égal à 0, le module n'est pas actif.
Si le répertoire n'existe pas, on peut alors le supprimer de la table system :

delete from system where type = 'module' and name = 'media_wysiwyg_view_mode' ;