Apify and Crawlee Official Forum

Updated 3 months ago

The actor can't start

Can someone help to looking to my actor? I got this error while start.
My running log: runs/4wHMj7J2uLkrqVGM5#log
Attachment
2024-05-13_17-24-50.png
H
a
4 comments
Hey ,

Please use the following image in Dockerfile:

Plain Text
FROM apify/actor-node-puppeteer-chrome:20
Hello ,
I tried, but still not working. My log of running
https://api.apify.com/v2/logs/dYhIMKdpkbmiqaO3g
You are getting the following error:
Plain Text
Could not resolve the browser instance =>  Error: Unable to launch browser, error message: Failed to launch the browser process! undefined
[32:32:0514/014345.129218:ERROR:ozone_platform_x11.cc(243)] Missing X server or $DISPLAY

You can resolve this by setting the headless option to true

Or by adding updating the run command in Dockerfile from:
CMD npm start --silent
to:
CMD ./start_xvfb_and_run_cmd.sh && npm start --silent
It worked, thank for you help
Add a reply
Sign up and join the conversation on Discord