test env not working
milan0478
HOBBYOP

10 months ago

Hello, i use railway for my project and i had a prd env up and running. I just recreated this env for testing purposes and for some reason all the services fail to build.

10 Replies

milan0478
HOBBYOP

10 months ago

The only difference i could find is that production services have java selected as a provider

1418323329076429022


milan0478
HOBBYOP

10 months ago

i cannot select these myself in tst


10 months ago

Is your prod env (main one) using Nixpacks?


10 months ago

I think that it is trying to use Railpack in the newly created env


milan0478
HOBBYOP

10 months ago

They both use railpack


emmakolade
HOBBY

10 months ago

Hi sorry you’re running into this. A few quick things to check:

  • Do the build logs show a specific error?
  • Were all your environment variables copied over to the new env?
  • Are service links/dependencies (DB connections) still set up?
  • Sometimes recreating an env clears caches do you have versions pinned in your config?
  • If you can share one of the log errors, I’ll help you dig in further

milan0478
HOBBYOP

10 months ago

Its a java application which i build in railway,

Here is the error:

copy /app/target

ERROR: failed to build: failed to solve: failed to compute cache key: failed to calculate checksum of ref bsz3qynkq48iqwfzb36emvrhl::1gybsodl4btkmaervyel4kniw: "/app/target": not found


milan0478
HOBBYOP

10 months ago

All databases are set correctly


milan0478
HOBBYOP

10 months ago

bump


milan0478
HOBBYOP

9 months ago

I still dont have an answer, and its still not working.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...