biolds / sosse

Selenium Open Source Search Engine & crawler
GNU Affero General Public License v3.0
35 stars 3 forks source link

This version of ChromeDriver only supports Chrome version 126 #6

Open paulroeder opened 4 days ago

paulroeder commented 4 days ago

I cloned the repo, built the docker container without any extra steps or downloads (correct?) and tried to scrawl a website in the admin panel with chromium. I get the following error in the admin panel:

....
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome failed to start: crashed.
  (session not created: This version of ChromeDriver only supports Chrome version 126
Current browser version is 128.0.6613.137 with binary path /var/www/.cache/selenium/chrome/linux64/128.0.6613.137/chrome)
  (The process started from chrome location /var/www/.cache/selenium/chrome/linux64/128.0.6613.137/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

PS: Awesome project!

biolds commented 3 days ago

Thanks for the bug report, thanks for using Sosse!

It seems like Selenium somehow installed a more recent version of Chrome without installing the appropriate driver. I'll pin an older version to prevent this behavior.

The Dockerfile in the root of project builds an image that uses the Git version of the project, you will probably prefer running the stable version which can be built from the docker/debian/ directory. (also, you can check the documentation, it contains instruction to be able to persist data, there https://sosse.readthedocs.io/en/stable/install/docker.html)