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

a month 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

uxuz
MODERATOR

a month ago

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


yuyulbm
HOBBYOP

a month ago

sure


yuyulbm
HOBBYOP

a month ago

1459992035002941700
1459992035716239600


uxuz
MODERATOR

a month ago

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


yuyulbm
HOBBYOP

a month ago

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


uxuz
MODERATOR

a month ago

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


yuyulbm
HOBBYOP

a month ago

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


uxuz
MODERATOR

a month ago

!t


uxuz
MODERATOR

a month ago

This thread has been escalated to the Railway team.

Status changed to Awaiting Railway Response uxuz about 1 month ago


yuyulbm
HOBBYOP

a month ago

wow that's cool


yuyulbm
HOBBYOP

a month ago

I tested on other repos and those work but except mine


yuyulbm
HOBBYOP

a month ago

1460048912982212900


yuyulbm
HOBBYOP

a month ago

i do have these 6 warnings


yuyulbm
HOBBYOP

a month ago

1460049005605032000


yuyulbm
HOBBYOP

a month 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?


uxuz
MODERATOR

a month 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

a month ago

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


yuyulbm
HOBBYOP

a month 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

a month ago

There we go


yuyulbm
HOBBYOP

a month ago

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

1460285046840627500


uxuz
MODERATOR

a month ago

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


yuyulbm
HOBBYOP

a month ago

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


uxuz
MODERATOR

a month 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

a month ago

2 mins in it finished

1460286478881128700


yuyulbm
HOBBYOP

a month ago

No fail yet


yuyulbm
HOBBYOP

a month ago

Ah okay let em try it


yuyulbm
HOBBYOP

a month ago

Oh


yuyulbm
HOBBYOP

a month ago

1460287043103097000


yuyulbm
HOBBYOP

a month ago

It works now?


yuyulbm
HOBBYOP

a month ago

I just moved some dependencies to dev in package.json


yuyulbm
HOBBYOP

a month ago

Oh this made it faster actually


yuyulbm
HOBBYOP

a month ago

1460287572281659600


uxuz
MODERATOR

a month ago

<:mildpanic:804271964587819059>


yuyulbm
HOBBYOP

a month ago

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


yuyulbm
HOBBYOP

a month ago

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


uxuz
MODERATOR

a month ago

Something is definitely off


yuyulbm
HOBBYOP

a month ago

<:royreaction:1458951048655015946>


yuyulbm
HOBBYOP

a month ago

Xdxd


yuyulbm
HOBBYOP

a month ago

Solved


yuyulbm
HOBBYOP

a month ago

Idk how to do it


yuyulbm
HOBBYOP

a month ago

!solve


uxuz
MODERATOR

a month ago

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


Status changed to Solved uxuz about 1 month ago


Loading...