Comments (10)
Yes, I see. I can reproduce the error.
from docker-drupal.
Here's a bit more information:
Step 48 : RUN cd /var && drupal site:new www 8.2.2
---> Running in 1063a774e83d
PHP Warning: Invalid argument supplied for foreach() in /root/.composer/vendor/drupal/console/src/Utils/RequirementChecker.php on line 71
PHP Stack trace:
PHP 1. {main}() /root/.composer/vendor/drupal/console/bin/drupal:0
PHP 2. require() /root/.composer/vendor/drupal/console/bin/drupal:4
PHP 3. Symfony\Component\Console\Application->run() /root/.composer/vendor/drupal/console/bin/drupal.php:115
PHP 4. Drupal\Console\Application->doRun() /root/.composer/vendor/symfony/console/Application.php:124
PHP 5. Drupal\Console\Utils\RequirementChecker->validate() /root/.composer/vendor/drupal/console/src/Application.php:273
PHP 6. Drupal\Console\Utils\RequirementChecker->checkRecommendedExtensions() /root/.composer/vendor/drupal/console/src/Utils/RequirementChecker.php:117
Warning: Invalid argument supplied for foreach() in /root/.composer/vendor/drupal/console/src/Utils/RequirementChecker.php on line 71
Call Stack:
0.0001 216936 1. {main}() /root/.composer/vendor/drupal/console/bin/drupal:0
0.0007 251672 2. require('/root/.composer/vendor/drupal/console/bin/drupal.php') /root/.composer/vendor/drupal/console/bin/drupal:4
0.6632 7983584 3. Symfony\Component\Console\Application->run() /root/.composer/vendor/drupal/console/bin/drupal.php:115
0.6668 8346504 4. Drupal\Console\Application->doRun() /root/.composer/vendor/symfony/console/Application.php:124
0.7926 19489152 5. Drupal\Console\Utils\RequirementChecker->validate() /root/.composer/vendor/drupal/console/src/Application.php:273
0.7955 19498864 6. Drupal\Console\Utils\RequirementChecker->checkRecommendedExtensions() /root/.composer/vendor/drupal/console/src/Utils/RequirementChecker.php:117
Pass a «true» value to «shellexec_output» key in your config.yml file to see interactively Composer's output or
«false» to hide it
from docker-drupal.
Found this issue which provides an updated phpcheck.yml
but I'm not sure if or how we'd want to include that here.
hechoendrupal/drupal-console#2582
from docker-drupal.
The image seems to build with the error above but when I try to get a container up and running apache doesn't start.
⚡ docker run -d -p 8080:80 -p 8022:22 -t justinlevi/drupal
⚡ sudo docker exec -i -t e67eb4317da1 /bin/bash
Password:
root@e67eb4317da1:/# service --status-all
[ - ] apache2
[ - ] blackfire-agent
[ - ] bootlogs
[ - ] bootmisc.sh
[ - ] checkfs.sh
[ - ] checkroot-bootclean.sh
[ - ] checkroot.sh
[ - ] cron
[ - ] exim4
[ - ] hostname.sh
root@e67eb4317da1:/# service apache2 restart
[FAIL] Restarting web server: apache2 failed!
[warn] The apache2 configtest failed. ... (warning).
Output of config test was:
AH00526: Syntax error on line 222 of /etc/apache2/apache2.conf:
Invalid command '-e', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
root@e67eb4317da1:/#
Here's what I"m seeing in the /etc/apache2/apache2.conf
file in vim:
from docker-drupal.
Hi. Did you pull the latest version? I had some issues with builds lately. I changed the way Drupal Console is installed, pinning it to a specific version. After that, the builds worked again.
from docker-drupal.
Yeah, I'm on the latest commit 8f1f1f9e451209fdc6f36ea52004071b5d452249
from docker-drupal.
Bloody Console. It's really not stable, is it? I run into many issues with that thing... Let me see if downgrading to another release works...
from docker-drupal.
Yeah, exactly. I've run into more problems than solutions with console at this point. Looking forward to a 1.x release.
Does it make sense to switch back to drush until 1.0 and a confirmed stable release?
We could leave the console install portion commented out in the Dockerfile in case someone wants to fiddle with that... Just a thought.
from docker-drupal.
Yeah, I'm considering it more and more myself... I'll have a look.
from docker-drupal.
So, now it uses Drush for installation and config. I also added a build script, which tests all services and checks if Drupal is running and available. It's now connected to Travis CI, FTW!
from docker-drupal.
Related Issues (20)
- Run mounting host application?? HOT 2
- Docker build broke HOT 1
- PHPMyAdmin incomplete install
- Using it on Windows HOT 5
- drush ssh password HOT 4
- Drupal Console run error HOT 1
- HTTPS HOT 2
- Docker is not building anymore because of missing default.settings.php HOT 8
- why do you remove sh? HOT 2
- Documentation: How to make mysql database persistant? HOT 1
- docker drupal images 8.2.6 and 8.2.7 HOT 2
- 403 forbidden issues & apache HOT 1
- Can not log into container. HOT 4
- I can't login to ssh HOT 4
- Install bcmath PHP module by default HOT 1
- can't pull drupal 8.5 image? HOT 3
- exceptionally slow on first page load HOT 3
- Update PHP to version 7.2 HOT 2
- Allow xdebug to accept remote connections HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-drupal.