solid-mage/message-queue

Module fixes "Connection "default" is not defined" error when php bin/magento setup:install

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

2.0.0 2022-10-13 11:34 UTC

This package is auto-updated.

Last update: 2024-04-13 14:50:41 UTC


README

In this class \Magento\MessageQueue\Model\Plugin\ResourceModel\Lock there is a dependency \Magento\Framework\MessageQueue\Lock\WriterInterface

This dependency hydrated with the config at

[Progress: 2 / 1432]
Enabling Maintenance Mode...

When there is no env.php and connection details as well.

At the moment dependency mode is disabling this class is trying to get a connection (but it was already hydrated long ago) - it doesn't have a connection and I'm getting the following response:

[Progress: 1429 / 1432]
Disabling Maintenance Mode:

In ResourceConnection.php line 148:

Connection "default" is not defined