lando / drupal

The Official Drupal Lando plugin
https://docs.lando.dev/drupal
GNU General Public License v3.0
16 stars 16 forks source link

Drupal 7 recipe always returns 500 #64

Closed no-sssweat closed 6 months ago

no-sssweat commented 1 year ago

Using version 3.19.5 and 3.18.0 (I have not tested other older versions) Drupal 7 recipe fails to give 200 response.

image

I have no issues with D9 or D10 recipes.

reynoldsalec commented 1 year ago

@no-sssweat you get any farther with this? Would be interested in what steps you took and any Landofile customizations you may have made...otherwise it may simply be an application error.

peterhebert commented 7 months ago

I am experiencing this same issue with Lando v3.21.0-beta.12.

reynoldsalec commented 7 months ago

@peterhebert likewise, have you confirmed it's not an application error/can you give me a copy of your Landofile? Thanks!

peterhebert commented 7 months ago

The landofile was working successfully for over a year before the latest Lando upgrade...

`name: sitename-d7 recipe: drupal7 config: webroot: . php: 7.4 services: phpma: type: phpmyadmin hosts:

peterhebert commented 7 months ago

lando.yml.txt

reynoldsalec commented 7 months ago

That .lando.yml spins up ok for me @peterhebert. A few things to try:

peterhebert commented 7 months ago

I've already done these steps, as well as completely uninstalling and reinstalling Lando from scratch, including deleting the .lando directory in my home folder, even reinstalling the docker engine. still having the same issues, even worse now, as services on every site that I try to spin up are returning ✖ Request failed with status code 500 errors. This software is completely broken. I am extremely disappointed, as I rely on this for my work. I used to love this software, but now all the simplcity is gone, I am going to probably need to learn docker compose itself and move on from Lando.

reynoldsalec commented 7 months ago

Totally understand @peterhebert, LMK if you want to try debugging a bit more, happy to do a screenshare to see if we can find out what's going on, but know it's more time investment. You can reach me by DM on the Lando Slack (https://launchpass.com/devwithlando if you're not already on there), I'm reynoldsalec on there as well.

jonasflint commented 1 month ago

Have a bunch of Drupal 7 sites I’m trying to resurrect for archival purposes. This happens on every single one of them…

AaronFeledy commented 1 month ago

This is almost always an application error such as when your Drupal 7 site requires php 7.2 but Lando uses 7.4 if you don't specify the version. Lando typically starts fine, but then it's your site returning the 500 error when Lando does its final scan to see if the site is working because of some PHP error. There are a number of reasons why Drupal might return a 500 error. What do you see in the browser or with lando drush ws?