ulixee / platform

Home of the Ulixee Open Data Platform
https://ulixee.org/
MIT License
47 stars 9 forks source link

Can't deploy CloudNode on Fly.io, browser missing #214

Open glassworks-projects opened 2 weeks ago

glassworks-projects commented 2 weeks ago

I am trying to deploy a CloudNode as a Fly app. I can deploy the app, expose port 1818, and send requests from my local Hero client to the app. But invariably I get:

Error: Failed to launch chrome 128.0.6613.137:

Please re-install the browser engine:
-------------------------------------------------
-------------- NPM INSTALL ----------------------
-------------------------------------------------

 npm install @ulixee/chrome-128-0

-------------------------------------------------

Here's the repo I'm experimenting with, it's quite small: https://github.com/silknode-dev/silk-ulixee

I've tried directly installing @ulixee/chrome-128-0, as well as installing Chrome directly via my Dockerfile. Neither worked. Not sure if this is a limitation of Ulixee or I'm just doing something wrong, but either way...please help :sob:

blakebyrnes commented 2 weeks ago

You probably need to do post-installs for the chrome browser. You can see a sample docker here that might help - note there are several folders that Hero will write to that you should ensure you have write access to

https://github.com/ulixee/platform/tree/main/cloud/tools/docker