7 months ago
**Project:** restaurant-rocket (production)
**Deployment ID:** 39faf3a0
**Issue:** Container builds successfully but produces zero deploy logs
---
## Problem
After 20+ deployment attempts, Railway deployments consistently show:
- ✅ Build completes successfully
- ❌ **Deploy logs completely empty** (no output)
- ❌ HTTP 502 errors
- ❌ Application not responding
**Critical:** Even a minimal `CMD ["node", "--version"]` produces no deploy logs.
---
## Evidence
### Test 1: Minimal Node Version Test
```dockerfile
FROM node:20
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
ENV NODE_ENV=production
CMD ["node", "--version"]Result: Build succeeds, deploy logs empty, no output
Test 2: Railway CLI Shell Test
railway shell
node dist/index.jsResult: ✅ App starts successfully, logs appear correctly, all services work
Configuration
Build: Dockerfile (auto-detected)
Region: Southeast Asia (Singapore)
Node: 20
Port: Using process.env.PORT || 5000, binding to 0.0.0.0
Environment Variables: All configured (DATABASE_URL, SESSION_SECRET, etc.)
Start Command:
server.listen(process.env.PORT || 5000, "0.0.0.0", () => {
console.log(`Server running on port ${PORT}`);
});What We've Tried
- ✅ Dockerfile deployment
- ✅ Nixpacks auto-detection
- ✅ Verified all environment variables
- ✅ Dynamic port configuration
- ✅ Bound to 0.0.0.0
- ✅ Extensive startup logging
- ✅ Minimal
node --versiontest - ✅ Verified code works in CLI shell
- ✅ Removed problematic dependencies
- ✅ Reviewed Railway documentation
Result: Deploy logs remain empty for all tests.
Analysis
| Test | CLI Shell | Deployment |
| --- | --- | --- |
| Build | N/A | ✅ Success |
| node --version | ✅ Would work | ❌ No logs |
| node dist/index.js | ✅ Works | ❌ No logs |
| Environment | ✅ Available | ✅ Available |
| Logging | ✅ Captured | ❌ Not captured |
Conclusion: This is not an application code, build, or configuration issue. The Railway deployment runtime is not capturing container stdout/stderr.
Known Issue
Found similar reports on Railway Help Station:
Railway has acknowledged this as a known issue affecting multiple users.
Request
Please investigate:
- Why deploy logs are empty even for
node --version - Is the container actually starting in production runtime?
- Is the log aggregator connected to our project/region?
- Are there resource limits killing containers before logs flush?
Urgency: High - Production application offline for multiple days.
Full diagnostic: docs/RAILWAY-DEPLOYMENT-DIAGNOSTIC.md in GitHub repo: https://github.com/rjk461/Restaurant-Rocket
Contact
Domain: restaurantrocket.app (configured)
Expected Resolution: 24-48 hours given production impact
Thank you for your assistance.
4 Replies
7 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!
7 months ago
This did not help
7 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
7 months ago
Have you tried building it on local machine? using docker
abdulrehmanjr
Have you tried building it on local machine? using docker
7 months ago
yes - it had worked there