Route "webform.addons" does not exist.

Created on 9 September 2024, 3 months ago

Problem/Motivation

Unable to deploy branches into my hosting platform

Using Drupal 10.3.2. The main issue is I cannot successfully deploy from GitHub to my hosting platform. There is an error message in the log during the Post-rollout.

BEGIN Post-Rollout drush updb
##############################################
Executing task 'drush updb' in pod cli-68d4f64b8b-9b4kc

In RouteProvider.php line 208:

Route "webform.addons" does not exist.

Failed to execute task `drush updb` due to reason `Error returned: command terminated with exit code 1`
##############################################
STEP Post-Rollout drush updb: Completed at 2024-09-09 19:14:06 (UTC) Duration 00:00:02 Elapsed 00:00:02
##############################################
Post-rollout Tasks Failed with the following error: Error returned: command terminated with exit code 1

The reason I'm asking for support here is the lines:

In RouteProvider.php line 208:
                                          
  Route "webform.addons" does not exist. 

I tried updating the webform module using composer, but the codebase and configuration were up-to-date. I don't know why this issue starting happening because my recent changes were related to changing Views. I know the problem didn't just start happening without some kind of change or input, but I haven't made a connection.

Does this error message provide any clues for troubleshooting if it's a webform issue?

💬 Support request
Status

Active

Version

6.2

Component

Code

Created by

🇺🇸United States rraney

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

Comments & Activities

  • Issue created by @rraney
  • In seeking support at those places I recommend gathering this information:

    • Details of the hosting platform. Is the platform set up—even certified—for hosting Drupal?
    • Verbose output and stack traces.
    • The definition of the "Post-Rollout" program and the expected system state and environment where it executes.
    • What, very specifically, did you change about Views that precipitated the problem?
  • 🇺🇸United States rraney

    OK thanks. The platform is Amazee.io. I don't know about its certification but they are reputable.

    I will attach a full log of the deployment. Each spin-up container for staging uses a copy of the production database and git branches for code/config.

    Post-Rollout is a set of actions that are configured in the lagoon YML file after:

    • All images have been successfully built.
    • All containers are updated with the new images.
    • All containers are running have passed their readiness checks.

    There were some Views that were created probably 10 years ago which have since been migrated multiple times into several versions of Drupal, including 7, 8/9, 10. They were created when RSS feeds were more of a thing. I've been seeing a lot of messages about the feed aggregator module being deprecated. I'm trying to get rid of anything related to it, even though it's been out of our system for a good while now. This includes some feed Views, which I basically just removed in local, then pushed out to a dev branch, then to production. There were no issues when pushing these out last week.

    I thought maybe webform was being ignored by Config Ignore, but that's not the case.

  • Status changed to Closed: works as designed 3 months ago
  • 🇺🇸United States rraney
  • Status changed to Active about 1 month ago
  • 🇬🇧United Kingdom rajeevk London

    Hi @rraney,

    Were you able to find the issue behind it?

    We are facing this same issue on one of the machines with a fresh project setup with DDEV. However, the same code works on 6-7 different systems. Same DB, code, and config, but drush command throws error Route "webform.addons" does not exist. Thanks

  • When running drush cr in my DDEV environment, I get the error: Route "webform.addons" does not exist (RouteProvider.php line 208). Attempts to enable or list the Webform module also fail. I've tried reinstalling dependencies, clearing Drush cache, and confirming the Webform module is in modules/contrib, but the issue persists. Any guidance on resolving this would be appreciated.

  • 🇨🇴Colombia carma03

    Confirming the error happened on a fresh webfrom installation on D10.3.10 and PHP 8.3.
    The solution on my end was to clear the cache through the Drupal UI instead of drush cr command.
    Drush version 13.1.1.0.

    Hope it helps you @anurag_2711 .

Production build 0.71.5 2024