Questions tagged [lando]

Lando is a free, open source, cross-platform, local development environment and DevOps tool built on Docker container technology.

Lando is a free, open source, cross-platform, local development environment and DevOps tool built on Docker container technology and developed by Tandem. Designed to work with most major languages, frameworks and services, Lando provides an easy way for developers of all types to specify simple or complex requirements for their projects, and then quickly get to work on them. Think of it as your local development's dependency management and automation tool. It can even be installed right beside an old Kalabox installation with no interference, or used as a complete upgrade-replacement.

87 questions
1
vote
1 answer

Debugging remote (DigitalOcean) Lando site (drupal8 recipe) with PHPStorm + Xdebug

I'm trying to run Lando remotely to avoid consuming local resources. Sometimes I need to work on a laptop and lando+xdebug is a hungry beast. Local I don't have Lando running locally. I'm synchronizing my files using PHPStorm and Lando is running…
drupalphil
  • 91
  • 9
1
vote
0 answers

Volume subfolder and caching

Docker on Mac suffers very poor performance. This is apparently caused by filesystem issues. Thus I tried to cache some directories. I'm currently using lando, which is similar to docker-compose. By default it creates a volume, which map's the…
wiwolavida
  • 81
  • 4
1
vote
1 answer

When using a container, should I run git within the container or outside?

I'm using Lando to generate a dev environment for my project. I'm just wondering if there's a best practice as to whether Git should be run from within the container (via lando ssh) or just from my dev machine?
Gary
  • 453
  • 4
  • 15
1
vote
1 answer

Failing Drupal 8 functional tests on drupalLogin()

I'm getting failures on any functional phpunit tests in Drupal 8 using the drupalLogin() function. The resulting message is: User tBQjiDPm successfully logged in. Failed asserting that false is true. …
1
vote
2 answers

How to install php-mcrypt in lando with php 7.2?

Following example in How to install mcrypt on Docker I came to this: name: myapp recipe: drupal7 config: webroot: web php: '7.2' proxy: pma: - pma.myapp.lndo.site services: pma: type: phpmyadmin appserver: extras: -…
ñull
  • 504
  • 4
  • 17
1
vote
1 answer

How to export config files in Drupal 7 with Lando

I've tried running lando drush cex or lando drush config-export but both give me this error: Command config-export requires Drupal core version 8+ to run. [error] The drush command 'cex' could not be…
Lee Wise
  • 902
  • 7
  • 16
1
vote
1 answer

How to create proper .lando.yml custom file?

is there any way how to create a proper, really custom .lando.yml file so it will not use any recipe? How do I specify "just give me Apache, MariaDB, PHP" in Lando? I tried this # The name of the app name: mariadb # Give me…
petiar
  • 1,047
  • 2
  • 14
  • 31
1
vote
1 answer

error: Directory must be empty to GitHub init

I'm having this issue trying to start with a Lando setup using Drupal8 and Github. My steps to reproduce: Created GitHub token, as described in documentation Created a repo on GitHub (https://github.com/my_name/the_name.git). At first. mkdir thename…
Kenneth Bregat
  • 359
  • 3
  • 14
1
vote
1 answer

Lando - ERROR: No container found for appserver_1

New to Lando. Installed lando-v3.0.0-beta.44.exe on Win10 64 I am getting an error and hoping to clarify some issues, here is my .lando.yml name: myapp recipe: lamp config: php: 7.2 webroot: . database: 'mariadb:10.0' from lando start …
t q
  • 4,593
  • 8
  • 56
  • 91
0
votes
0 answers

Lando - Difficulty setting "extension=mongodb.so" value in php.ini file for MongoDB Service setup on Drupal

I'm having trouble configuring the extension=mongodb.so value in the server's php.ini file while setting up the MongoDB service on Drupal. The installation process for everything else is going smoothly. Here is the content of my .lando.yml…
0
votes
0 answers

How can I change the disk that lando use for the database

So I got a lando recipe for wordpress. I have two disk. One is my main disk that is almost full (and SSD that only have like 2GB of empty space) and the other one is an external drive that have plenty of space, like 1.5TB. This is my lando…
Jeeba
  • 101
  • 12
0
votes
1 answer

Lando fails to start proxy

I am running into a weird issue with lando. My setup is windows 11 with WSL2 Ubuntu 20 Docker is installed on windows 11 with WSL support Lando(3.11) is installed on Ubuntu The problem is that when I try to start lando I would get something…
Funky Dude
  • 3,867
  • 2
  • 23
  • 33
0
votes
0 answers

Is Lando implicated in the 401 errors I get when trying to request OAuth authorization code?

I'm building a decoupled Next.js frontend to consume data from Drupal JSON:API on a local site installed with Lando. I want to use the simple_oauth module to allow registered users to edit content on the front end. My first target is requesting an…
raresample
  • 11
  • 2
0
votes
0 answers

NGINX rewrite cond give HTTP 403

I try to configure the "lando" tool with a nginx server on a Symfony 4.4 project. But I have a problem, all URLs are not working For example : https://project.lndo.site/ ⇒ OK https://project.lndo.site/login ⇒…
0
votes
0 answers

Why does MySql container continuously abort in Lando?

I'm running Lando on a Mac M1. I will randomly (several times a day) have the db connection fail, which is then temporarily repaired with lando restart. In looking at the log file, I see repeats of the following (but far less entries than the…
JAyenGreen
  • 1,385
  • 2
  • 12
  • 23