By Matej_P on
hey everyone, i just started with drupal and i want to set it up with lando, the problem is when i do > lando start , the app starts up correctly, but the APPSERVER URLS are all red and i get a Not Found message when i want to open the pages.
How can i fix this?
Comments
Probably problem with access
Probably problem with access for system user.
Same here on Lando/Drupal9
I am having the exact same problem. I have other local sites that run fine when started, but this one site, the only one using 'Drupal 9' recipe, fails in this way.
All the APPSERVER URLS are red and none of them work.
This fixed it for me
I feel pretty stupid but it turns out if the APPSERVER URLS you are trying to use are not already set up in your
$settings['trusted_host_patterns']array, then this will happen.Thank you! kimble
Thank you! kimble
That did it for me!!
I feel pretty stupid but it turns out if the APPSERVER URLS you are trying to use are not already set up in your
$settings['trusted_host_patterns']array, then this will happen.I had this problem again and discovered `lando logs`
This time turned out to be that Lando (or Drupal) doesn't like it if I make my database name the same as my site name. I did not get an error saying so but eventually discovered this post: https://github.com/lando/lando/issues/3547, where one user explained:
"This is almost always a problem with your application. You can check
lando logsto see if a problem is reported there."In my case it was
lando logscommand that put me on the right track to the naming thing. Just goes to show I should spend more time reading documentation (-: