RobLoach / Dockie

:whale: Collection of Modern Development Environments for Docker
https://registry.hub.docker.com/repos/dockie/
Other
50 stars 18 forks source link

drupal-site-install-setup entered FATAL state, too many start retries too quickly #36

Open amcsi opened 8 years ago

amcsi commented 8 years ago

I'm having trouble with this. When running that docker run -p 8000:80 -p 2200:22 -v $(pwd):/var/www/html:rw dockie/drupal-site-install command which is docker run -p 8000:80 -p 2200:22 -v //c/0/drupal:/var/www/html:rw dockie/drupal-site-install on my Windows machine, it doesn't work. (I'm using docker machine).

This is the result:

/usr/lib/python2.7/dist-packages/supervisor/options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
  'Supervisord is running as root and it is searching '
2015-09-15 22:04:25,799 CRIT Supervisor running as root (no user in config file)
2015-09-15 22:04:25,800 WARN Included extra file "/etc/supervisor/conf.d/drupal-site-install.conf" during parsing
2015-09-15 22:04:25,800 WARN Included extra file "/etc/supervisor/conf.d/drupal.conf" during parsing
2015-09-15 22:04:25,801 WARN Included extra file "/etc/supervisor/conf.d/mysql.conf" during parsing
2015-09-15 22:04:25,801 WARN Included extra file "/etc/supervisor/conf.d/apache2.conf" during parsing
2015-09-15 22:04:25,801 WARN Included extra file "/etc/supervisor/conf.d/supervisor.conf" during parsing
2015-09-15 22:04:25,819 INFO RPC interface 'supervisor' initialized
2015-09-15 22:04:25,820 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-09-15 22:04:25,820 INFO supervisord started with pid 1
2015-09-15 22:04:26,825 INFO spawned: 'mysqld' with pid 8
2015-09-15 22:04:26,837 INFO spawned: 'drupal-site-install-setup' with pid 9
2015-09-15 22:04:26,841 INFO spawned: 'drupal-setup' with pid 10
2015-09-15 22:04:26,852 INFO spawned: 'apache2' with pid 12
2015-09-15 22:04:27,451 INFO exited: drupal-site-install-setup (exit status 1; not expected)
2015-09-15 22:04:27,839 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-09-15 22:04:27,840 INFO success: drupal-setup entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-09-15 22:04:27,884 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-09-15 22:04:28,879 INFO spawned: 'drupal-site-install-setup' with pid 1273
2015-09-15 22:04:29,148 INFO exited: drupal-site-install-setup (exit status 1; not expected)
2015-09-15 22:04:31,893 INFO spawned: 'drupal-site-install-setup' with pid 1306
2015-09-15 22:04:32,169 INFO exited: drupal-site-install-setup (exit status 1; not expected)
2015-09-15 22:04:35,908 INFO spawned: 'drupal-site-install-setup' with pid 1341
2015-09-15 22:04:36,203 INFO exited: drupal-site-install-setup (exit status 1; not expected)
2015-09-15 22:04:36,911 INFO gave up: drupal-site-install-setup entered FATAL state, too many start retries too quickly
RobLoach commented 8 years ago

It may be that the Drupal Dockerfiles are old. Could you try just using the Dockie-specific one? Something like this should output something useful...

https://github.com/RobLoach/Dockie/tree/master/dockie#run

andypost commented 8 years ago

that does not work for d8 because drush version is 7