quanteda / quanteda.org

Quanteda Initiative website
https://quanteda.org
0 stars 0 forks source link

Need to fix Netlify auto deploy after updating to Focal (Ubuntu 20.04) #62

Closed kbenoit closed 2 years ago

kbenoit commented 2 years ago

I followed these instructions, and stopped auto-deployment, but the website will not deploy now. https://answers.netlify.com/t/please-read-end-of-support-for-trusty-build-image-everything-you-need-to-know/39004

Looks like we have a bit more updating to do in the config of Netlify. @Mayazure can you please look at this?

8:40:26 PM: Build ready to start
8:40:28 PM: build-image version: 081db65c3e4ce8423fedb40e7689a87de6f84667
8:40:28 PM: build-image tag: v4.3.1
8:40:28 PM: buildbot version: cd472ed83588da774a80e84962d870b803c1ae34
8:40:28 PM: Building without cache
8:40:28 PM: Starting to prepare the repo for build
8:40:28 PM: No cached dependencies found. Cloning fresh repo
8:40:28 PM: git clone https://github.com/quanteda/quanteda.org
8:40:31 PM: Preparing Git Reference refs/heads/master
8:40:32 PM: Parsing package.json dependencies
8:40:33 PM: Starting build script
8:40:33 PM: Installing dependencies
8:40:33 PM: Python version set to 2.7
8:40:34 PM: Downloading and installing node v8.17.0...
8:40:34 PM: Downloading https://nodejs.org/dist/v8.17.0/node-v8.17.0-linux-x64.tar.xz...
8:40:34 PM: Computing checksum with sha256sum
8:40:34 PM: Checksums matched!
8:40:36 PM: Now using node v8.17.0 (npm v6.13.4)
8:40:36 PM: Started restoring cached build plugins
8:40:36 PM: Finished restoring cached build plugins
8:40:36 PM: Attempting ruby version 2.3.6, read from environment
8:40:37 PM: Required ruby-2.3.6 is not installed - installing.
8:40:37 PM: Searching for binary rubies, this might take some time.
8:40:37 PM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/ruby-2.3.6.tar.bz2
8:40:37 PM: Checking requirements for ubuntu.
8:40:38 PM: Missing required packages: libssl1.0-dev
8:40:38 PM: RVM autolibs is now configured with mode '2' =>
8:40:38 PM:   'Allow RVM to use package manager if found, fail if dependencies are missing. This is default.',
8:40:38 PM: please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
8:40:38 PM: or visit https://rvm.io/rvm/autolibs for more information.
8:40:38 PM: Found undesired packages: libssl-dev
8:40:38 PM: RVM autolibs is now configured with mode '2' =>
8:40:38 PM:   'Allow RVM to use package manager if found, fail if dependencies are missing. This is default.',
8:40:38 PM: please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
8:40:38 PM: or visit https://rvm.io/rvm/autolibs for more information.
8:40:38 PM: Requirements installation failed with status: 1.
8:40:38 PM: ruby-2.3.6 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.3.6
8:40:38 PM: Required ruby-2.3.6 is not installed - installing.
8:40:38 PM: Searching for binary rubies, this might take some time.
8:40:39 PM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/ruby-2.3.6.tar.bz2
8:40:39 PM: Checking requirements for ubuntu.
8:40:39 PM: Missing required packages: libssl1.0-dev
8:40:39 PM: RVM autolibs is now configured with mode '2' =>
8:40:39 PM:   'Allow RVM to use package manager if found, fail if dependencies are missing. This is default.',
8:40:39 PM: please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
8:40:39 PM: or visit https://rvm.io/rvm/autolibs for more information.
8:40:39 PM: Found undesired packages: libssl-dev
8:40:39 PM: RVM autolibs is now configured with mode '2' =>
8:40:39 PM:   'Allow RVM to use package manager if found, fail if dependencies are missing. This is default.',
8:40:39 PM: please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
8:40:39 PM: or visit https://rvm.io/rvm/autolibs for more information.
8:40:39 PM: Requirements installation failed with status: 1.
8:40:39 PM: ruby-2.3.6 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
8:40:39 PM: ruby-2.3.6 - #generating default wrappers.................
8:40:39 PM: Error running 'run_gem_wrappers regenerate',
8:40:39 PM: please read /opt/buildhome/.rvm/log/1631821239_ruby-2.3.6/gemset.wrappers.default.log
8:40:39 PM: Using /opt/buildhome/.rvm/gems/ruby-2.3.6
8:40:39 PM: Warning! Executable 'ruby' missing, something went wrong with this ruby installation!
8:40:39 PM: Warning! Executable 'gem' missing, something went wrong with this ruby installation!
8:40:39 PM: Warning! Executable 'irb' missing, something went wrong with this ruby installation!
8:40:40 PM: Using ruby version 2.3.6
8:40:40 PM: /opt/buildhome/.rvm/scripts/override_gem: line 19: gem: command not found
8:40:40 PM: Error installing bundler
8:40:40 PM: Creating deploy upload records
8:40:40 PM: Build was terminated: Build script returned non-zero exit code: 1
8:40:40 PM: Failing build: Failed to build site
8:40:40 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1
8:40:40 PM: Finished processing build request in 11.984331966s
Mayazure commented 2 years ago

Fixed the problem by re-linking github repo according to this Netlify forum post.

The deploy is success and published now.