R
Railway•10mo ago
Ryan!

"Waiting" to deploy for 18 hours? Am I doing something wrong?

I'm trying to move an app I deployed personally to a new account by setting up a new account and new git repo, so this wont be linked to my Discord profile.
Solution:
ray is about to do a little rm -rf /var/lib/docker/overlay2/*
Jump to solution
29 Replies
Percy
Percy•10mo ago
Project ID: 5d77fb37-1fba-4a55-bbd3-e0fab8243723
Ryan!
Ryan!•10mo ago
Project ID: 5d77fb37-1fba-4a55-bbd3-e0fab8243723
Brody
Brody•10mo ago
waiting usually means your CI hasn't completed
Ryan!
Ryan!•10mo ago
Perhaps, but it finished quickly. All my environments for this project are in this state. Perhaps the message from Github got lost? I can't bump them to try to redeploy
Ryan!
Ryan!•10mo ago
Here's my main branch
Ryan!
Ryan!•10mo ago
Brody
Brody•10mo ago
odd, yeah do a blank comment
Ryan!
Ryan!•10mo ago
I just tried to redploy the last commit to work since the waiting ones didn't have any elements in the dropdown menu The build failed
Brody
Brody•10mo ago
well that's not ideal do you know why?
Ryan!
Ryan!•10mo ago
when it worked yesterday
#9 DONE 0.1s





#10 [stage-0 6/8] RUN --mount=type=cache,id=s/381b73ed-57df-4e25-ab17-35e3bc9f7a36-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt



#10 3.543 Error: Command '['/opt/venv/bin/python', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.



#10 ERROR: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1

-----

> [stage-0 6/8] RUN --mount=type=cache,id=s/381b73ed-57df-4e25-ab17-35e3bc9f7a36-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt:

3.543 Error: Command '['/opt/venv/bin/python', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

-----



Dockerfile:20

-------------------

18 | ENV NIXPACKS_PATH /opt/venv/bin:$NIXPACKS_PATH

19 | COPY . /app/.

20 | >>> RUN --mount=type=cache,id=s/381b73ed-57df-4e25-ab17-35e3bc9f7a36-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt

21 |

22 |

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1



Error: Docker build failed
#9 DONE 0.1s





#10 [stage-0 6/8] RUN --mount=type=cache,id=s/381b73ed-57df-4e25-ab17-35e3bc9f7a36-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt



#10 3.543 Error: Command '['/opt/venv/bin/python', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.



#10 ERROR: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1

-----

> [stage-0 6/8] RUN --mount=type=cache,id=s/381b73ed-57df-4e25-ab17-35e3bc9f7a36-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt:

3.543 Error: Command '['/opt/venv/bin/python', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

-----



Dockerfile:20

-------------------

18 | ENV NIXPACKS_PATH /opt/venv/bin:$NIXPACKS_PATH

19 | COPY . /app/.

20 | >>> RUN --mount=type=cache,id=s/381b73ed-57df-4e25-ab17-35e3bc9f7a36-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt

21 |

22 |

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1



Error: Docker build failed
looks like the foundation for my container? I'll try a blank commit. For the error above, I'd expect a build that worked yesterday to work unchanged todaye
Brody
Brody•10mo ago
one would expect that, yes send the full logs though please https://bookmarklet.up.railway.app/log-downloader/
Ryan!
Ryan!•10mo ago
PR created with a nothing commit. CI usually runs in under 2 minutes
Brody
Brody•10mo ago
build logs please?
Ryan!
Ryan!•10mo ago
New PR build got past the error above.
Ryan!
Ryan!•10mo ago
PR for this discussion deployed successfully and quickly. Merging, praying for main to follow
Brody
Brody•10mo ago
sounds good
Ryan!
Ryan!•10mo ago
whelp, my prayers were not answered
Ryan!
Ryan!•10mo ago
I think this might be the culprit
ERROR: failed to solve: failed to read dockerfile: failed to prepare as owhs8qzk20lf19tlkpntgihgb: mkdir /var/lib/docker/overlay2/owhs8qzk20lf19tlkpntgihgb: no space left on device
ERROR: failed to solve: failed to read dockerfile: failed to prepare as owhs8qzk20lf19tlkpntgihgb: mkdir /var/lib/docker/overlay2/owhs8qzk20lf19tlkpntgihgb: no space left on device
Ryan!
Ryan!•10mo ago
>>
no space left on device
no space left on device
Definitely not a good user experience (I really appreciate your speedy response here)
Brody
Brody•10mo ago
hey now errors happen
Ryan!
Ryan!•10mo ago
I've caused my fair share It's the nature of the work for sure.
Brody
Brody•10mo ago
@Ray - docker error: no space left on device
Duchess
Duchess•10mo ago
Thread has been flagged to Railway team by @Brody.
Ray
Ray•10mo ago
👀 thanks for the pings, created an incident
Ryan!
Ryan!•10mo ago
Thank you. If there's anything I should do besides wait, let me know.
Solution
Brody
Brody•10mo ago
ray is about to do a little rm -rf /var/lib/docker/overlay2/*
Ryan!
Ryan!•10mo ago
Gotta love the ole rm -rf
Ray
Ray•10mo ago
😉 try again
Brody
Brody•10mo ago
gets the job done every time @Ryan!