- Issue created by @sokru
- Merge request !8591Add password option to Drupal\Core\Command\InstallCommand → (Open) created by sokru
- Status changed to Needs review
2 months ago 5:38pm 30 June 2024 - Status changed to Needs work
about 1 month ago 1:37pm 29 July 2024 - Status changed to Needs review
about 1 month ago 11:47am 30 July 2024 - 🇫🇮Finland sokru
Added one test to assert the password is echoed correctly on Quick Start command. Otherwise I feel its very hard to test the actual login without converting the relevant tests (QuickStartTest and TestSiteApplicationTest) into browser tests.
Therefore I removed the "Needs tests", but feel free to re-add the tag with more information about desired tests.
- 🇮🇳India Prashant.c Dharamshala
Does this command
php -d memory_limit=256M core/scripts/drupal quick-start standard
not work withddev
On a fresh clone on Drupal
11.x
, did addev ssh
, tried the above command, and got the following error for providing the database details in the settings file.0/17 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] Installing Drupal In install.core.inc line 991: Resolve all issues below to continue the installation. For help configuring your database server, see the <a href="https://www.drupal.org/docs/in stalling-drupal">installation handbook</a>, or contact your hosting provider.<ul><li>The database server version <em class="placeholder">3.40.1</ em> is less than the minimum required version <em class="placeholder">3.45</em>.</li></ul> quick-start [--langcode [LANGCODE]] [--password [PASSWORD]] [--site-name [SITE-NAME]] [--host [HOST]] [--port [PORT]] [-s|--suppress-login] [--] [<install-profile-or-recipe>]
Am I missing or doing something wrong here?
Please suggest. - 🇫🇮Finland sokru
Does this command
php -d memory_limit=256M core/scripts/drupal quick-start standard
not work with ddevThe attached error message shows (not very clearly) that the SQLite3 version provided by the DDEV is lower than required version.
- 🇮🇳India Prashant.c Dharamshala
@sokru Sorry my bad did not realise this is DDEV specific issue not with this.
- 🇫🇷France andypost
For DDEV there was issue, just upgrade it https://github.com/ddev/ddev/issues/6110#issuecomment-2081525413
- 🇮🇳India Prashant.c Dharamshala
@andypost
Finally, the ddev issue was resolved, I was already on the latest ddev version but still, it was taking SQLite as
3.40
.The command I used to refresh the docker container fixed the issue
ddev debug refresh
. Hope this will help others facing a similar issue.Tested the
password
parameter and site installation worked fine along with the password was set as the supplied password.DDEV command
ddev exec -d /var/www/html php core/scripts/drupal quick-start standard --password=123
17/17 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] Congratulations, you installed Drupal! Username: admin Password: 123 Drupal development server started: <http://127.0.0.1:8888> This server is not meant for production use. One time login url: <http://127.0.0.1:8888/user/reset/1/1722427623/LCAA_p8pF2FKW_67nSea0ybqEmIyzpo4l9Z7knbRZUY/login> Press Ctrl-C to quit the Drupal development server. [ERROR] No suitable browser opening command found, open yourself: 'http://127.0.0.1:8888/user/reset/1/1722427623/LCAA_p8pF2FKW_67nSea0ybqEmIyzpo4l9Z7knbRZUY/login?destination=%2F'
For DDEV replace the
http://127.0.0.1:8888
with your site domain.I think good for RTBC.
- Status changed to RTBC
about 1 month ago 8:12pm 31 July 2024 - 🇫🇷France andypost
Created CR https://www.drupal.org/node/3465079 →
Looks nothing to be done here except final FM review and commiters
- Status changed to Needs work
27 days ago 2:07am 12 August 2024 - 🇳🇿New Zealand quietone New Zealand
This change, if accepted, should also be included on the wiki page, https://www.drupal.org/docs/getting-started/installing-drupal/drupal-qui... →
I made a recommendation on the MR, setting to needs work for that.
- Status changed to Needs review
25 days ago 6:43pm 13 August 2024 - 🇫🇮Finland sokru
Added the recommendation to MR. I don't see any draft workflow on wiki page, so I assume updating the documentation should be done only after MR has been merged.
- Status changed to RTBC
25 days ago 11:41pm 13 August 2024 - 🇺🇸United States smustgrave
Believe that is the case with documentation pages. Right @quietone?