d7.55アプデでエラー続出

s-jack's picture

D7.54から7.55にdrush upcしたところ、
How to fix "The following module is missing from the file system..." warning messages
がかなりのコントリビュートモジュールで表示するようになりました。
drush upc以前にコントリビュートモジュールをアップデートせずにcoreを先にあげたからかもしれません。

困り果てていろいろと探してい途方に暮れていましたが、
How to fix "The following module is missing from the file system..." warning messages
に書かれているとおり、エラーがありそうなモジュールをかたっぱしからdrush dlし直したところエラーは消えました。
こんなに多数のコントリビュートモジュールがファイルがなくなったりおかしくなったりすることあるんでしょうか。。。

で、1つ問題があり、ブラウザ上はcore が7.54のままで、7.55にアプデするように表示してくれますが、drushを叩くと7.55になっていて、drush pmiもdrush upも反応しません。

drush でcoreだけ強制に上書きすることはできないでしょうか。。。
ソースダウンロードしてcoreモジュールを上書きしかないですかね。。。

Comments

エラーはdrush

s-jack's picture

エラーはdrush updbかけた時でした。
これだけ大量に出ます。
モジュールの使い方を調べるためにかなりコントリビュートモジュールを入れています。
The following module is missing from the file system: access_unpublished. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: acl. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: acquia_agent. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: acquia_spi. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: admin_users. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: autoassignrole. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: auto_entitylabel. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: better_revisions. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: ckeditor. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: colorbox. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: composer_manager. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: computed_field. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: content_access. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: content_access_rules. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: date_range_formatter. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: dialog. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: diff. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: disable_field. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: drafty. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: dummyimage. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: email_registration. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: entityreference_view_widget. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: entity_embed. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: field_permissions. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: filefield_sources. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: file_entity. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: file_entity_preview. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: flag_abuse. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: hashtag_taxonomy_formatter. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: imagemagick. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: imce. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: languagefield. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: leaflet_mapbox. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: leaflet_markercluster. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: lingotek. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: linkit. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: masquerade. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: media. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: mediafield. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: media_bulk_upload. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: media_fevm. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: media_flickr. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: media_gallery. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: media_instagram. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: media_internet. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: media_vimeo. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: media_wysiwyg. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: media_wysiwyg_view_mode. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: media_youtube. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: metatag. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: multiform. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: multiple_registration. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: nearby_places_search. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: nodeviewcount. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: pdfpreview. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: places_api_autocomplete. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: plupload. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: potx. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: publishcontent. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: quickedit. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: quicktabs. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: range. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: rate. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: realname. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: references. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: remote_file_source. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: remote_stream_wrapper. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: role_delegation. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: search_api. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: select2widget. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: shield. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: shs. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: statistics_counter. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: subuser. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: subuser_switch. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: subuser_ui. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: taxonomy_manager_lite. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: taxonomy_term_statistics. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: taxonomy_unique. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: term_search. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: title. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: translation_helpers. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: video_embed_field. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: view_modes_display. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: visitors. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: votingapi. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: webclient. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: webclient_formatters. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: weight. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: workbench_access. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: workbench_moderation. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: workflow. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: workflow_access. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: wysiwyg. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: yelp_api. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: yelp_blocks. For information about how to fix this, see the documentation page. bootstrap.inc:1143
The following module is missing from the file system: zencoderapi. For information about how to fix this, see the documentation page. bootstrap.inc:1143

コアの更新はまだ解決されてません。

drush archive-backup と drush

s-jack's picture

drush archive-backup と drush archive-restore が便利なのを初めて知り、
また、drush up で自動のバックアップはDBは含まれてないのを知ったので、
drush archive-backupをした上で、drushが自動バックアップしたコアファイルを戻してみようと思いました。

d7.54からd7.55にあげた時にエラーが出始めているので、coreはセキュリティアップデートでDBは変更ないと思い、drush up時のバックアップを上書きしてキャッシュをクリアーすると、レポート>サイトの状態ではd7.54に戻りました。
次にdrush upsしてみると、d7.51と表示されます。

前置きが長くなりましたが、
d7のコアバージョンはどのファイルを見れば良いのでしょうか?
どのdrush upでのバックアップがどのバージョンなのかを探りたいです。

These errors happen when

mparker17's picture

These errors happen when there are extra rows in the system database table which refer to modules which have been deleted or moved since the row was created.

If you are getting an error for a module that you have deleted, then it would be better to try to restore the missing module and uninstall it using the regular uninstall process, and then delete it again, because many modules do important cleanup tasks during the disable/uninstall process.

However, in my case, when I created my site, I had installed modules to sites/default/modules; then later, I had moved those modules inside of a contrib folder, i.e.: the modules were still being used, so it was not possible for me to uninstall the module, because I would lose data!

The Module Missing Message Fixer module looks through the system table for rows that refer to modules which have been deleted or moved, and deletes those rows. This was the best solution for my site because I was still using the modules: I had just moved them.

(I hope this answers your question: my native language is English and I'm reading your question through Google Translate)

Hi,

s-jack's picture

Hi, mparker17.
情報いただきありがとうございます。
5.54以前には少しのメッセージは出たことはありました。
モジュールのインストール、アンインストールはdrushを通して行っており、これだけ大量のモジュールについてエラーメッセージが出ることが不可解です。

原因として思いつくのは、coreを7.54から7.55にアップデートしたときに、なんらかの理由で失敗したのかもしれません。
Macbook AirのAcquia dev desktop 2を使っていますが、メモリーを消費するので、なにか動きに問題があったとか。

私は初心者なので、ログの調べ方などまだ知識がありません。
本当は、その都度drush archive-backupをしておけばよかったです。
Drushの自動バックアップは、datebaseは対象外のようなのを最近知りました。

Module Missing Message Fixerをインストールしてみようと思います。
(私もあなたの投稿はGoogle Translateで理解しました!)

Module Missing Messege

s-jack's picture

Module Missing Messege Fixerをインストールしました。
まだなにも実行していませんが、

User warning: The following module is missing from the file system: module_missing_message_fixer. For information about how to fix this, see the documentation page (link is external). in _drupal_trigger_error_with_delayed_logging() (line 1138 of /Users/hogehoge/Sites/devdesktop/fugafuga/docroot/includes/bootstrap.inc).

というアラートが出ました。
インストールして直後であるのに。

drupalは壊れましたか?

I agree that it is strange

mparker17's picture

I agree that it is strange that Drush would cause issues in this way.

I can think of a few things that would cause this problem; so please bear with me as I ask a few questions to help me understand:

  1. Are you using symbolic links (symlinks / ln -s $source $destination) to make your site appear to be in a different place? Or, are you using drush archive-backup to copy a site from a remote server to your laptop (or from your laptop to a remote server), or between different sites on your laptop? If so, then it is possible that these errors occur because Drupal sometimes sees itself at different places.

  2. When you uninstall a module with Drush, do you run both drush pm-disable $module_name && drush pm-uninstall $module_name? pm-disable turns off the module, but all of its database tables, variables, and its row in the system table remain. pm-uninstall deletes the module's database tables, variables, and its row in the system table. You need to run both pm-disable AND pm-uninstall before deleting a module from the filesystem.


Drupal 7's internal logs are stored in the watchdog database table; which you can view inside Drupal at the URL /admin/reports/dblog.

Sometimes, if Drupal encounters an error before its internal logging systems have been fully set up, the error message will be stored in the PHP error log instead. You can find out where this log file is by going to /admin/reports/status, clicking on (more information) next to the PHP version, and looking for the error_log setting.

s-jack's picture

mparker17さん、お返事遅くなりごめんなさい。

  1. Symlinksは意図的に作成したことはありません。ただ、Acquia dev desktop2を使ってdrupal7を若いバージョン時にインストールし、Acquia Dev Desktop2の設定でsymlinksが存在するようです。
    symlinksがなぜあるのか理解できていません。

2.モジュールをアンインストールするときは、UIで行うか、Drush pmuしたことしかありません。
UIはアンインストールする前に無効化しなければアンインストールはできず、Drushでも Drush disをせずにいきなりDrush pmuできるのかわかりませんが、もしかするとDrush pmuしたことが何回かあるかもしれません。
仮にそのような正式な手順を経ずにアンインストールをしたモジュールのみエラーが出るなら理解できますが、前の投稿のように大量にモジュールのエラーが出るのか不可解です。

watchdogについて教えていただきありがとうございました。
Logはよく見ているのですが、Logを識別する知識がないので、活かせていないのが現状です。

日本 コミュニティ: Drupal Japan User Group

Group organizers

Group categories

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: