blackfireio / lando-plugin

Lando plugin to use Blackfire
4 stars 3 forks source link

blackfire is not a supported service type #1

Closed rpayanm closed 3 years ago

rpayanm commented 3 years ago

I followed these instructions: https://blackfire.io/docs/integrations/paas/lando

What is your lando version and operating system?

v3.3.2 on Pop!_OS 21.04

Tell us about your .lando.yml

name: test
recipe: drupal9
services:
  appserver:
    overrides:
      environment:
        # Support debugging Drush with XDEBUG.
        PHP_IDE_CONFIG: "serverName=lando"
  database:
    portforward: 3306
  blackfire:
    type: blackfire
    server_id: my_id
    server_token: my_server_token
    client_id: my_client_id
    client_token: my_client_token
tooling:
  drushd:
    description: Debugs drush command
    service: appserver
    cmd: php -dxdebug.mode=debug -dxdebug.remote_enable -dxdebug.client_port=9003 -dxdebug.start_with_request=yes /app/vendor/bin/drush
  blackfire:
    # Replace "appserver" by your app container name if needed
    service: appserver
  blackfire-player:
    service: appserver

config:
  webroot: web
  via: nginx
  database: mariadb
  xdebug: true
proxy:
  appserver_nginx:
    - "*.local"

Tell us about the command you were running

lando rebuild -y

Tell us about the error you got

WARN ==> blackfire is not a supported service type. 
ERROR ==> Cannot read property 'builder' of undefined
lolautruche commented 3 years ago

Hi @rpayanm

It seems that the plugin is not installed properly. You need to install it under ~/.lando/plugins (if the plugins directory doesn't exist, please create it).

rpayanm commented 3 years ago

Oh, that's right, I had put it in the project files, thank you!