How to find the cause of 'The following module has moved within the system'? I can't get rid of this message whenever I install a module, it shows:


  User warning: The following module has moved within the file system: [modulename]. In order to fix this, clear caches or put the module back in its original location. For more information, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1138 of /data/all/000/core/drupal-7.54.2/includes/bootstrap.inc).


I read the documentation mentioned, but cannot find a module that could cause this.

What would be the right way to find the cause?
It might be tough to find the module that causes your error message.

However, you may want to have a look at 'How to fix "The following module is missing from the file system..." warning messages' which describes a few possible causes and corresponding solutions, such as:


You removed a module from the file system without disabling and uninstalling it.
You moved the module inside your Drupal installation.
Leftover fields or other configuration entries.
Obsolete modules existed from a previous Drupal version.
There is a bug in a module installed on your site.


The one I ever used in the past (to get rid of that message) is to use the module 'Module Missing Message Fixer' (also mentioned on that same page).