web-check icon indicating copy to clipboard operation
web-check copied to clipboard

Unable to Locate Chromium

Open ricardodomingues10 opened this issue 1 year ago • 5 comments

I tried this command: docker run -p 3000:3000 lissy93/web-check, and encountered this problem.

Error details tech-stack: Could not find Chromium (rev. 1095492). This can occur if either:

  1. you did not perform an installation before running the script (e.g. npm install) or
  2. your cache path is incorrectly configured (which is: /root/.cache/puppeteer). For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides/configuration.

Can you help me?

ricardodomingues10 avatar Mar 12 '24 12:03 ricardodomingues10

Defining CHROME_PATH=/usr/bin/chromium also doesn't work. Despite this being the location in the published Debian docker image.

m4teh avatar May 05 '24 06:05 m4teh

Had the same issue. @m4teh Defining the 'CHROME_PATH' does not work as it is already defined inside the container (just run env inside the container -> you will see it is defined)

however I dug through some of the sourcecode. ( -> API -> tech-stack -> wappalyzer(v6.10) ->puppeteer) puppeteer has some documentation where I found a few Interesting thing: PUPPETEER_CACHE_DIR -> nope PUPPETEER_EXECUTABLE_PATH -> YES this is it (Somewhere through the chain the CHROME_PATH gets lost and now replaced with nothing - didnt look where but semms to be solvable)

Screenshots of it not working/Working with the coresponding Compose files not working :(

grafik

now working :) grafik

TLDR: Set the env -> PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium

If i get my hands on some time I will debug this.

Error00101 avatar Aug 23 '24 19:08 Error00101