Hello,
the site name is: marvelous-kulfi-0cff94.netlify.app/
It is deploying from a Github repository and has been working fine until yesterday afternoon. It started failing in the late afternoon, worked twice in the evening, and consistently fails since this afternoon. There was no changes to the siteβs configuration, only content.
Build log:
6:06:15 PM: build-image version: c0621868af5001023389eeaa9dbfbbaf313f67e2 (focal)
6:06:15 PM: buildbot version: c0621868af5001023389eeaa9dbfbbaf313f67e2
6:06:15 PM: Fetching cached dependencies
6:06:15 PM: Starting to download cache of 194.9MB
6:06:16 PM: Finished downloading cache in 1.18s
6:06:16 PM: Starting to extract cache
6:06:17 PM: Finished extracting cache in 779ms
6:06:17 PM: Finished fetching cache in 2.005s
6:06:17 PM: Starting to prepare the repo for build
6:06:17 PM: Preparing Git Reference refs/heads/main
6:06:20 PM: Parsing package.json dependencies
6:06:21 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'public' versus '' in the Netlify UI
6:06:21 PM: Different build command detected, going to use the one specified in the Netlify configuration file: 'rm -rf __obsidian __site && mkdir __obsidian && mv * __obsidian || true && git clone https://github.com/ppeetteerrs/obsidian-zola.git __site && __site/run.sh' versus '' in the Netlify UI
6:06:21 PM: Starting to install dependencies
6:06:21 PM: Installing Zola 0.15.2
6:06:23 PM: Started restoring cached go cache
6:06:23 PM: Finished restoring cached go cache
6:06:23 PM: Installing Go version 1.19.5 (requested 1.19.5)
6:06:33 PM: go version go1.19.5 linux/amd64
6:06:34 PM: Using PHP version 8.0
6:06:34 PM: v16.19.1 is already installed.
6:06:35 PM: Now using node v16.19.1 (npm v8.19.3)
6:06:35 PM: Enabling Node.js Corepack
6:06:35 PM: Started restoring cached build plugins
6:06:35 PM: Finished restoring cached build plugins
6:06:35 PM: Python version set to 3.8
6:06:35 PM: Attempting Ruby version 2.7.2, read from environment
6:06:36 PM: Using Ruby version 2.7.2
6:06:37 PM: Install dependencies script success
6:06:37 PM: Starting build script
6:06:37 PM: Using stage install dependencies
6:06:37 PM: Detected 0 framework(s)
6:06:37 PM: Section completed: initializing
6:06:38 PM: β
6:06:38 PM: Netlify Build
6:06:38 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:38 PM: β
6:06:38 PM: β― Version
6:06:38 PM: @netlify/build 29.5.8
6:06:38 PM: β
6:06:38 PM: β― Flags
6:06:38 PM: baseRelDir: true
6:06:38 PM: buildId: 63f4f9f6483df50008daffcb
6:06:38 PM: deployId: 63f4f9f6483df50008daffcd
6:06:38 PM: β
6:06:38 PM: β― Current directory
6:06:38 PM: /opt/build/repo
6:06:38 PM: β
6:06:38 PM: β― Config file
6:06:38 PM: /opt/build/repo/netlify.toml
6:06:38 PM: β
6:06:38 PM: β― Context
6:06:38 PM: production
6:06:38 PM: β
6:06:38 PM: 1. build.command from netlify.toml
6:06:38 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:38 PM: β
6:06:38 PM: $ rm -rf __obsidian __site && mkdir __obsidian && mv * __obsidian || true && git clone https://github.com/ppeetteerrs/obsidian-zola.git __site && __site/run.sh
6:06:38 PM: mv: cannot move '__obsidian' to a subdirectory of itself, '__obsidian/__obsidian'
6:06:38 PM: Cloning into '__site'...
6:06:40 PM: Collecting python-slugify
6:06:40 PM: Downloading python_slugify-8.0.0-py2.py3-none-any.whl (9.5 kB)
6:06:40 PM: Collecting text-unidecode>=1.3
6:06:40 PM: Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
6:06:40 PM: Installing collected packages: text-unidecode, python-slugify
6:06:40 PM: Successfully installed python-slugify-8.0.0 text-unidecode-1.3
...
6:06:41 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
...
6:06:41 PM: __site/run.sh: line 24: zola: command not found
6:06:41 PM: β
6:06:41 PM: "build.command" failed
6:06:41 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:06:41 PM: β
6:06:41 PM: Error message
6:06:41 PM: Command failed with exit code 127: rm -rf __obsidian __site && mkdir __obsidian && mv * __obsidian || true && git clone https://github.com/ppeetteerrs/obsidian-zola.git __site && __site/run.sh (https://ntl.fyi/exit-code-127)
6:06:41 PM: β
6:06:41 PM: Error location
6:06:41 PM: In build.command from netlify.toml:
6:06:41 PM: rm -rf __obsidian __site && mkdir __obsidian && mv * __obsidian || true && git clone https://github.com/ppeetteerrs/obsidian-zola.git __site && __site/run.sh
6:06:41 PM: β
6:06:41 PM: Resolved config
6:06:41 PM: build:
6:06:41 PM: command: rm -rf __obsidian __site && mkdir __obsidian && mv * __obsidian || true && git clone https://github.com/ppeetteerrs/obsidian-zola.git __site && __site/run.sh
6:06:41 PM: commandOrigin: config
6:06:41 PM: environment:
6:06:41 PM: - LANDING_BUTTON
6:06:41 PM: - LANDING_DESCRIPTION
6:06:41 PM: - LANDING_PAGE
6:06:41 PM: - LANDING_TITLE
6:06:41 PM: - PYTHON_VERSION
6:06:41 PM: - REPO_URL
6:06:41 PM: - SITE_TITLE
6:06:41 PM: - SITE_TITLE_TAB
6:06:41 PM: - SITE_URL
6:06:41 PM: - TIMEZONE
6:06:41 PM: - ZOLA_VERSION
6:06:41 PM: - SORT_BY
6:06:41 PM: - GANALYTICS
6:06:41 PM: - SLUGIFY
6:06:41 PM: - HOME_GRAPH
6:06:41 PM: - PAGE_GRAPH
6:06:41 PM: - SIDEBAR_COLLAPSED
6:06:41 PM: - FOOTER
6:06:41 PM: - ROOT_SECTION_NAME
6:06:41 PM: publish: /opt/build/repo/public
6:06:41 PM: publishOrigin: config
6:06:41 PM: Caching artifacts
6:06:41 PM: Started saving build plugins
6:06:41 PM: Finished saving build plugins
6:06:41 PM: Started saving pip cache
6:06:41 PM: Finished saving pip cache
6:06:41 PM: Started saving emacs cask dependencies
6:06:41 PM: Finished saving emacs cask dependencies
6:06:41 PM: Started saving maven dependencies
6:06:41 PM: Finished saving maven dependencies
6:06:41 PM: Started saving boot dependencies
6:06:41 PM: Finished saving boot dependencies
6:06:41 PM: Started saving rust rustup cache
6:06:41 PM: Finished saving rust rustup cache
6:06:41 PM: Started saving go dependencies
6:06:41 PM: Finished saving go dependencies
6:06:41 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
6:06:41 PM: Failing build: Failed to build site
6:06:41 PM: Finished processing build request in 26.533s
I have tried making a totally empty site (except the README page and the netlify.toml page) and the error is the same, so itβs not content related.
I suppose that the issue is that Zola is not properly installed (βsite/run.sh: line 24: zola: command not foundβ), but I donβt know how I can check that.
Thereβs also this message: βmv: cannot move β__obsidianβ to a subdirectory of itself, β__obsidian/__obsidianββ, but it was already appearing on the successful builds, so I donβt think itβs really relevant.
I have two sites using the same publishing system (the other is astounding-cocada-404faa) and they both have the issue (and briefly worked again yesterday evening).
Thanks for your help!