Thanks so much for following up, sorry to hear you are still encountering issues. Have you read through this guide about different ways to optimize your build time? This could be a good jumping off point: [Support Guide] How can I optimize my Netlify build time?
I can see that you already have 1 hour of time limit. For an hour, your build simply logs just 1 line:
I’d advise to add additional logging to your build that could help you find the root of the issue.
Before we try to bump this further, can we know how long does it take to build locally? Have you had any success in finding out why the build is not moving past that line. The thing is, if we increase the build timeout, you’re simply burning off your build minutes without doing anything. So, instead of 1 hour, you’d now burn 1.5 hours of build minutes.
In most cases, we could see that the build was trying to do something and it got timed out, but in your case it seems like it’s not doing anything at all.
Hi, @mcyouks. I’m pretty sure the failure reason is still the timeout.
How powerful is your local system? I ask because it is probably true that your local computer is much more powerful than the container used for the build system at Netlify. Your build is guaranteed only 1 “virtual CPU” and 3 GB of memory, though it may get more when the system is less busy.
Your local system likely has multiple “cores” (aka “virtual CPUs”) and also probably has much more memory than 3 GB. If true, this means the build at Netlify is going to take much longer than 20 minutes.
It might help add logging to the site build in some way so you can see the timestamps for each line at Netlify to get an idea of how quickly the build is proceeding here. You could then compare that to a local builds timestamp and that would give you an idea of how much faster your local system is.
If you would like to test a longer build time, we can extend it again so please let us know if we should do so.
You could try to wrap your build script inside a Node.js script using spwan in childProcess and try to print usage logs like these (probably at a set interval):
Hello,
I have the same building problem with my master production branch where build exceed maximum runtime. It doesn’t happen absolutely every single time but like 85% of the time.
Can you please increase the build runtime on the same site?
Workspace: ateliermotif-dev
Website: atelier-motif.com
Thank you in advance.
hi there @intpractice - we’d be happy to extend your build time (how high would you like us to set it?) but at the moment I see your account does not have a payment method (i.e. credit card) on file. We do need to have a payment method before we can make this change.
do let us know when you have added one, and we can get you set up!
Thanks for the quick response.
I just added a payment method to my account.
Let’s try increasing the minutes to 60 and see if this will be sufficient. Thank you!