#build timed out

19 messages · Page 1 of 1 (latest)

runic tulip
#

Hello,

I'm deploying a django project on Railway, the get this persistant error:
[9/9] RUN python manage.py collectstatic --noinput

1748 static files copied to '/app/staticfiles'.

[9/9] RUN python manage.py collectstatic --noinput ✔ 4s

exporting to docker image format

exporting to image

Build timed out
Who can help me please?

quasi gladeBOT
#

Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.

#

No project ID was provided. Closing thread.

runic tulip
visual kite
#

1748 static files e_guh
how big is your app?

runic tulip
#

4.41GB.

visual kite
#

Do you know what's taking up that space? Is it just an incredibly large app you're hosting or is most of it due to assets like images and videos?

#

If assets make up a good chunk of it then it'd be a good idea to seperate that into a volume so that it doesn't need to be uploaded upon each update, that should reduce build times ultimately preventing this problem

runic tulip
twin folio
#

I don’t think getting the files uploaded from Github is the issue. The build fails during the collectstatic step

#

imo it would be better to host the images/videos externally in a database rather than a volume. a db would remove those files from the repo entirely and allow you to pull them dynamically

#

potentially just the videos if they’re the main culprit?

twin folio
#

!s

visual kite
#

bruh

twin folio
#

I answered the question?

visual kite
#

ok

trim nexus
#

I think fragly's bruh was directed towards the bot not working 😆