samos123 / docker-drupal

Drupal image based official php image, database information should be passed by environment variables or linked container. Drush is included
34 stars 10 forks source link

drush fails to install site #8

Closed funkyfuture closed 9 years ago

funkyfuture commented 9 years ago

i'm quiet confused atm. yesterday evening the commit that introduces the php:apache-image as parent played nicely. today i noticed it fails when drush shall install the new site:

web_1 | WD system: update module enabled. [65.48 sec, 23.97 MB]                   [info]
web_1 | WD user: Session opened for admin. [65.91 sec, 24.1 MB]                 [notice]
web_1 | sh: 1: -t: not found
web_1 | WD mail: Error sending e-mail (from admin@example.com to                 [error]
web_1 | admin@example.com). [73.23 sec, 23.94 MB]
web_1 | WD cron: Cron run completed. [73.3 sec, 23.93 MB]                       [notice]
web_1 | Installation complete.  User name: admin  User password: changeme           [ok]
web_1 | [73.45 sec, 23.92 MB]
web_1 | Returned from hook drush_core_site_install [73.45 sec, 23.92 MB]         [debug]
web_1 | Unable to send e-mail. Contact the site administrator if the problem     [error]
web_1 | persists. [73.45 sec, 23.92 MB]
web_1 | Command dispatch complete [73.45 sec, 23.89 MB]                         [notice]
web_1 |  Timer                Cum (sec)  Count  Avg (msec) 
web_1 |  page                 73.053     1      73052.72   
web_1 |  drupal_http_request  0.838      1      838.15
web_1 | Peak memory usage was 26.25 MB [73.46 sec, 23.89 MB]                    [memory]

as this discussion implies sendmail must be present when installing a site. since it doesn't seem to be a bad idea to have it on board, i installed it. with no luck.

again, i'm confused. i never came across that kind of question before when i tweaked around.

i also tried it with 6.4.0 of drush.

can you please test a build?

i also wonder why there was a second, identical commit created when i clicked the merge-button on this website. (fc17031)

funkyfuture commented 9 years ago

interesting discovery: i made the update to 7.35, and my first test is just running fine. will also test it at home and push then.

funkyfuture commented 9 years ago

can't reproduce on two different machines with Drupal 7.35. But still with 7.34. that's kind of disturbing.