You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to install while using Drupal 7 on Lando. This might also be relevant for attempting to install in other containers. I get an error and it fails:
$ lando ssh
www-data@045f79017765:/app$ ./cv core:install
Found code for civicrm-core in /app/sites/all/modules/civicrm
Found code for civicrm-setup in /app/sites/all/modules/civicrm/vendor/civicrm/civicrm-setup
WARNING: (system) CiviCRM memory check: You have -1 allocated (minimum 32Mb, recommended 64Mb)
ERROR: (system) cmsBaseUrl: The "cmsBaseUrl" (http://localhost/././) is unavailable or malformed. Consider setting it explicitly.
I'm guessing it doesn't like the environment variable that Lando is setting. I may attempt to manually set it (though it would be better if we didn't have to). It doesn't say where to set it. Perhaps it requires setting $base_url in settings.php? (Though Lando actually provides 2 options for URLs for the sites).
By the way, I'm sshing to the Lando container so that I can run cv and have it recognize the database.
The text was updated successfully, but these errors were encountered:
I ran into a similar issue recently while installing CiviCRM using cv on Drupal 10 via Lando.
I fixed it by moving the cv file to a subfolder within the Lando project, such as "cv-cli/cv" and then calling it this way: lando php cv-cli/cv core:install --cms-base-url=https://example.org
I'm attempting to install while using Drupal 7 on Lando. This might also be relevant for attempting to install in other containers. I get an error and it fails:
I'm guessing it doesn't like the environment variable that Lando is setting. I may attempt to manually set it (though it would be better if we didn't have to). It doesn't say where to set it. Perhaps it requires setting
$base_url
in settings.php? (Though Lando actually provides 2 options for URLs for the sites).By the way, I'm sshing to the Lando container so that I can run
cv
and have it recognize the database.The text was updated successfully, but these errors were encountered: