Doesn't create user profile on fresh installation

Created on 31 January 2024, 10 months ago

Problem / Steps

Using the latest docker image ( 10.2.2 ), the form goes until asking the info about the name for the website, contact and user info.
On submitting that form, it just gets back to the same form, does't show any error.

On the docker service log shows the error:

trace:\n#0 /opt/drupal/web/core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php(31): Drupal\\Core\\Database\\Connection->getClientConnection()\n#1 /opt/drupal/web/core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php(278): Drupal\\mysql\\Driver\\Database\\mysql\\TransactionManager->processRootCommit()\n#2 /opt/drupal/web/core/lib/Drupal/Core/Database/Transaction.php(88): Drupal\\Core\\Database\\Transaction\\TransactionManagerBase->unpile()\n#3 [internal function]: Drupal\\Core\\Database\\Transaction->__destruct()\n#4 {main}\n thrown in /opt/drupal/web/core/lib/Drupal/Core/Database/Connection.php on line 306, referer: http://rasp51:8001/core/install.php?rewrite=ok&langcode=pt-pt&profile=standard&id=3&op=start

Ignoring the form and going to the main page, the title for the website is correct, but the login page doesn't accepted the user.

On the Docker service cmd line, you can create the user with "drush uli".

It seems that it isn't able to create new users on a MySQL database from the installation form.

Proposed resolution

Merge request link

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

10.2 ✨

Component
BaseΒ  β†’

Last updated about 5 hours ago

Created by

πŸ‡΅πŸ‡ΉPortugal adaragao

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

Comments & Activities

  • Issue created by @adaragao
  • Status changed to Postponed: needs info 10 months ago
  • The "official" Docker image is neither made nor supported by drupal.org.

    Reproduction steps for a bug have to be made through the installation steps documented on drupal.org.

  • πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10
  • πŸ‡΅πŸ‡ΉPortugal adaragao

    Didn't now that about the Docker image.

    Anyway, I had try with Lando, and it worked fine.... so might be something with the docker image or the connection with the database.... sorry to bother.... Please, close this. Thank you.

  • πŸ‡¬πŸ‡§United Kingdom longwave UK

    Out of interest do you know if the Docker image has xdebug enabled? #3 appears to happen mostly when that is the case, it might help us with that issue.

  • πŸ‡΅πŸ‡ΉPortugal adaragao

    A test with Lando with the xdebug on or off gave the same result.... Sucess.

    A test with the Docker image with and without the xdebug, both.... Failed.

    Off course that Lando might be using the most suitable version of xdebug....

    The database version is the same...

    I was installing on PT-PT, but I had also tried on ENG.... same results....

  • πŸ‡΅πŸ‡ΉPortugal adaragao

    Got the same error, trying to delete a content, a "Basic Page".

    [Tue Feb 06 22:58:01.821893 2024] [php:notice] [pid 28] [client 192.168.91.1:49214] PHP Fatal error: Uncaught TypeError: Drupal\\Core\\Database\\Connection::getClientConnection(): Return value must be of type object, null returned in /opt/drupal/web/core/lib/Drupal/Core/Database/Connection.php:306\nStack trace:\n#0 /opt/drupal/web/core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php(31): Drupal\\Core\\Database\\Connection->getClientConnection()\n#1 /opt/drupal/web/core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php(278): Drupal\\mysql\\Driver\\Database\\mysql\\TransactionManager->processRootCommit()\n#2 /opt/drupal/web/core/lib/Drupal/Core/Database/Transaction.php(88): Drupal\\Core\\Database\\Transaction\\TransactionManagerBase->unpile()\n#3 [internal function]: Drupal\\Core\\Database\\Transaction->__destruct()\n#4 {main}\n thrown in /opt/drupal/web/core/lib/Drupal/Core/Database/Connection.php on line 306, referer: http://127.0.0.1:8001/admin/content/node/delete?destination=/admin/content

  • Status changed to Closed: works as designed about 2 months ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone

    This doesn't seem to be a problem with Drupal core but the Docker image being used. Therefore, I am closing this issue.

    If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue β†’ (starting from "Install Drupal core").

    Thanks!

Production build 0.71.5 2024