My deploy isn't starting even though my build does not fail.
yuyulbm
HOBBYOP

2 months ago

I started deploying some new changes to my github repo and they just started failing and I didn't know why. nothing seemed off at the start so I'm really confused what's going on. redeploys fail as well.

Solved

41 Replies

2 months ago

Hey, can you show the logs. which may reveal more about why the deployment failed?


yuyulbm
HOBBYOP

2 months ago

sure


yuyulbm
HOBBYOP

2 months ago

1459992035002941700
1459992035716239600


2 months ago

Interesting, can you share the service ID (or the URL to the service in question)?


yuyulbm
HOBBYOP

2 months ago

yeah sure um how do I acess the service id agaion sorry its been a while


2 months ago

No worries, you can get it with CMD/CTRL+K > Copy Service ID.


yuyulbm
HOBBYOP

2 months ago

c7574b14-87d7-4bca-b455-466f9c6e01bd


2 months ago

!t


2 months ago

This thread has been escalated to the Railway team.

Status changed to Awaiting Railway Response uxuz 2 months ago


yuyulbm
HOBBYOP

2 months ago

wow that's cool


yuyulbm
HOBBYOP

2 months ago

I tested on other repos and those work but except mine


yuyulbm
HOBBYOP

2 months ago

1460048912982212900


yuyulbm
HOBBYOP

2 months ago

i do have these 6 warnings


yuyulbm
HOBBYOP

2 months ago

1460049005605032000


yuyulbm
HOBBYOP

2 months ago

I figured out that my problem is build timeout. I’m on the hobby plan and my builds have been really slow lately but I have expected that since I have quite the dependencies and its node.js but I was wondering if I can do anything to decrease the build time?


2 months ago

What kind of application are you building or what kind of dependencies do you have for the build to take this long?


yuyulbm
HOBBYOP

2 months ago

It’s just a simple web app with express and I don’t have nothing that crazy I believe


yuyulbm
HOBBYOP

2 months ago

{
  "name": "gildnovel",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "engines": {
    "node": "18.x"
  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "start": "node ."
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/yuyulbm/novels.git"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/yuyulbm/novels/issues"
  },
  "homepage": "https://github.com/yuyulbm/novels",
  "dependencies": {
    "@aws-sdk/client-s3": "^3.490.0",
    "@aws-sdk/s3-request-presigner": "^3.490.0",
    "axios": "^0.27.2",
    "cookie-parser": "^1.4.6",
    "cors": "^2.8.5",
    "cypress": "^13.1.0",
    "dotenv": "^16.3.1",
    "express": "^4.18.1",
    "express-session": "^1.18.0",
    "jsonwebtoken": "^8.5.1",
    "jspdf": "^3.0.3",
    "memorystore": "^1.6.7",
    "mongoose": "^6.0.12",
    "multer": "^1.4.3",
    "nodemon": "^3.0.1",
    "passport": "^0.7.0",
    "passport-google-oauth": "^2.0.0",
    "path": "^0.12.7",
    "request": "^2.88.2",
    "resize-image-buffer": "^1.0.0",
    "stripe": "^16.9.0",
    "uuid": "^9.0.1"
  }
}

yuyulbm
HOBBYOP

2 months ago

There we go


yuyulbm
HOBBYOP

2 months ago

Yeah it keeps getting stuck at image build but I checked it at 4 minutes and it said it was done?

1460285046840627500


2 months ago

Does the build "timeout" (or perhaps just fail) after 4 minutes?


yuyulbm
HOBBYOP

2 months ago

It fails around 10 minutes I believe I’m checking it right now


2 months ago

I am not sure if this going to help, but you can try turning the metal build environment off if it is on. This can be found in your service's settings.

1460286420575846400


yuyulbm
HOBBYOP

2 months ago

2 mins in it finished

1460286478881128700


yuyulbm
HOBBYOP

2 months ago

No fail yet


yuyulbm
HOBBYOP

2 months ago

Ah okay let em try it


yuyulbm
HOBBYOP

2 months ago

Oh


yuyulbm
HOBBYOP

2 months ago

1460287043103097000


yuyulbm
HOBBYOP

2 months ago

It works now?


yuyulbm
HOBBYOP

2 months ago

I just moved some dependencies to dev in package.json


yuyulbm
HOBBYOP

2 months ago

Oh this made it faster actually


yuyulbm
HOBBYOP

2 months ago

1460287572281659600


2 months ago

<:mildpanic:804271964587819059>


yuyulbm
HOBBYOP

2 months ago

Thank you for your help <:salute:1137099685417451530> <:lfg:786867302888505364>


yuyulbm
HOBBYOP

2 months ago

Though I am confused as why turning off metal made it faster when it should make builds faster <:bigbrain:666602645397700608>


2 months ago

Something is definitely off


yuyulbm
HOBBYOP

2 months ago

<:royreaction:1458951048655015946>


yuyulbm
HOBBYOP

2 months ago

Xdxd


yuyulbm
HOBBYOP

2 months ago

Solved


yuyulbm
HOBBYOP

2 months ago

Idk how to do it


yuyulbm
HOBBYOP

2 months ago

!solve


2 months ago

Only conductors and team members can mark the thread as solved.


Status changed to Solved uxuz 2 months ago


Loading...