Skip to content

Docker installation with manual does not work #239

@lukinoe

Description

@lukinoe

I get the following error when following 1:1 the install instruction for Windows 11 Docker Desktop WSL2:

wodby@php.container:/var/www/html/web $ drush si -y --account-name admin --account-pass 123 --account-mail my_mail@example.com --site-name "Openidea L" --db-url=mysql://drupal:drupal@mariadb/openideal idea

You are about to:

  • DROP all tables in your 'openideal' database.

// Do you want to continue?: yes.

[notice] Starting Drupal installation. This takes a while.
[notice] Performed install task: install_select_language
[notice] Performed install task: install_select_profile
[notice] Performed install task: install_load_profile
[error] Error: Call to a member function setFormClass() on null in system_entity_type_build() (line 1372 of /var/www/html/web/core/modules/system/system.module) #0 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(129): system_entity_type_build()
#1 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(175): Drupal\Core\Entity\EntityTypeManager->findDefinitions()
#2 /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(22): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#3 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(143): Drupal\Core\Plugin\DefaultPluginManager->getDefinition()
#4 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(269): Drupal\Core\Entity\EntityTypeManager->getDefinition()
#5 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(208): Drupal\Core\Entity\EntityTypeManager->getHandler()
#6 /var/www/html/web/core/lib/Drupal/Core/Datetime/DateFormatter.php(93): Drupal\Core\Entity\EntityTypeManager->getStorage()

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions