lando / pantheon

The Official Lando Pantheon plugin.
https://docs.lando.dev/pantheon
GNU General Public License v3.0
10 stars 15 forks source link

Lando start fails on new project created with Pantheon recipe #209

Closed burkmarr closed 5 months ago

burkmarr commented 5 months ago

After installing version 3.20.8 (to overcome https://github.com/lando/pantheon/issues/208) and creating a new project with the Pantheon recipe, lando start fails.

image

Examining the logs, the problem seems to be in the appserver_ngix service where there are lots of messages like these:

appserver_nginx_1  | 2023/12/13 12:29:22 [error] 244#244: *463 directory index of "/app/web/" is forbidden, client: 172.24.0.1, server: localhost, request: "GET / HTTP/1.1", host: "localhost:32967"

appserver_nginx_1  | 2023/12/13 12:29:22 [error] 244#244: *464 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: 172.24.0.7, server: localhost, request: "GET / HTTP/1.1", host: "brc-ukbms-d10.lndo.site"
burkmarr commented 5 months ago

Closing this issue. The main problem was that composer didn't build the website properly and I was able to fix this by specifying a more recent version of composer int he .lando.yml file. Once that was fixed most websites initialised successfully. One did not, but I assume that is a website specific problem.