test env not working
milan0478
HOBBYOP

5 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

5 months ago

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

1418323329076429000


milan0478
HOBBYOP

5 months ago

i cannot select these myself in tst


medim
MODERATOR

5 months ago

Is your prod env (main one) using Nixpacks?


medim
MODERATOR

5 months ago

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


milan0478
HOBBYOP

5 months ago

They both use railpack


emmakolade
HOBBY

5 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

5 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

5 months ago

All databases are set correctly


milan0478
HOBBYOP

5 months ago

bump


milan0478
HOBBYOP

4 months ago

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


Loading...