Need deployement help
ajkap55
PROOP

6 months ago

Hello Tech Team,

My developer developed a scraper system based on “Chromium and Chromium Drivers”, which runs a headless Chrome browser to scrape content and store it in our database. Most of the basic scrapers are deployed and functioning properly, but two linux packages are still failing to install on the server.

Could you please take a look at the attached deployment file? It outlines the Chromium Packages he's trying to install and may help clarify the issue.

Once headless Chrome is successfully installed on the linux server, all scrapers should work as expected.

Looking forward to your support on this

Thank You!

$20 Bounty

5 Replies

Railway
BOT

6 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


ajkap55
PROOP

6 months ago

I tried to attach but it's not working. This is from the attachment:

#!/bin/bash

set -e

echo "Updating base system..."

apt-get update && apt-get install -y \

wget unzip curl \

libglib2.0-0 \

libnss3 \

libgdk-pixbuf2.0-0 \

libgtk-3-0 \

libx11-xcb1 \

libxcomposite1 \

libxdamage1 \

libxrandr2 \

libatk-bridge2.0-0 \

libatspi2.0-0 \

libdrm2 \

libasound2t64 \

libgbm1 \

--no-install-recommends

CHROME_VERSION="124.0.6367.91"

echo "Installing Chromium $CHROME_VERSION..."

wget -q https://storage.googleapis.com/chrome-for-testing-public/${CHROME_VERSION}/linux64/chrome-linux64.zip

unzip -q chrome-linux64.zip

mv chrome-linux64 /opt/chrome

chmod +x /opt/chrome/chrome

export CHROME_BINARY="/opt/chrome/chrome"

echo "Installing ChromeDriver $CHROME_VERSION..."

wget -q https://storage.googleapis.com/chrome-for-testing-public/${CHROME_VERSION}/linux64/chromedriver-linux64.zip

unzip -q chromedriver-linux64.zip

mv chromedriver-linux64/chromedriver /usr/local/bin/chromedriver

chmod +x /usr/local/bin/chromedriver

echo "=== Debug Chrome Setup ==="

$CHROME_BINARY --version || echo "Chrome failed to run"

chromedriver --version || echo "ChromeDriver failed to run"

echo "Starting Flask app..."

python supervisor.py


ajkap55
PROOP

6 months ago

Please help as soon as you can. Thanks!


brody
EMPLOYEE

6 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 7 months ago


ajkap55
PROOP

6 months ago

So someone will respond to help?


brody
EMPLOYEE

6 months ago

I've bountied this thread so that someone from the community can help, as the Railway team cannot provide application-level support. We can only provide support for the Railway platform and product.


Loading...