5 months ago
Hi! For some reason I cannot manage to deploy anymore. The build appear stuck (Publish image hangs indefinitely) but the build logs show success and the deploy logs are empty.
I have already tried:
- Redeployed several times.
- Deleted old deploys / restarted the service.
- Made fresh commits to trigger a rebuild.
Build Context ID 2plw-2ZPX
7 Replies
5 months ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 Deployments hanging at "Creating containers..." after Railway Metal upgrade
- 🧵 Deployment stucks forever
If you find the answer from one of these, please let us know by solving the thread!
Railway
Hey there! We've found the following might help you get unblocked faster: - [🧵 Deployments hanging at "Creating containers..." after Railway Metal upgrade](https://station.railway.com/questions/deployments-hanging-at-creating-contain-0dcdb505) - [🧵 Deployment stucks forever](https://station.railway.com/questions/deployment-stucks-forever-be3ae787) If you find the answer from one of these, please let us know by solving the thread!
5 months ago
Thanks but these do not help me.
5 months ago
I've redeployed again after 15mins and this time it worked, whatever the issue was it seems to have been resolved. I'll message if this issue happens again.
5 months ago
- Some, but redeploy didn't help
5 months ago
Thank you and please do message if you see it again! We have a slight issue we're working on specifically with metal builders. Have a project in the works which should fix a whole bunch of issues from the "push code" -> "go live" flow.
Status changed to Awaiting User Response Railway • 5 months ago
5 months ago
I'm seeing this on one of my environents. After pushing the image it just hangs.
scheduling build on Metal builder "builder-pyshnl"
fetched snapshot sha256:8969d668a3824ac3a59b746e12bc12063faf9d265cb45790f293e91336958ddf (1.6 MB bytes)
fetching snapshot1.5 MB94ms
unpacking archive3.2 MB46ms
internal
load build definition from backend/Dockerfile
0ms
internal
load metadata for docker.io/library/python:3.12-slim
1s
FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2)(https://docs.docker.com/go/dockerfile/rule/from-as-casing/) details: The 'as' keyword should match the case of the 'from' keyword
internal
load .dockerignore
0ms
UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' (line 61)(https://docs.docker.com/go/dockerfile/rule/undefined-var/) details: Variables should be defined before their use
internal
load build context
0ms
builder
13ms
stage-1
COPY --from=builder /root/.local /root/.local cached
0ms
builder
RUN pip install --no-cache-dir --user -r requirements.txt cached
0ms
builder
COPY requirements.txt . cached
0ms
builder
WORKDIR /app cached
0ms
builder
RUN apt-get update && apt-get install -y build-essential && rm -rf /var/lib/apt/lists/* cached
0ms
stage-1
WORKDIR /app cached
0ms
stage-1
RUN apt-get update && apt-get install -y libcairo2 libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf-2.0-0 libffi-dev shared-mime-info libgl1 libgl1-mesa-dri libglx0 libglib2.0-0 libsm6 libxext6 libxrender-dev libgomp1 && rm -rf /var/lib/apt/lists/* && ldconfig && ls -la /lib/x86_64-linux-gnu/libGL.so* || echo "Warning: libGL.so not found" cached
0ms
stage-1
COPY . .
334ms
stage-1
RUN mkdir -p /app/.cache/transformers /app/.cache/sentence_transformers /app/.cache/huggingface
407ms
exporting to docker image format
20s
containerimage.descriptor: eyJtZWRpYVR5cGUiOiJhcHBsaWNhdGlvbi92bmQub2NpLmltYWdlLm1hbmlmZXN0LnYxK2pzb24iLCJkaWdlc3QiOiJzaGEyNTY6OTlkYzAxMmNiN2VhOGQ1NTQzZjMwMWI0OWE3NThmZGY1NmE3ZjhkZDM3MjIyNWIwNjNlNGNhMDI4ZGU2M2M1MyIsInNpemUiOjIwMTAsImFubm90YXRpb25zIjp7Im9yZy5vcGVuY29udGFpbmVycy5pbWFnZS5jcmVhdGVkIjoiMjAyNi0wMS0xNlQwMDo0OToxMVoifSwicGxhdGZvcm0iOnsiYXJjaGl0ZWN0dXJlIjoiYW1kNjQiLCJvcyI6ImxpbnV4In19
containerimage.config.digest: sha256:13df028cac14ac126f279075a2a00af9e3b210cc2bc98bc3989c06c92227d555
containerimage.digest: sha256:99dc012cb7ea8d5543f301b49a758fdf56a7f8dd372225b063e4ca028de63c53
image push
4.3 GB / 4.3 GB
Status changed to Awaiting Railway Response Railway • 5 months ago
timkregernew
I'm seeing this on one of my environents. After pushing the image it just hangs. scheduling build on Metal builder "builder-pyshnl" fetched snapshot sha256:8969d668a3824ac3a59b746e12bc12063faf9d265cb45790f293e91336958ddf (1.6 MB bytes) fetching snapshot1.5 MB94ms unpacking archive3.2 MB46ms internal load build definition from backend/Dockerfile 0ms internal load metadata for [docker.io/library/python:3.12-slim](http://docker.io/library/python:3.12-slim) 1s FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2)(<https://docs.docker.com/go/dockerfile/rule/from-as-casing/>) details: The 'as' keyword should match the case of the 'from' keyword internal load .dockerignore 0ms UndefinedVar: Usage of undefined variable '$LD\_LIBRARY\_PATH' (line 61)(<https://docs.docker.com/go/dockerfile/rule/undefined-var/>) details: Variables should be defined before their use internal load build context 0ms builder FROM [docker.io/library/python:3.12-slim@sha256:d75c4b6cdd039ae966a34cd3ccab9e0e5f7299280ad76fe1744882d86eedce0b](http://docker.io/library/python:3.12-slim@sha256:d75c4b6cdd039ae966a34cd3ccab9e0e5f7299280ad76fe1744882d86eedce0b) 13ms stage-1 COPY --from=builder /root/.local /root/.local cached 0ms builder RUN pip install --no-cache-dir --user -r requirements.txt cached 0ms builder COPY requirements.txt . cached 0ms builder WORKDIR /app cached 0ms builder RUN apt-get update && apt-get install -y build-essential && rm -rf /var/lib/apt/lists/\* cached 0ms stage-1 WORKDIR /app cached 0ms stage-1 RUN apt-get update && apt-get install -y libcairo2 libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf-2.0-0 libffi-dev shared-mime-info libgl1 libgl1-mesa-dri libglx0 libglib2.0-0 libsm6 libxext6 libxrender-dev libgomp1 && rm -rf /var/lib/apt/lists/\* && ldconfig && ls -la /lib/x86\_64-linux-gnu/[libGL.so](http://libGL.so)\* || echo "Warning: [libGL.so](http://libGL.so) not found" cached 0ms stage-1 COPY . . 334ms stage-1 RUN mkdir -p /app/.cache/transformers /app/.cache/sentence\_transformers /app/.cache/huggingface 407ms exporting to docker image format 20s containerimage.descriptor: eyJtZWRpYVR5cGUiOiJhcHBsaWNhdGlvbi92bmQub2NpLmltYWdlLm1hbmlmZXN0LnYxK2pzb24iLCJkaWdlc3QiOiJzaGEyNTY6OTlkYzAxMmNiN2VhOGQ1NTQzZjMwMWI0OWE3NThmZGY1NmE3ZjhkZDM3MjIyNWIwNjNlNGNhMDI4ZGU2M2M1MyIsInNpemUiOjIwMTAsImFubm90YXRpb25zIjp7Im9yZy5vcGVuY29udGFpbmVycy5pbWFnZS5jcmVhdGVkIjoiMjAyNi0wMS0xNlQwMDo0OToxMVoifSwicGxhdGZvcm0iOnsiYXJjaGl0ZWN0dXJlIjoiYW1kNjQiLCJvcyI6ImxpbnV4In19 containerimage.config.digest: sha256:13df028cac14ac126f279075a2a00af9e3b210cc2bc98bc3989c06c92227d555 containerimage.digest: sha256:99dc012cb7ea8d5543f301b49a758fdf56a7f8dd372225b063e4ca028de63c53 image push 4.3 GB / 4.3 GB
5 months ago
Hello!
Can you try disabling metal builder real quick? Would like to see if that is the common issue here
Status changed to Awaiting User Response Railway • 5 months ago
5 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 5 months ago