Build problems: Failed to read Git log - exit code 255

Hello,
My site is failing to build. It was working fine until my last (couple) of commits from GitHub. I reverted these but the issue still persists. I’m not being able to tell where is the problem. I would appreciate if you could help me.

Many thanks!
Flo

Context

Deploy log:

9:52:40 AM: build-image version: d55944c047ef0aee2ac01971edde72cb2a50acfe (focal)
9:52:40 AM: build-image tag: v4.16.1
9:52:40 AM: buildbot version: a1ec8307ac4591dcd155485cdfce7d7be735ab26
9:52:40 AM: Fetching cached dependencies
9:52:40 AM: Starting to download cache of 641.4MB
9:52:45 AM: Finished downloading cache in 4.25233518s
9:52:45 AM: Starting to extract cache
9:52:46 AM: Finished extracting cache in 1.041687589s
9:52:46 AM: Finished fetching cache in 5.381692904s
9:52:46 AM: Starting to prepare the repo for build
9:52:46 AM: Preparing Git Reference refs/heads/master
9:52:46 AM: git clone --filter=blob:none git@github.com:bienflorencia/personal-site
9:52:57 AM: Parsing package.json dependencies
9:52:58 AM: Starting build script
9:52:58 AM: Installing dependencies
9:52:58 AM: Python version set to 2.7
9:52:58 AM: Started restoring cached node version
9:52:59 AM: Finished restoring cached node version
9:52:59 AM: v8.17.0 is already installed.
9:52:59 AM: Now using node v8.17.0 (npm v6.13.4)
9:52:59 AM: Started restoring cached build plugins
9:52:59 AM: Finished restoring cached build plugins
9:53:00 AM: Attempting ruby version 2.7.2, read from environment
9:53:00 AM: Using ruby version 2.7.2
9:53:00 AM: Using PHP version 8.0
9:53:00 AM: Installing Hugo 0.52
9:53:01 AM: Hugo Static Site Generator v0.52/extended linux/amd64 BuildDate: 2018-11-28T15:01:21Z
9:53:01 AM: Started restoring cached go cache
9:53:01 AM: Finished restoring cached go cache
9:53:01 AM: Installing Go version 1.10 (requested 1.10)
9:53:04 AM: unset GOOS;
9:53:04 AM: unset GOARCH;
9:53:04 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.10.linux.amd64';
9:53:04 AM: export PATH="/opt/buildhome/.gimme/versions/go1.10.linux.amd64/bin:${PATH}";
9:53:04 AM: go version >&2;
9:53:04 AM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.10.linux.amd64.env"
9:53:04 AM: go version go1.10 linux/amd64
9:53:05 AM: Detected 2 framework(s)
9:53:05 AM: "hugo" at version "unknown"
9:53:05 AM: "zola" at version "unknown"
9:53:05 AM: Installing missing commands
9:53:05 AM: Verify run directory
9:53:05 AM: Section completed: initializing
9:53:06 AM: ​
9:53:06 AM:   Netlify Build                                                 
9:53:06 AM: ────────────────────────────────────────────────────────────────
9:53:06 AM: ​
9:53:06 AM: ❯ Version
9:53:06 AM:   @netlify/build 29.4.0
9:53:06 AM: ​
9:53:06 AM: ❯ Flags
9:53:06 AM:   baseRelDir: false
9:53:06 AM:   buildId: 63b7e1453282cd15243ce078
9:53:06 AM:   deployId: 63b7e1453282cd15243ce07a
9:53:06 AM: ​
9:53:06 AM: ❯ Current directory
9:53:06 AM:   /opt/build/repo
9:53:06 AM: ​
9:53:06 AM: ❯ Config file
9:53:06 AM:   /opt/build/repo/netlify.toml
9:53:06 AM: ​
9:53:06 AM: ❯ Context
9:53:06 AM:   production
9:53:06 AM: ​
9:53:06 AM:   1. build.command from netlify.toml                            
9:53:06 AM: ────────────────────────────────────────────────────────────────
9:53:06 AM: ​
9:53:06 AM: $ hugo
9:53:08 AM: ERROR 2023/01/06 08:53:08 Failed to read Git log: fed573a15cc618d14d1b580415fe2638f38951f4fed573aRevert "Update index.md"Floflograttarola@gmail.com2023-01-06 09:37:46 +0100
9:53:08 AM: "static/pdf/Taller_Preparaci\303\263n_GBS2022_24Oct2022.pdf"
9:53:08 AM: 56cb288ae7e7e01b1ba796b1f8e1827f55d5dd1756cb288Revert "Create Grattarola_BES2022_short.pdf"Floflograttarola@gmail.com2023-01-06 09:33:05 +0100
9:53:08 AM: static/pdf/Grattarola_BES2022_short.pdf
9:53:08 AM: 9e69e9b0bec200d08f5d0e985fc33091ec0935839e69e9bRevert "update name"Floflograttarola@gmail.com2023-01-06 09:33:03 +0100
9:53:08 AM: "static/pdf/Taller_Preparaci\303\263n_GBS2022_24Oct2022.pdf"
9:53:08 AM: d0ac1c027613b25f4000978755cdba01f44c7b4dd0ac1c0Revert "Update index.md"Floflograttarola@gmail.com2023-01-06 09:32:59 +0100
9:53:08 AM: content/talk/taller_GBS2022_NaturalistaUY/index.md
9:53:08 AM: dd2fcfe13a8bbe635df0a54e6a3880e04b9d7839dd2fcfeRevert "Create index.md"Floflograttarola@gmail.com2023-01-06 09:32:38 +0100
9:53:08 AM: content/talk/BES2022/index.md
9:53:08 AM: 6b6f6cfbf675f6b9887b65cdfec0f448806f87f26b6f6cfRevert "Delete Taller_GBS2022_24oct2022.pdf"Floflograttarola@gmail.com2023-01-06 09:30:44 +0100
9:53:08 AM: static/pdf/Taller_GBS2022_24oct2022.pdf
9:53:08 AM: 61464c8b49d05319858343b3470fced8f08e72e861464c8Revert "Create TallerGBS2022_24oct2022.pdf"Floflograttarola@gmail.com2023-01-06 09:30:41 +0100
9:53:08 AM: static/pdf/TallerGBS2022_24oct2022.pdf
9:53:08 AM: ddaffd09e65f789170c859c4cf4fc4d6cc9f2c2cddaffd0Revert "Delete TallerGBS2022_24oct2022.pdf"Floflograttarola@gmail.com2023-01-06 09:30:38 +0100
9:53:08 AM: static/pdf/TallerGBS2022_24oct2022.pdf
9:53:08 AM: ea3e2ceb072d0948f19fb58695dfd943af041fd4ea3e2ceRevert "Update Taller_Preparación_GBS2022_24Oct2022.pdf"Floflograttarola@gmail.com2023-01-06 09:30:20 +0100
9:53:08 AM: "static/pdf/Taller_Preparaci\303\263n_GBS2022_24Oct2022.pdf"
9:53:08 AM: e58c94fa541e9d1a38aae3d76ee7836abe01e574e58c94fUpdate Taller_Preparación_GBS2022_24Oct2022.pdfFloflograttarola@gmail.com2023-01-06 09:26:20 +0100
9:53:08 AM: "static/pdf/Taller_Preparaci\303\263n_GBS2022_24Oct2022.pdf"
9:53:08 AM: 4ca0a4b18d625e92aa44b03fb31542d47961051d4ca0a4bDelete TallerGBS2022_24oct2022.pdfFloflograttarola@gmail.com2023-01-06 09:21:30 +0100
9:53:08 AM: static/pdf/TallerGBS2022_24oct2022.pdf
9:53:08 AM: efc4d2e98a1891129f0e50e83af2e9511e789c18efc4d2eCreate TallerGBS2022_24oct2022.pdfFloflograttarola@gmail.com2023-01-06 09:18:01 +0100
9:53:08 AM: static/pdf/TallerGBS2022_24oct2022.pdf
9:53:08 AM: 46e9e68abd06571f20e789bc55ce775c66691fa246e9e68Delete Taller_GBS2022_24oct2022.pdfFloflograttarola@gmail.com2023-01-06 09:17:42 +0100
9:53:08 AM: static/pdf/Taller_GBS2022_24oct2022.pdf
9:53:08 AM: be62250f330cfe505a3c13bfa9e38942561e1083be62250Create index.mdFloflograttarola@gmail.com2023-01-06 09:13:18 +0100
9:53:08 AM: content/talk/BES2022/index.md
9:53:08 AM: c55461e80fdc4897f7d924f3179d466959940021c55461eUpdate index.mdFloflograttarola@gmail.com2023-01-06 09:03:58 +0100
9:53:08 AM: content/talk/taller_GBS2022_NaturalistaUY/index.md
9:53:08 AM: 35390b7305a17653a16051ab2b92d58ea532dea335390b7update nameFloflograttarola@gmail.com2023-01-06 09:03:36 +0100
9:53:08 AM: static/pdf/Taller_GBS2022_24oct2022.pdf
9:53:08 AM: e88d8ae913a5f6900ce8819295b0e316b2c9bcdee88d8aeCreate Grattarola_BES2022_short.pdfFloflograttarola@gmail.com2023-01-03 15:06:00 +0100
9:53:08 AM: static/pdf/Grattarola_BES2022_short.pdf
9:53:08 AM: 44bb5706e374e51a16367006d801a4252d4b5dac44bb570Update index.mdFloflograttarola@gmail.com2022-12-13 13:18:26 +0100
9:53:08 AM: content/post/iNat_API/index.md
9:53:08 AM: 3febb0c54b0d83a2341f563207ba74d9e20507973febb0cUpdate index.mdFloflograttarola@gmail.com2022-12-13 12:19:59 +0100
9:53:08 AM: content/post/iNat_API/index.md
9:53:08 AM: 9ec59b1ec697f12d6db0dbcb20d52f9687cc1fc69ec59b1Update index.mdFloflograttarola@gmail.com2022-12-13 12:17:52 +0100
9:53:08 AM: content/post/iNat_API/index.md
9:53:08 AM: 50fe20718f2cde6fea1f5b485d14a6dd5eaac14b50fe207Update index.mdFloflograttarola@gmail.com2022-12-13 12:15:38 +0100
9:53:08 AM: content/post/iNat_API/index.md
9:53:08 AM: 7aa7369dacfd06cbafd22a960659ad0be64249ba7aa7369Update index.mdFloflograttarola@gmail.com2022-12-13 12:13:41 +0100
9:53:08 AM: content/post/iNat_API/index.md
9:53:08 AM: 58ebdea13e4257cdb5912a70e6277aa355edfd1b58ebdeaUpdate index.mdFloflograttarola@gmail.com2022-12-13 12:10:43 +0100
9:53:08 AM: content/post/iNat_API/index.md
9:53:08 AM: 1579e55cf034496e43293d6bc5a568b076b2dcc61579e55Update index.mdFloflograttarola@gmail.com2022-12-13 12:05:20 +0100
9:53:08 AM: content/post/iNat_API/index.md
9:53:08 AM: 3c1c96bdaa1faa0737cf82deae46775b9bbcccc13c1c96bupdate iNat APIFloflograttarola@gmail.com2022-12-13 12:00:55 +0100
9:53:10 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
9:53:08 AM: content/post/iNat_API/index.md
9:53:08 AM: static/img/iNat_API_files/libs/htmlwidgets-1.5.4/htmlwidgets.js
9:53:08 AM: static/img/iNat_API_files/libs/jsonedit-binding-3.0.0/jsonedit.js
9:53:08 AM: static/img/iNat_API_files/libs/jsoneditor-5.25.6/img/jsoneditor-icons.png
9:53:08 AM: static/img/iNat_API_files/libs/jsoneditor-5.25.6/img/jsoneditor-icons.svg
9:53:08 AM: static/img/iNat_API_files/libs/jsoneditor-5.25.6/jsoneditor.min.css
9:53:08 AM: static/img/iNat_API_files/libs/jsoneditor-5.25.6/jsoneditor.min.js
9:53:08 AM: 43a389dd317cc291eeb47260e8061cd45456780643a389dUpdate index.mdFloflograttarola@gmail.com2022-12-13 11:59:25 +0100
9:53:08 AM: content/post/iNat_API/index.md
9:53:08 AM: 9c0aefce3dd857b8dd5083de68115ff59741d3bf9c0aefcupdate iNat APIFloflograttarola@gmail.com2022-12-13 11:53:37 +0100
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/bootstrap/bootstrap-icons.css
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/bootstrap/bootstrap-icons.woff
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/bootstrap/bootstrap.min.css
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/bootstrap/bootstrap.min.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/clipboard/clipboard.min.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/quarto-html/anchor.min.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/quarto-html/popper.min.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/quarto-html/quarto-syntax-highlighting.css
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/quarto-html/quarto.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/quarto-html/tippy.css
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/quarto-html/tippy.umd.min.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/quarto-html/zenscroll-min.js
9:53:08 AM: static/img/iNat_API_files/libs/htmlwidgets-1.5.4/htmlwidgets.js
9:53:08 AM: static/img/iNat_API_files/libs/jsonedit-binding-3.0.0/jsonedit.js
9:53:08 AM: static/img/iNat_API_files/libs/jsoneditor-5.25.6/img/jsoneditor-icons.png
9:53:08 AM: static/img/iNat_API_files/libs/jsoneditor-5.25.6/img/jsoneditor-icons.svg
9:53:08 AM: static/img/iNat_API_files/libs/jsoneditor-5.25.6/jsoneditor.min.css
9:53:08 AM: static/img/iNat_API_files/libs/jsoneditor-5.25.6/jsoneditor.min.js
9:53:08 AM: c65a50963714b72923f64a06bda00576a6e1e57dc65a509update iNat APIFloflograttarola@gmail.com2022-12-13 11:49:42 +0100
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/bootstrap/bootstrap-icons.css
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/bootstrap/bootstrap-icons.woff
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/bootstrap/bootstrap.min.css
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/bootstrap/bootstrap.min.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/clipboard/clipboard.min.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/htmlwidgets-1.5.4/htmlwidgets.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/jsonedit-binding-3.0.0/jsonedit.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/jsoneditor-5.25.6/img/jsoneditor-icons.png
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/jsoneditor-5.25.6/img/jsoneditor-icons.svg
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/jsoneditor-5.25.6/jsoneditor.min.css
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/jsoneditor-5.25.6/jsoneditor.min.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/quarto-html/anchor.min.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/quarto-html/popper.min.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/quarto-html/quarto-syntax-highlighting.css
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/quarto-html/quarto.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/quarto-html/tippy.css
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/quarto-html/tippy.umd.min.js
9:53:08 AM: content/post/iNat_API/iNat_API_files/libs/quarto-html/zenscroll-min.js
9:53:08 AM: content/post/iNat_API/index.md
9:53:08 AM: bdba7ad1b95e924da8fc96fc12888296132dcf10bdba7adUpdate index.mdFloflograttarola@gmail.com2022-12-13 11:47:37 +0100
9:53:08 AM: content/post/iNat_API/index.md
9:53:08 AM: b18e929c4f37fe2af257eadf332f66aadc65baa8b18e929Create iNat APIFloflograttarola@gmail.com2022-12-13 11:45:24 +0100
9:53:08 AM: content/post/iNat_API/index.md
9:53:08 AM: 072149074cf0689c0bc728c8cfa800f3370867170721490Update index.mdFloflograttarola@gmail.com2022-12-05 13:29:28 +0100
9:53:08 AM: content/talk/GBIF_LifeWatch_2022/index.md
9:53:08 AM: 09c70d65ad7437f82d6c559664643f9de7fd166a09c70d6Update index.mdFloflograttarola@gmail.com2022-12-05 13:28:42 +0100
9:53:08 AM: content/talk/taller_GBS2022_NaturalistaUY/index.md
9:53:08 AM: a35b907f12ab931b7a9c04648fd7ee7be302aec1a35b907update talk's tags and projectsFloflograttarola@gmail.com2022-12-05 13:23:59 +0100
content/talk/1er-encuentro/index.md
9:53:08 AM: content/talk/BES2019/index.md
9:53:08 AM: content/talk/IEIEAA_2022/index.md
9:53:08 AM: content/talk/IV-Jornada-de-ciudadania-Digital/index.md
9:53:08 AM: content/talk/LatinR-2021/index.md
9:53:08 AM: content/talk/UTEC_Durazno/index.md
9:53:08 AM: content/talk/berachi-iNat/index.md
9:53:08 AM: content/talk/biodiversity_next/index.md
9:53:08 AM: content/talk/ceibal-Videoconf/index.md
9:53:08 AM: content/talk/datos_y_cogollos/index.md
9:53:08 AM: content/talk/foro_CILAC/index.md
9:53:08 AM: content/talk/iNat-Arrayanes/index.md
9:53:08 AM: content/talk/iNat-CZU-seminar/index.md
9:53:08 AM: content/talk/iNat-Guazuvira/index.md
9:53:08 AM: content/talk/iNat-PlanAgropecuario/index.md
9:53:08 AM: content/talk/open-science-mhntdll/index.md
9:53:08 AM: content/talk/paleo-mamiferos/index.md
9:53:08 AM: content/talk/rufford-Uruguay/index.md
9:53:08 AM: 2bf7d0403bc893aa4ab94f9601903ca8491783ea2bf7d04update new talk and new publicationFloflograttarola@gmail.com2022-12-05 13:09:54 +0100
9:53:08 AM: content/publication/PLOSBiology2022/index.md
9:53:08 AM: content/talk/taller_GBS2022_NaturalistaUY/index.md
9:53:08 AM: static/pdf/Callaghan_et_al_2022_PLOS.pdf
9:53:08 AM: "static/pdf/Taller_Preparaci\303\263n_GBS2022_24Oct2022.pdf"
9:53:08 AM: f629b09c4ea271fba50087db132ae5e15d5e0ca2f629b09new talkFloflograttarola@gmail.com2022-11-17 13:28:04 +0100
9:53:08 AM: content/talk/GBIF_LifeWatch_2022/index.md
9:53:08 AM: static/pdf/Biodiversidata_Sevilla.pdf
9:53:08 AM: "static/pdf/Taller_Preparaci\303\263n_GBS2022_24Oct2022.pdf"
9:53:08 AM: 93c65a9f5a5d4f20bc4079379ddd3782d80345d993c65a9new talkFloflograttarola@gmail.com2022-10-21 10:12:09 +0200
9:53:08 AM: content/talk/IEIEAA_2022/index.md
9:53:08 AM: static/pdf/IEEAA_2022.pdf
9:53:08 AM: 086c0fb5fc72e2e31c41a9f9dc7b02d44d708360086c0fbUpdate about.mdFlorencia Grattarolaflograttarola@gmail.com2022-10-10 15:49:49 +0200
9:53:08 AM: content/home/about.md
9:53:08 AM: aab3e78aba31ce564229c5c626b2a28494f10c95aab3e78Create index.mdFloflograttarola@gmail.com2022-09-30 12:08:38 +0200
9:53:08 AM: content/publication/libroExtension2022/index.md
9:53:08 AM: 2ffb10d7dd1e9e1de000c298ef552d1c75cf2a532ffb10dupdate latest publicationFloflograttarola@gmail.com2022-09-30 10:33:33 +0200
9:53:08 AM: content/publication/EcoEvoRxiv2022/index.md
9:53:08 AM: content/publication/ScientificReports2020b/index.md
9:53:08 AM: 9b097aad529e2b5550ff5633cb7e0d96c1ade7389b097aaUpdate index.mdFloflograttarola@gmail.com2022-07-07 19:25:46 +0200
9:53:08 AM: content/post/tjur-rsquared-in-jags/index.md
9:53:08 AM: d5685457bf2b3295cb0e2f3303569003390ddc5dd568545Update index.mdFloflograttarola@gmail.com2022-07-07 19:22:54 +0200
9:53:08 AM: content/post/tjur-rsquared-in-jags/index.md
9:53:08 AM: 19df91ec9cdfcb3dc026647d0f2a191476d59cb519df91eUpdate index.mdFloflograttarola@gmail.com2022-07-07 19:20:59 +0200
9:53:08 AM: content/post/tjur-rsquared-in-jags/index.md
9:53:08 AM: efa68cda83ec481243698e35d47f346d2d3352ecefa68cdUpdate index.mdFloflograttarola@gmail.com2022-07-07 19:16:39 +0200
9:53:08 AM: content/post/tjur-rsquared-in-jags/index.md
9:53:08 AM: 61378d6883b8f800beccf88c59c7bb5bc2edf72a61378d6Update index.mdFloflograttarola@gmail.com2022-07-07 19:09:52 +0200
9:53:08 AM: content/post/tjur-rsquared-in-jags/index.md
9:53:08 AM: 8885a03762dcb04f440c78cca210080e011615588885a03new postFloflograttarola@gmail.com2022-07-07 19:05:50 +0200
9:53:08 AM: content/post/tjur-rsquared-in-jags/index.md
9:53:08 AM: static/img/R2Tjur-check.png
9:53:08 AM: static/img/R2Tjur-data.png
9:53:08 AM: static/img/R2Tjur-params.png
9:53:08 AM: 47f3269ddabadefbfd6e3f58a84c0546cbbad5d947f3269Update config.tomlFlorencia Grattarolaflograttarola@gmail.com2022-06-13 14:01:58 +0200
9:53:08 AM: config.toml
9:53:08 AM: 99ff6d7d07597960bcda4c6c34efc9a3fd857f0799ff6d7update detailsFloflograttarola@gmail.com2022-05-12 16:13:14 -0300
9:53:08 AM: content/project/naturalistauy/index.md
9:53:08 AM: content/project/postdoc_CZU/index.md
9:53:08 AM: content/publication/ConservationGeneticsResources2014/index.md
9:53:08 AM: content/publication/GlobalEcologyandBiogeography2020/index.md
9:53:08 AM: content/publication/IntegralidadSobreRuedas2019/index.md
9:53:08 AM: content/publication/NeotropicalBiologyandConservation2020/index.md
9:53:08 AM: content/publication/ScientificReports2020a/index.md
9:53:08 AM: content/publication/ScientificReports2020b/index.md
9:53:08 AM: content/publication/Society&Animals2018/index.md
9:53:08 AM: 70dbe93982aea70e181cc14ab8fc6015b7a14f2d70dbe93update preprintsFloflograttarola@gmail.com2022-05-12 16:03:37 -0300
9:53:08 AM: content/publication/EcoEvoRxiv2022/index.md
9:53:08 AM: content/publication/bioRxiv2022/index.md
9:53:08 AM: 38ebcd92aa969538150273f1268536397c714e2038ebcd9new preprintsFloflograttarola@gmail.com2022-05-12 15:58:14 -0300
9:53:08 AM: content/publication/EcoEvoRxiv2022/index.md
9:53:08 AM: content/publication/bioRxiv2022/index.md
9:53:08 AM: 1cea275a8133dccbdff733f9ffd16ac21489bbae1cea275Update featured.pngFloflograttarola@gmail.com2022-03-30 14:06:56 +0200
9:53:08 AM: content/project/phd/featured.png
9:53:08 AM: Host key verification failed.
9:53:08 AM: fatal: Could not read from remote repository.
9:53:08 AM: Please make sure you have the correct access rights
9:53:08 AM: and the repository exists.
9:53:08 AM: fatal: could not fetch 2f346625674f6c5f0e118d99569d15a754b36d45 from promisor remote
9:53:09 AM: Building sites … Total in 1201 ms
9:53:09 AM: Error: Error building site: logged 1 error(s)
9:53:09 AM: ​
9:53:09 AM:   "build.command" failed                                        
9:53:09 AM: ────────────────────────────────────────────────────────────────
9:53:09 AM: ​
9:53:09 AM:   Error message
9:53:09 AM:   Command failed with exit code 255: hugo (https://ntl.fyi/exit-code-255)
9:53:09 AM: ​
9:53:09 AM:   Error location
9:53:09 AM:   In build.command from netlify.toml:
9:53:09 AM:   hugo
9:53:09 AM: ​
9:53:09 AM:   Resolved config
9:53:09 AM:   build:
9:53:09 AM:     command: hugo
9:53:09 AM:     commandOrigin: config
9:53:09 AM:     environment:
9:53:09 AM:       - HUGO_VERSION
9:53:09 AM:       - HUGO_ENV
9:53:09 AM:       - HUGO_ENABLEGITINFO
9:53:09 AM:     publish: /opt/build/repo/public
9:53:09 AM:     publishOrigin: config
9:53:10 AM: Caching artifacts
9:53:10 AM: Started saving build plugins
9:53:10 AM: Finished saving build plugins
9:53:10 AM: Started saving pip cache
9:53:10 AM: Finished saving pip cache
9:53:10 AM: Started saving emacs cask dependencies
9:53:10 AM: Finished saving emacs cask dependencies
9:53:10 AM: Started saving maven dependencies
9:53:10 AM: Finished saving maven dependencies
9:53:10 AM: Started saving boot dependencies
9:53:10 AM: Finished saving boot dependencies
9:53:10 AM: Started saving rust rustup cache
9:53:10 AM: Finished saving rust rustup cache
9:53:10 AM: Started saving go dependencies
9:53:10 AM: Finished saving go dependencies
9:53:10 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
9:53:10 AM: Failing build: Failed to build site
9:53:10 AM: Finished processing build request in 29.660504491s

Hi @bienflorencia :wave:t6: , welcome to the forums! :netliconfetti: Thank you for stopping by.

I think you can try the following:

Running Hugo with the following environment variable set seems to be working:

GIT_CONFIG_NOSYSTEM=true

From further research it appears Hugo has had issues in the past with global git configuration. I’m not sure if the above will help, but that is what I have found.

Also perhaps you can give these resources a read and see if that helps?

It is a compilation of all of our build and deploy resources. This will be a good starting point.

Lastly, please share these additional details so we can look into your experience further:

Hi @SamO, thanks for your reply!
I didn’t make any major change to my site - it’s been running for ages now. I just added a PDF and now I have that error at the hugo building.

I added some context on my first post, here they are again:

Context

By adding, do you mean this line in the netlify.toml file?:

image

I did that but it keeps failing to build.
Thanks for your help

I created the environmental variable as mentioned here ("build.command" failed - Git-related? - #7 by nathanmartin), and it’s still not working. Any other suggestions?

@bienflorencia That shouldn’t be necessary if you’re setting the environment variable via other means, for example via your netlify.toml.

I also can’t advise regarding what should be set for hugo, as it’s not a system that I use.

In that case I was just trying to assist the user to add an environment variable at all, since they seemed unfamiliar with any method of doing it.

Hi @bienflorencia :wave:t6: ,

Sorry for the delay. We made some rollbacks.

Can you let us know if this is still happening?

Nothing changed, and the issue was not solved.
After days of not being able to push new stuff to my site, I ended up updating my whole website :confused:

The link you point at is broken.

Sorry to hear it, @bienflorencia !

Could you please let us know what you tried after we rolled back our changes and what the results were? Perhaps as part of that information, you could link us to the build logs from the past (success) and recent (failure), since our staff can see your build logs pages?