Closed ericras closed 1 year ago
Feeds was turned off in 800239e28384189d123b8e08a24e8a26ceb7c8ee
In Connection.php line 1324:
[Drupal\Core\Database\TransactionNoActiveException]
Exception trace:
at /var/www/project-herbie/web/core/lib/Drupal/Core/Database/Connection.php:1324
Drupal\Core\Database\Connection->rollBack() at
/var/www/project-herbie/web/core/modules/mysql/src/Driver/Database/mysql/Connection.php:465
Drupal\mysql\Driver\Database\mysql\Connection->rollBack() at
/var/www/project-herbie/web/core/lib/Drupal/Core/Database/Transaction.php:96
Drupal\Core\Database\Transaction->rollBack() at
/var/www/project-herbie/web/core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php:88
Drupal\Core\EventSubscriber\MenuRouterRebuildSubscriber->menuLinksRebuild() at
/var/www/project-herbie/web/core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php:70
Drupal\Core\EventSubscriber\MenuRouterRebuildSubscriber->onRouterRebuild() at n/a:n/a
call_user_func() at /var/www/project-herbie/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:111
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() at
/var/www/project-herbie/web/core/lib/Drupal/Core/Routing/RouteBuilder.php:197
Drupal\Core\Routing\RouteBuilder->rebuild() at
/var/www/project-herbie/web/core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php:83
Drupal\Core\ProxyClass\Routing\RouteBuilder->rebuild() at
/var/www/project-herbie/web/core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php:67
Drupal\Core\Routing\RouteProviderLazyBuilder->getRouteProvider() at
/var/www/project-herbie/web/core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php:76
Drupal\Core\Routing\RouteProviderLazyBuilder->getRouteCollectionForRequest() at
/var/www/project-herbie/web/core/lib/Drupal/Core/Routing/Router.php:220
Drupal\Core\Routing\Router->getInitialRouteCollection() at /var/www/project-herbie/web/core/lib/Drupal/Core/Routing/Router.php:110
Drupal\Core\Routing\Router->matchRequest() at /var/www/project-herbie/web/core/lib/Drupal/Core/Routing/Router.php:103
Drupal\Core\Routing\Router->match() at /var/www/project-herbie/web/core/lib/Drupal/Core/Path/PathValidator.php:161
Drupal\Core\Path\PathValidator->getPathAttributes() at /var/www/project-herbie/web/core/lib/Drupal/Core/Path/PathValidator.php:122
Drupal\Core\Path\PathValidator->getUrl() at /var/www/project-herbie/web/core/lib/Drupal/Core/Path/PathValidator.php:89
Drupal\Core\Path\PathValidator->getUrlIfValidWithoutAccessCheck() at /var/www/project-herbie/web/core/lib/Drupal/Core/Url.php:427
Drupal\Core\Url::fromInternalUri() at /var/www/project-herbie/web/core/lib/Drupal/Core/Url.php:319
Drupal\Core\Url::fromUri() at /var/www/project-herbie/web/modules/contrib/feeds/feeds.install:16
feeds_install() at n/a:n/a
call_user_func_array() at /var/www/project-herbie/web/core/lib/Drupal/Core/Extension/ModuleHandler.php:400
Drupal\Core\Extension\ModuleHandler->invoke() at /var/www/project-herbie/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php:349
Drupal\Core\Extension\ModuleInstaller->install() at
/var/www/project-herbie/web/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php:83
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install() at
/var/www/project-herbie/web/core/lib/Drupal/Core/Config/ConfigImporter.php:846
Drupal\Core\Config\ConfigImporter->processExtension() at
/var/www/project-herbie/web/core/lib/Drupal/Core/Config/ConfigImporter.php:604
Drupal\Core\Config\ConfigImporter->processExtensions() at
/var/www/project-herbie/web/core/lib/Drupal/Core/Config/ConfigImporter.php:541
Drupal\Core\Config\ConfigImporter->doSyncStep() at
/var/www/project-herbie/web/core/lib/Drupal/Core/Config/Importer/ConfigImporterBatch.php:31
Drupal\Core\Config\Importer\ConfigImporterBatch::process() at /var/www/project-herbie/web/core/includes/batch.inc:295
_batch_process() at /var/www/project-herbie/web/core/includes/form.inc:955
batch_process() at /var/www/project-herbie/web/core/includes/install.core.inc:651
install_run_task() at /var/www/project-herbie/web/core/includes/install.core.inc:569
install_run_tasks() at /var/www/project-herbie/web/core/includes/install.core.inc:119
install_drupal() at /var/www/project-herbie/vendor/drush/drush/includes/drush.inc:129
drush_call_user_func_array() at /var/www/project-herbie/vendor/drush/drush/includes/drush.inc:113
drush_op() at /var/www/project-herbie/vendor/drush/drush/src/Commands/core/SiteInstallCommands.php:152
Drush\Commands\core\SiteInstallCommands->install() at n/a:n/a
call_user_func_array() at /var/www/project-herbie/vendor/consolidation/annotated-command/src/CommandProcessor.php:257
Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback() at
/var/www/project-herbie/vendor/consolidation/annotated-command/src/CommandProcessor.php:212
Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter() at
/var/www/project-herbie/vendor/consolidation/annotated-command/src/CommandProcessor.php:176
Consolidation\AnnotatedCommand\CommandProcessor->process() at
/var/www/project-herbie/vendor/consolidation/annotated-command/src/AnnotatedCommand.php:390
Consolidation\AnnotatedCommand\AnnotatedCommand->execute() at /var/www/project-herbie/vendor/symfony/console/Command/Command.php:312
Symfony\Component\Console\Command\Command->run() at /var/www/project-herbie/vendor/symfony/console/Application.php:1040
Symfony\Component\Console\Application->doRunCommand() at /var/www/project-herbie/vendor/symfony/console/Application.php:314
Symfony\Component\Console\Application->doRun() at /var/www/project-herbie/vendor/symfony/console/Application.php:168
Symfony\Component\Console\Application->run() at /var/www/project-herbie/vendor/drush/drush/src/Runtime/Runtime.php:124
Drush\Runtime\Runtime->doRun() at /var/www/project-herbie/vendor/drush/drush/src/Runtime/Runtime.php:51
Drush\Runtime\Runtime->run() at /var/www/project-herbie/vendor/drush/drush/drush.php:77
require() at /var/www/project-herbie/vendor/drush/drush/drush:4
include() at /var/www/project-herbie/vendor/bin/drush:120
I don't really have an idea on how to fix other than remove the message from feeds_install.
See #366 for main issue.
This change is causing site installation problems, only on production. (On prod, installing the feeds modules on an existing site works.)
https://git.drupalcode.org/project/feeds/-/commit/cbb7c8d0dd1c011c4336b9e8c94e1311a93cca45
Edit: seems not to be that change per se as the problem occurs without the change
That link creation triggers a menu rebuild and for some reason, every attempt to install on prod always breaks on the "entity.feeds_feed.add_page" link where it can't start a DB Transaction.