Skip to content

Docker/Web UI jobs fail: Playwright driver exists but version is not 1.60.0 #312

Description

@Clowraider

Normal scraping jobs started from the Web UI fail with the following error:

could not install driver: could not install driver: driver exists but version not 1.60.0 in: /opt/ms-playwright-go

This happens even with email extraction and extra reviews disabled.

Environment

  • Deployment method: Docker Compose

  • Platform: Dokploy

  • Network mode: macvlan

  • Image tested:

    • gosom/google-maps-scraper:latest
    • gosom/google-maps-scraper:v1.16.3
    • image built from current main
  • Old containers, images and build cache were removed before rebuilding.

Job configuration

{
  "keywords": [
    "salones de fiestas en termas de rio hondo"
  ],
  "lang": "es",
  "zoom": 15,
  "lat": "0",
  "lon": "0",
  "fast_mode": false,
  "radius": 10000,
  "depth": 10,
  "email": false,
  "extra_reviews": false,
  "max_time": 600000000000,
  "proxies": null
}

Steps to reproduce

  1. Run the project using Docker.
  2. Open the Web UI.
  3. Create a normal scraping job.
  4. Leave email extraction disabled.
  5. Leave extra reviews disabled.
  6. Start the job.
  7. Check the container logs.

Actual result

The job remains in working status and the logs show:

error scraping job: could not install driver: could not install driver: driver exists but version not 1.60.0 in: /opt/ms-playwright-go

Expected result

The Playwright driver bundled in the Docker image should match the version required by all project dependencies, and normal scraping jobs should complete successfully.

Additional information

The same issue occurs after:

  • removing the container;
  • removing the Docker image;
  • clearing the build cache;
  • pulling the image again;
  • building the image directly from the current main branch.

This suggests that the problem is not caused by stale Docker cache or persistent volumes.

It may be caused by different parts of the project expecting different Playwright driver versions while sharing the same directory:

/opt/ms-playwright-go

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions