10 months ago
here is log
please help
Starting Container
[2025-04-21 15:16:56 +0000] [2] [INFO] Handling signal: term
[2025-04-21 15:16:56 +0000] [59] [INFO] Worker exiting (pid: 59)
[2025-04-21 15:16:57 +0000] [61] [INFO] Worker exiting (pid: 61)
[2025-04-21 15:16:58 +0000] [2] [INFO] Shutting down: Master
Cloudinary configured successfully.
[2025-04-21 15:16:51 +0000] [2] [INFO] Starting gunicorn 21.2.0
[2025-04-21 15:16:51 +0000] [2] [INFO] Listening at: http://0.0.0.0:3000 (2)
[2025-04-21 15:16:51 +0000] [2] [INFO] Using worker: gthread
[2025-04-21 15:16:51 +0000] [59] [INFO] Booting worker with pid: 59
[2025-04-21 15:16:51 +0000] [61] [INFO] Booting worker with pid: 61
--- Healthcheck endpoint '/health' accessed ---
--- blur_service.py script started ---
Initializing PaddleOCR globally (forcing CPU)…
PaddleOCR initialized globally (CPU).
Stopping Container
26 Replies
10 months ago
Your application seems to be sending a TERM signal on initialization?
10 months ago
[2025-04-21 15:16:56 +0000] [2] [INFO] Handling signal: term
10 months ago
Does it run locally?
10 months ago
I don't know much about python
10 months ago
What is it intended to do?
10 months ago
Railway should automatically create the required docker environment for your app, there’s a bit of configuration you may need but we’ll start from scratch here
10 months ago
A gunicorn api?
10 months ago
I’m seeing gunicorn in the logs
10 months ago
great. Flask? or another framework
10 months ago
Great. copy the railway.json from the template linked below, then see if your app runs
10 months ago
if you have any other config files, please delete them
10 months ago
if you have one, yes
10 months ago
we’re starting from scratch here with a known working setup
when i delected the railway toml file and created railway.json
Failed to parse JSON file railway.json: unexpected end of JSON input
when both was there
--- Healthcheck endpoint '/health' accessed ---
[2025-04-21 18:26:02 +0000] [2] [INFO] Handling signal: term
[2025-04-21 18:26:03 +0000] [59] [INFO] Worker exiting (pid: 59)
[2025-04-21 18:26:03 +0000] [61] [INFO] Worker exiting (pid: 61)
[2025-04-21 18:26:05 +0000] [2] [INFO] Shutting down: Master
Stopping Container
10 months ago
please send the entire log file, not just a snippet. You can download the logs by clicking command/ctrl + k on the deployment menu
here is the downloaded deployed log