Fail to deploy with no error log but "0 new files to upload"

Hello everyone,

From this morning, it seems like deployment show a failed status even if on log everything look fine. I have no idea where i should dig more to find a solution.

I had to deploy an hotfix this morning (1 file) deployment log are completely normal ( I compare to old deployment log and everything is similar, node version, …). I try to deploy last stable version and i still have the failed deployment status.

10:52:37 AM: Build ready to start
10:52:44 AM: build-image version: 9cade8af58c2cf3a17a1e9433d2e979149488837
10:52:44 AM: build-image tag: v3.3.5
10:52:44 AM: buildbot version: 2d05064ce3dd2eb95d282a24602ab707dd9581e8
10:52:44 AM: Fetching cached dependencies
10:52:44 AM: Starting to download cache of 322.3MB
10:52:45 AM: Finished downloading cache in 1.520621066s
10:52:45 AM: Starting to extract cache
10:52:58 AM: Finished extracting cache in 13.192642293s
10:52:59 AM: Finished fetching cache in 15.06242129s
10:52:59 AM: Starting to prepare the repo for build
10:53:00 AM: Preparing Git Reference refs/heads/master
10:53:01 AM: Found Netlify configuration file. Overriding site configuration
10:53:01 AM: Different functions path detected, going to use the one specified in the Netlify configuration file: './functions/dist' versus '' in the Netlify UI
10:53:01 AM: Creating functions prep folder
10:53:01 AM: Starting build script
10:53:01 AM: Installing dependencies
10:53:02 AM: Started restoring cached node version
10:53:04 AM: Finished restoring cached node version
10:53:05 AM: v10.18.0 is already installed.
10:53:06 AM: Now using node v10.18.0 (npm v6.13.4)
10:53:06 AM: Attempting ruby version 2.6.2, read from environment
10:53:08 AM: Using ruby version 2.6.2
10:53:08 AM: Using PHP version 5.6
10:53:08 AM: Started restoring cached node modules
10:53:08 AM: Finished restoring cached node modules
10:53:08 AM: Started restoring cached go cache
10:53:08 AM: Finished restoring cached go cache
10:53:08 AM: unset GOOS;
10:53:08 AM: unset GOARCH;
10:53:08 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.12.linux.amd64';
10:53:08 AM: export PATH="/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}";
10:53:08 AM: go version >&2;
10:53:08 AM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.12.linux.amd64.env';
10:53:08 AM: go version go1.12 linux/amd64
10:53:08 AM: Installing missing commands
10:53:08 AM: Verify run directory
10:53:08 AM: Executing user command: npm run build
...
...
10:53:58 AM: Prepping functions complete
10:53:58 AM: Caching artifacts
10:53:58 AM: Started saving node modules
10:53:58 AM: Finished saving node modules
10:53:58 AM: Started saving pip cache
10:53:58 AM: Finished saving pip cache
10:53:58 AM: Started saving emacs cask dependencies
10:53:58 AM: Finished saving emacs cask dependencies
10:53:58 AM: Started saving maven dependencies
10:53:58 AM: Finished saving maven dependencies
10:53:58 AM: Started saving boot dependencies
10:53:58 AM: Finished saving boot dependencies
10:53:58 AM: Started saving go dependencies
10:53:58 AM: Finished saving go dependencies
10:53:58 AM: Build script success
10:53:58 AM: Starting to deploy site from 'public'
10:53:59 AM: Creating deploy tree
10:53:59 AM: 0 new files to upload
10:53:59 AM: 0 new functions to upload
10:54:58 AM: Finished processing build request in 2m14.549509169s

One strange point is the “0 new files to upload”. I’m deploying from gitlab but my commit contain modification. Hope someone can help me on this point.

Solution was just to change function node version as i was still using v8.10 Node runtime version. Since the 6th of January this version it’s not usable anymore on cloud function.

1 Like