Acquia CMS Update Issue for Google analytics module

Created on 7 July 2023, over 1 year ago
Updated 25 July 2023, over 1 year ago

Problem/Motivation

After updating Acquia CMS to latest on version 2, I received issue for Google_analytics module. As Google analytics module is removed from the google tag still there is dependency defined on acquia_cms.info.yml file.

Steps to reproduce

  1. Update Acquia CMS using composer update command
  2. Perform Database update using drush or update.php.


Proposed resolution

Remove dependency from the acquia_cms.info.yml.

name: "Acquia CMS"
package: "Acquia CMS"
description: "An opinionated implementation of Drupal 9 for running low code websites in the Acquia platform."
type: module
core_version_requirement: ^9 || ^10
version: '2.2.0'
dependencies:
  - acquia_cms_article:acquia_cms_article
  - acquia_cms_document:acquia_cms_document
  - acquia_cms_event:acquia_cms_event
  - acquia_cms_page:acquia_cms_page
  - acquia_cms_search:acquia_cms_search
  - acquia_cms_site_studio:acquia_cms_site_studio
  - acquia_cms_toolbar:acquia_cms_toolbar
  - acquia_cms_tour:acquia_cms_tour
  - acquia_cms_video:acquia_cms_video
  - google_tag:google_tag
  - drupal:history
  - honeypot:honeypot
  - recaptcha:recaptcha
🐛 Bug report
Status

Closed: duplicate

Component

Code

Created by

🇮🇳India akhilsoni Ahmedabad

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @akhilsoni
  • 🇮🇳India rajeshreeputra Pune

    @akhilsoni, I don't see the google_analytics dependency in acquia_cms.info.yml, as per the issue description.
    Is there any steps to reproduce the issue?

  • 🇮🇳India akhilsoni Ahmedabad

    Hello Rajesh

    At that time I was trying to update Acquia CMS and its dependencies to the Latest version. I was facing issue related to google analytics. I saw that in the older version I was not able to uninstall the module because in the Older version Google Analytics was mentioned there in the acquia_cms.info.yml file. So First I have updated the Acquia CMS and tried to run Database Update and while I can see this below mentioned error.

    [error] (Currently using Missing or invalid module The following module is marked as installed in the core.extension
    configuration, but it is missing:
    * google_analytics

    That is the reason why I have created this ticket. Now this problem is solved. Closing this issue

    Thank you

  • Status changed to Closed: duplicate over 1 year ago
Production build 0.71.5 2024