-
Notifications
You must be signed in to change notification settings - Fork 55
DocumentRoot directory doesn't exist #74
Comments
Hi @safetypins, I think that there is a symlink that should take care of that already. Did this happen on an update or on a fresh installation of drupal9ci? |
Yeah Drupal should be in the right Apache folder. Did you change anything from the default files? Which of the tasks fail? Perhaps a link to the task or further output might help. |
it's a fresh installation of drupal9ci in an established drupal installation. I've changed a few things in the default d9ci config files, but only to get rid of errors that I've encountered before this, like figuring out how to get drush running, giving drush the correct web root, pulling over a database dump. Mostly I've replaced Not everything is broken, the coding standards tests were running properly before I turned them off. I've disabled everything but the behat testing, because that's the sort of testing I'm primarily interested in. As far as I know, I've not made any changes related to apache configuration; I can't even find any references to apache configuration. When I searched google for this, most of the suggestions involved an circleci.conf file that needed to be updated, but this project doesn't include that, does it? |
Ok, I'm just realizing you were asking for a link to the circleci task, so here you go: https://app.circleci.com/pipelines/github/RhodesCollege/rhodes_edu/191/workflows/ad9c9fb6-74db-41e2-b7cf-a6a86aa72d2e/jobs/240 |
Ok, it’s definitely the Otherwise if you change |
Thanks so much, that worked! On to the next error. |
Great! Any sort of feedback at the end would be appreciated and perhaps we can update docs. |
thanks for the help @fjgarlin ! |
Sure. I have found this whole process pretty confusing, although it's less confusing than my first attempt a few months ago. I don't know how common it is for people to change the web directory to something else, but it definitely would have helped to have a list of the places where this change impacts the configuration. Let me see if I can compile a list of changes I made. |
So, thinking back on the process so far, I felt like there were a bunch of different places where I had to change RoboFile.php Lines 118-119
Lines 227-228
Line 231
Lines 269-272
Line 284
config/phpunit.xml Line 30
config/behat.yml Line 19
In addition to these changes, I found that the Drush executable was not found. So I had to add a command to run composer install. In circleci.yml, line 37 I inserted:
I'm not sure if I did this preemptively or in response to an error, but after I got the dump.sql file downloaded into the container, I added the full path to the db dump.sql file ( |
I hope this is helpful, and thanks for all the work you've done to put this together. |
I updated the readme file linking to your comment above @safetypins and the symlink trick. Thanks for reporting the issue and for following up with the affected files. |
I'm getting this error inside of CircleCI:
Do I need to configure Apache to look at /opt/drupal/docroot?
The text was updated successfully, but these errors were encountered: