Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm getting an error when this module is installed:
The specified file temporary://fileJ9P0fg could not be moved/copied [error]
because the destination directory is not properly configured.
This error doesn't actually appear to be fatal, but is causing configuration import (when the module is freshly enabled) to fail, which is causing our CI builds to fail. It appears to be coming from google_tag_install(), which attempts to save snippets to a directory that hasn't been created yet.
Comment | File | Size | Author |
---|---|---|---|
#2 | google_tag-install_error.patch | 607 bytes | rbayliss |
Comments
Comment #2
rbayliss CreditAttribution: rbayliss at Last Call Media commentedComment #3
solotandem CreditAttribution: solotandem commentedDuplicate of #2879444: Module installation does not work when enabled through config synchronization. The problem would seem to be the installer code does not do what core does, i.e check hook_requirements(). These installers would fail to install core as it does exactly the same thing (creates directory in hook_requirements() not in hook_install()).