"scripts/install_go.sh: No such file or directory" error after R offline buildpack v1.1.23 fails to stage app
search cancel

"scripts/install_go.sh: No such file or directory" error after R offline buildpack v1.1.23 fails to stage app

book

Article ID: 298343

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

Staging R apps with R offline buildpack on Tanzu Application Service (TAS) fails because `scripts/install_go.sh` can't be found. 
   2021-12-17T11:24:34.50+0100 [STG/0] OUT Downloaded r_buildpack (731.1M)
   2021-12-17T11:24:34.50+0100 [STG/0] OUT Cell 35a4004c-27c5-4406-8f34-9aa5e1fb2dbc creating container for instance 2bbc3e58-67f3-4aee-a417-0fa134ca7569
   2021-12-17T11:24:35.07+0100 [STG/0] OUT Cell 35a4004c-27c5-4406-8f34-9aa5e1fb2dbc successfully created container for instance 2bbc3e58-67f3-4aee-a417-0fa134ca7569
   2021-12-17T11:24:35.34+0100 [STG/0] OUT Downloading app package...
   2021-12-17T11:24:35.35+0100 [STG/0] OUT Downloaded app package (309B)
   2021-12-17T11:24:35.53+0100 [STG/0] ERR /tmp/buildpacks/873b5af8313ef1d77d4e696324507b13/bin/supply: line 10: /tmp/buildpacks/873b5af8313ef1d77d4e696324507b13/scripts/install_go.sh: No such file or directory
   2021-12-17T11:24:35.53+0100 [STG/0] ERR Failed to compile droplet: Failed to run all supply scripts: exit status 1
   2021-12-17T11:24:35.54+0100 [STG/0] OUT Exit status 223
   2021-12-17T11:24:35.82+0100 [STG/0] OUT Cell 35a4004c-27c5-4406-8f34-9aa5e1fb2dbc stopping instance 2bbc3e58-67f3-4aee-a417-0fa134ca7569
   2021-12-17T11:24:35.82+0100 [STG/0] OUT Cell 35a4004c-27c5-4406-8f34-9aa5e1fb2dbc destroying container for instance 2bbc3e58-67f3-4aee-a417-0fa134ca7569
   2021-12-17T11:24:35.90+0100 [API/0] ERR Failed to stage build: staging failed
   2021-12-17T11:24:36.11+0100 [STG/0] OUT Cell 35a4004c-27c5-4406-8f34-9aa5e1fb2dbc successfully destroyed container for instance 2bbc3e58-67f3-4aee-a417-0fa134ca7569


Environment

Product Version: 2.11

Resolution

To resolve this issue, download R offline buildpack v1.1.24 or above from VMware Tanzu Network, and replace the default R offline buildpack v1.1.23 shipped with TAS v2.7 and v2.9 - 2.12 releases with R offline buildpack v.1.1.24.

The VMware product team is working to pack R offline buildpack v1.1.24 or above in a future TAS release.