Trouble with Heroku buildpacks (apply-buildpacks.py)

Hello! I’m trying to port a Heroku Ruby app over to Render, but I am running into a buildpacks-related issue.

The error has to do with the presence of RUN /render/build-scripts/apply-buildpacks.py ${HEROKU_STACK} in the Dockerfile.render file.

Anytime I try to deploy the app, I get the error below:

I’m not quite sure why I’m having the error. I need help.

Thanks.

Hi there,

Have you committed the .render-buildpacks.json file?

Regards,

Keith
Render Support, UTC+10 :australia:

Hi Keith,

Yes, I committed the .render-buildpacks.json file.

The content of the file is:

{ "buildpacks": [ "heroku/ruby" ] }

Is there something I’m missing?

Hi there,

It looks like you have deleted your service. Can you please recreate it so I can check the complete build log. Or can you please add the complete build log to this discussion?

Regards,

Keith
Render Support, UTC+10 :australia:

Hi, apologies for the inconvenience.

You may check the complete build log here: heroku:render cli plugin deploy log · GitHub

Here’s an extract from build log:

Oct 12 11:31:16 AM  ==> Cloning from https://github.com/FestivalCoins/tix-api...
Oct 12 11:31:18 AM  ==> Checking out commit b5c8ee6a1d27e636a0bf52ca0dd8be52b235c4e9 in branch render-deployment-testrun
Oct 12 11:31:22 AM  #1 [internal] load build definition from Dockerfile.render
Oct 12 11:31:22 AM  #1 DONE 0.0s
Oct 12 11:31:22 AM  
Oct 12 11:31:22 AM  #2 [internal] load .dockerignore
Oct 12 11:31:22 AM  #2 transferring context: 2B done
Oct 12 11:31:22 AM  #2 DONE 0.0s
Oct 12 11:31:22 AM  
Oct 12 11:31:22 AM  #1 [internal] load build definition from Dockerfile.render
Oct 12 11:31:22 AM  #1 transferring dockerfile: 2.70kB done
Oct 12 11:31:22 AM  #1 DONE 0.0s
Oct 12 11:31:22 AM  
Oct 12 11:31:22 AM  #3 [internal] load metadata for ghcr.io/renderinc/heroku-app-builder:20
Oct 12 11:31:23 AM  #3 DONE 1.1s
Oct 12 11:31:23 AM  
Oct 12 11:31:23 AM  #4 [internal] load metadata for ghcr.io/renderinc/heroku-app-runner:20
Oct 12 11:31:23 AM  #4 DONE 1.0s
Oct 12 11:31:23 AM  
Oct 12 11:31:23 AM  #5 [internal] load build context
Oct 12 11:31:23 AM  #5 DONE 0.0s
Oct 12 11:31:23 AM  
Oct 12 11:31:23 AM  #6 [builder 1/2] FROM ghcr.io/renderinc/heroku-app-builder:20@sha256:e4c7e09541a92d4e1df8337feca8898ae21db3cc1f696ddaf0ffefb16c28ad05
Oct 12 11:31:23 AM  #6 resolve ghcr.io/renderinc/heroku-app-builder:20@sha256:e4c7e09541a92d4e1df8337feca8898ae21db3cc1f696ddaf0ffefb16c28ad05 done
Oct 12 11:31:23 AM  #6 DONE 0.0s
Oct 12 11:31:23 AM  
Oct 12 11:31:23 AM  #7 [runner 1/4] FROM ghcr.io/renderinc/heroku-app-runner:20@sha256:8510ce92921483e71b40b9e249f0dd181cf10e2097d657e10e94dfe4e1b6989b
Oct 12 11:31:23 AM  #7 resolve ghcr.io/renderinc/heroku-app-runner:20@sha256:8510ce92921483e71b40b9e249f0dd181cf10e2097d657e10e94dfe4e1b6989b done
Oct 12 11:31:23 AM  #7 sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 0B / 199.63MB 0.2s
Oct 12 11:31:24 AM  #7 sha256:49eacad9cd1ecbf58a1f6854e83a16f365262788d473715bac671d92d774be39 0B / 5.79kB 0.2s
Oct 12 11:31:24 AM  #7 sha256:14da6374040b923ec0edc12de2aee2f5df3fb0ba5725edd32a6b42665e8ebe21 0B / 1.25kB 0.2s
Oct 12 11:31:24 AM  #7 sha256:b601f5e0aa308977a55669edc825da7ea69f165a975355ef1afda4244fbeb9b0 0B / 132B 0.2s
Oct 12 11:31:24 AM  #7 sha256:14da6374040b923ec0edc12de2aee2f5df3fb0ba5725edd32a6b42665e8ebe21 1.25kB / 1.25kB 0.3s done
Oct 12 11:31:24 AM  #7 sha256:b601f5e0aa308977a55669edc825da7ea69f165a975355ef1afda4244fbeb9b0 132B / 132B 0.3s done
Oct 12 11:31:24 AM  #7 sha256:49eacad9cd1ecbf58a1f6854e83a16f365262788d473715bac671d92d774be39 5.79kB / 5.79kB 0.5s
Oct 12 11:31:24 AM  #7 sha256:40f475dc22cb1a273a1f7ac673575a422cd37ecc3297f5002fd6c5aa5e7b3c28 0B / 139B 0.2s
Oct 12 11:31:24 AM  #7 sha256:b549f31133a955f68f9fa0d93f18436c4a180e12184b999a8ecf14f7eaa83309 0B / 27.50MB 0.2s
Oct 12 11:31:24 AM  #7 sha256:49eacad9cd1ecbf58a1f6854e83a16f365262788d473715bac671d92d774be39 5.79kB / 5.79kB 0.5s done
Oct 12 11:31:24 AM  #7 sha256:40f475dc22cb1a273a1f7ac673575a422cd37ecc3297f5002fd6c5aa5e7b3c28 139B / 139B 0.3s done
Oct 12 11:31:24 AM  #7 sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 14.16MB / 199.63MB 0.9s
Oct 12 11:31:24 AM  #7 sha256:b549f31133a955f68f9fa0d93f18436c4a180e12184b999a8ecf14f7eaa83309 4.19MB / 27.50MB 0.8s
Oct 12 11:31:24 AM  #7 sha256:b549f31133a955f68f9fa0d93f18436c4a180e12184b999a8ecf14f7eaa83309 7.34MB / 27.50MB 0.9s
Oct 12 11:31:25 AM  #7 ...
Oct 12 11:31:25 AM  
Oct 12 11:31:25 AM  #5 [internal] load build context
Oct 12 11:31:25 AM  #5 transferring context: 2.83MB 1.4s done
Oct 12 11:31:25 AM  #5 DONE 1.4s
Oct 12 11:31:25 AM  
Oct 12 11:31:25 AM  #7 [runner 1/4] FROM ghcr.io/renderinc/heroku-app-runner:20@sha256:8510ce92921483e71b40b9e249f0dd181cf10e2097d657e10e94dfe4e1b6989b
Oct 12 11:31:25 AM  #7 sha256:b549f31133a955f68f9fa0d93f18436c4a180e12184b999a8ecf14f7eaa83309 16.78MB / 27.50MB 1.1s
Oct 12 11:31:25 AM  #7 sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 33.55MB / 199.63MB 1.5s
Oct 12 11:31:25 AM  #7 sha256:b549f31133a955f68f9fa0d93f18436c4a180e12184b999a8ecf14f7eaa83309 27.50MB / 27.50MB 1.2s done
Oct 12 11:31:25 AM  #7 extracting sha256:b549f31133a955f68f9fa0d93f18436c4a180e12184b999a8ecf14f7eaa83309
Oct 12 11:31:25 AM  #7 sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 51.28MB / 199.63MB 1.7s
Oct 12 11:31:25 AM  #7 sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 74.06MB / 199.63MB 2.0s
Oct 12 11:31:25 AM  #7 sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 85.12MB / 199.63MB 2.1s
Oct 12 11:31:26 AM  #7 sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 101.71MB / 199.63MB 2.4s
Oct 12 11:31:26 AM  #7 sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 115.34MB / 199.63MB 2.6s
Oct 12 11:31:26 AM  #7 sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 135.27MB / 199.63MB 2.9s
Oct 12 11:31:26 AM  #7 sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 145.75MB / 199.63MB 3.0s
Oct 12 11:31:26 AM  #7 sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 156.24MB / 199.63MB 3.2s
Oct 12 11:31:27 AM  #7 sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 176.16MB / 199.63MB 3.5s
Oct 12 11:31:27 AM  #7 sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 191.89MB / 199.63MB 3.8s
Oct 12 11:31:27 AM  #7 sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 199.63MB / 199.63MB 4.0s done
Oct 12 11:31:28 AM  #7 extracting sha256:b549f31133a955f68f9fa0d93f18436c4a180e12184b999a8ecf14f7eaa83309 3.1s done
Oct 12 11:31:28 AM  #7 DONE 4.7s
Oct 12 11:31:28 AM  
Oct 12 11:31:28 AM  #6 [builder 1/2] FROM ghcr.io/renderinc/heroku-app-builder:20@sha256:e4c7e09541a92d4e1df8337feca8898ae21db3cc1f696ddaf0ffefb16c28ad05
Oct 12 11:31:28 AM  #6 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.2s done
Oct 12 11:31:28 AM  #6 sha256:c971a4379417e0c1bdabae57701f2cca41797ef8fe6d0f334147e522d7446ad2 2.37MB / 2.37MB 0.6s done
Oct 12 11:31:28 AM  #6 sha256:4b36196a89a265eac320c36f3ccf573141e2ed436cac1d2000016adad46d4315 230.77kB / 230.77kB 0.4s done
Oct 12 11:31:28 AM  #6 sha256:8c6c82004a598d660051a942d4f8a4987d57c83682b8fa715a247dc6320d97b2 27.96kB / 27.96kB 0.3s done
Oct 12 11:31:28 AM  #6 sha256:15920d3ab0c23c01a8b7a3c3819c811ed49225d10d46a1c7d2ce9ab0f4c90215 29.48kB / 29.48kB 0.2s done
Oct 12 11:31:28 AM  #6 sha256:119a6598fb00487f3279bdde6a34e06457ea6efdee0449a2246fc6f0cb949e41 49.86kB / 49.86kB 0.2s done
Oct 12 11:31:28 AM  #6 sha256:d73505133a1f521d56285ece064094a77ab8ad8569d29c4b2bf389289bffdfd1 21.44kB / 21.44kB 0.2s done
Oct 12 11:31:28 AM  #6 sha256:2eda8e87e25fef845928fe1abdd46639a663ec90b35dcc1c94269d97030cd4a1 130.71MB / 130.71MB 3.0s done
Oct 12 11:31:28 AM  #6 sha256:2eb9e012c9b452d1c7272071c23a19d862f19b0faffdfcecd86fd54b1e0b1014 92.72kB / 92.72kB 0.2s done
Oct 12 11:31:28 AM  #6 sha256:b64e69f4f309671c35fbc344dfabb0056e5de7ce7f5905f80f50c0ed82c49cb2 1.24kB / 1.24kB 0.3s done
Oct 12 11:31:28 AM  #6 sha256:cb06eaab96b68e581f3c59d4bc1b139e804b2d37690efd5543233d0f229ff7e8 1.37kB / 1.37kB 0.3s done
Oct 12 11:31:28 AM  #6 sha256:8a3380c8934095c678df4bb52a5ec75b1aae009d7332bd26005f4a2009717f14 329B / 329B 0.2s done
Oct 12 11:31:28 AM  #6 sha256:d46c550a035114b89f9e3977988c862fa3b3467e9f35cd9265aa8c821084ddc2 473B / 473B 0.2s done
Oct 12 11:31:28 AM  #6 sha256:79a8a2c457bd704b69e6fe095a681b89ff85cf1844537a61f26e7d78a9a803c8 584B / 584B 0.2s done
Oct 12 11:31:28 AM  #6 sha256:346a9115198d6b147682eda35aea805d3faa6694ac090f942b3956e9eccdee76 203B / 203B 0.3s done
Oct 12 11:31:28 AM  #6 sha256:2c542efd74a7ef8198c160a4e5fec5ca012a3c919bcdfcec87cc30e50cc1175c 254B / 254B 0.3s done
Oct 12 11:31:28 AM  #6 sha256:ae48c9acc9599c4b48c7cbcc0e3cf2232497995db97684cc0f66e3bd7c9056fd 83.89MB / 248.20MB 2.0s
Oct 12 11:31:28 AM  #6 sha256:fa0988475b081cf90fe3dab640ae1a8d516c693358abe1b73566a0cb84a336fa 761B / 761B 0.2s done
Oct 12 11:31:28 AM  #6 ...
Oct 12 11:31:28 AM  
Oct 12 11:31:28 AM  #7 [runner 1/4] FROM ghcr.io/renderinc/heroku-app-runner:20@sha256:8510ce92921483e71b40b9e249f0dd181cf10e2097d657e10e94dfe4e1b6989b
Oct 12 11:31:28 AM  #7 extracting sha256:49eacad9cd1ecbf58a1f6854e83a16f365262788d473715bac671d92d774be39 0.1s done
Oct 12 11:31:28 AM  #7 DONE 4.8s
Oct 12 11:31:28 AM  
Oct 12 11:31:28 AM  #6 [builder 1/2] FROM ghcr.io/renderinc/heroku-app-builder:20@sha256:e4c7e09541a92d4e1df8337feca8898ae21db3cc1f696ddaf0ffefb16c28ad05
Oct 12 11:31:28 AM  #6 sha256:ae48c9acc9599c4b48c7cbcc0e3cf2232497995db97684cc0f66e3bd7c9056fd 100.66MB / 248.20MB 2.1s
Oct 12 11:31:28 AM  #6 sha256:ae48c9acc9599c4b48c7cbcc0e3cf2232497995db97684cc0f66e3bd7c9056fd 120.59MB / 248.20MB 2.3s
Oct 12 11:31:28 AM  #6 sha256:ae48c9acc9599c4b48c7cbcc0e3cf2232497995db97684cc0f66e3bd7c9056fd 149.95MB / 248.20MB 2.6s
Oct 12 11:31:29 AM  #6 sha256:ae48c9acc9599c4b48c7cbcc0e3cf2232497995db97684cc0f66e3bd7c9056fd 169.87MB / 248.20MB 2.9s
Oct 12 11:31:29 AM  #6 sha256:ae48c9acc9599c4b48c7cbcc0e3cf2232497995db97684cc0f66e3bd7c9056fd 188.74MB / 248.20MB 3.2s
Oct 12 11:31:29 AM  #6 sha256:ae48c9acc9599c4b48c7cbcc0e3cf2232497995db97684cc0f66e3bd7c9056fd 209.16MB / 248.20MB 3.5s
Oct 12 11:31:30 AM  #6 sha256:ae48c9acc9599c4b48c7cbcc0e3cf2232497995db97684cc0f66e3bd7c9056fd 225.44MB / 248.20MB 3.8s
Oct 12 11:31:30 AM  #6 sha256:ae48c9acc9599c4b48c7cbcc0e3cf2232497995db97684cc0f66e3bd7c9056fd 246.42MB / 248.20MB 4.1s
Oct 12 11:31:30 AM  #6 sha256:ae48c9acc9599c4b48c7cbcc0e3cf2232497995db97684cc0f66e3bd7c9056fd 248.20MB / 248.20MB 4.2s done
Oct 12 11:31:30 AM  #6 DONE 6.9s
Oct 12 11:31:30 AM  
Oct 12 11:31:30 AM  #7 [runner 1/4] FROM ghcr.io/renderinc/heroku-app-runner:20@sha256:8510ce92921483e71b40b9e249f0dd181cf10e2097d657e10e94dfe4e1b6989b
Oct 12 11:31:30 AM  #7 extracting sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4
Oct 12 11:31:39 AM  #7 extracting sha256:5d0b2919d84db0ef2e212ec330c67df1da23bf84f7cd40b1de27a81e34844db4 10.9s done
Oct 12 11:31:39 AM  #7 DONE 15.7s
Oct 12 11:31:39 AM  
Oct 12 11:31:39 AM  #7 [runner 1/4] FROM ghcr.io/renderinc/heroku-app-runner:20@sha256:8510ce92921483e71b40b9e249f0dd181cf10e2097d657e10e94dfe4e1b6989b
Oct 12 11:31:39 AM  #7 extracting sha256:40f475dc22cb1a273a1f7ac673575a422cd37ecc3297f5002fd6c5aa5e7b3c28 0.0s done
Oct 12 11:31:39 AM  #7 extracting sha256:14da6374040b923ec0edc12de2aee2f5df3fb0ba5725edd32a6b42665e8ebe21 0.0s done
Oct 12 11:31:39 AM  #7 extracting sha256:b601f5e0aa308977a55669edc825da7ea69f165a975355ef1afda4244fbeb9b0 done
Oct 12 11:31:39 AM  #7 DONE 15.7s
Oct 12 11:31:39 AM  
Oct 12 11:31:39 AM  #6 [builder 1/2] FROM ghcr.io/renderinc/heroku-app-builder:20@sha256:e4c7e09541a92d4e1df8337feca8898ae21db3cc1f696ddaf0ffefb16c28ad05
Oct 12 11:31:39 AM  #6 extracting sha256:fa0988475b081cf90fe3dab640ae1a8d516c693358abe1b73566a0cb84a336fa 0.0s done
Oct 12 11:31:39 AM  #6 extracting sha256:ae48c9acc9599c4b48c7cbcc0e3cf2232497995db97684cc0f66e3bd7c9056fd
Oct 12 11:31:52 AM  #6 extracting sha256:ae48c9acc9599c4b48c7cbcc0e3cf2232497995db97684cc0f66e3bd7c9056fd 13.2s done
Oct 12 11:31:52 AM  #6 DONE 20.1s
Oct 12 11:31:52 AM  
Oct 12 11:31:52 AM  #6 [builder 1/2] FROM ghcr.io/renderinc/heroku-app-builder:20@sha256:e4c7e09541a92d4e1df8337feca8898ae21db3cc1f696ddaf0ffefb16c28ad05
Oct 12 11:31:52 AM  #6 extracting sha256:346a9115198d6b147682eda35aea805d3faa6694ac090f942b3956e9eccdee76 0.0s done
Oct 12 11:31:52 AM  #6 extracting sha256:2c542efd74a7ef8198c160a4e5fec5ca012a3c919bcdfcec87cc30e50cc1175c done
Oct 12 11:31:52 AM  #6 extracting sha256:79a8a2c457bd704b69e6fe095a681b89ff85cf1844537a61f26e7d78a9a803c8 0.0s done
Oct 12 11:31:52 AM  #6 extracting sha256:d46c550a035114b89f9e3977988c862fa3b3467e9f35cd9265aa8c821084ddc2 0.0s done
Oct 12 11:31:52 AM  #6 extracting sha256:8a3380c8934095c678df4bb52a5ec75b1aae009d7332bd26005f4a2009717f14 done
Oct 12 11:31:52 AM  #6 extracting sha256:cb06eaab96b68e581f3c59d4bc1b139e804b2d37690efd5543233d0f229ff7e8 0.0s done
Oct 12 11:31:52 AM  #6 extracting sha256:b64e69f4f309671c35fbc344dfabb0056e5de7ce7f5905f80f50c0ed82c49cb2 0.0s done
Oct 12 11:31:52 AM  #6 extracting sha256:2eb9e012c9b452d1c7272071c23a19d862f19b0faffdfcecd86fd54b1e0b1014
Oct 12 11:31:52 AM  #6 extracting sha256:2eb9e012c9b452d1c7272071c23a19d862f19b0faffdfcecd86fd54b1e0b1014 0.1s done
Oct 12 11:31:52 AM  #6 extracting sha256:2eda8e87e25fef845928fe1abdd46639a663ec90b35dcc1c94269d97030cd4a1
Oct 12 11:31:54 AM  #6 extracting sha256:2eda8e87e25fef845928fe1abdd46639a663ec90b35dcc1c94269d97030cd4a1 1.9s done
Oct 12 11:31:54 AM  #6 DONE 22.2s
Oct 12 11:31:54 AM  
Oct 12 11:31:54 AM  #6 [builder 1/2] FROM ghcr.io/renderinc/heroku-app-builder:20@sha256:e4c7e09541a92d4e1df8337feca8898ae21db3cc1f696ddaf0ffefb16c28ad05
Oct 12 11:31:54 AM  #6 extracting sha256:d73505133a1f521d56285ece064094a77ab8ad8569d29c4b2bf389289bffdfd1 0.0s done
Oct 12 11:31:54 AM  #6 extracting sha256:119a6598fb00487f3279bdde6a34e06457ea6efdee0449a2246fc6f0cb949e41 0.1s done
Oct 12 11:31:54 AM  #6 DONE 22.3s
Oct 12 11:31:54 AM  
Oct 12 11:31:54 AM  #6 [builder 1/2] FROM ghcr.io/renderinc/heroku-app-builder:20@sha256:e4c7e09541a92d4e1df8337feca8898ae21db3cc1f696ddaf0ffefb16c28ad05
Oct 12 11:31:54 AM  #6 extracting sha256:15920d3ab0c23c01a8b7a3c3819c811ed49225d10d46a1c7d2ce9ab0f4c90215 0.0s done
Oct 12 11:31:54 AM  #6 extracting sha256:8c6c82004a598d660051a942d4f8a4987d57c83682b8fa715a247dc6320d97b2 0.0s done
Oct 12 11:31:54 AM  #6 extracting sha256:4b36196a89a265eac320c36f3ccf573141e2ed436cac1d2000016adad46d4315
Oct 12 11:31:55 AM  #6 extracting sha256:4b36196a89a265eac320c36f3ccf573141e2ed436cac1d2000016adad46d4315 0.3s done
Oct 12 11:31:55 AM  #6 extracting sha256:c971a4379417e0c1bdabae57701f2cca41797ef8fe6d0f334147e522d7446ad2
Oct 12 11:31:55 AM  #6 extracting sha256:c971a4379417e0c1bdabae57701f2cca41797ef8fe6d0f334147e522d7446ad2 0.5s done
Oct 12 11:31:55 AM  #6 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done
Oct 12 11:31:55 AM  #6 DONE 23.1s
Oct 12 11:31:55 AM  
Oct 12 11:31:55 AM  #8 [builder 2/2] COPY --chown=1000:1000 . /app/
Oct 12 11:31:56 AM  #8 DONE 0.5s
Oct 12 11:31:56 AM  
Oct 12 11:31:56 AM  #9 [builder 3/2] RUN BUILDPACK_OVERRIDE=$(/tmp/scripts/get-buildpack-override /app); if [[ -z "${BUILDPACK_OVERRIDE}" ]]; then   for l in ruby nodejs clojure python java scala php go; do     cd /tmp/buildpacks/$l/*;     if bin/detect /app; then       STACK=heroku-20 SOURCE_VERSION=$(git -C /app rev-parse --verify HEAD) bin/compile /app /tmp/cache /tmp/env;       bin/release /app > /render/release.yaml;       break;     fi;   done; else   cd /tmp/buildpacks/$BUILDPACK_OVERRIDE/*;   STACK=heroku-20 SOURCE_VERSION=$(git -C /app rev-parse --verify HEAD) bin/compile /app /tmp/cache /tmp/env;   bin/release /app > /render/release.yaml; fi;
Oct 12 11:31:56 AM  #0 0.108 Ruby
Oct 12 11:31:56 AM  #9 0.111 fatal: not a git repository (or any of the parent directories): .git
Oct 12 11:31:58 AM  #9 2.812 -----> Installing bundler 2.3.10
Oct 12 11:31:58 AM  #9 2.812 -----> Removing BUNDLED WITH version in the Gemfile.lock
Oct 12 11:31:59 AM  #9 3.666 -----> Compiling Ruby/Rails
Oct 12 11:32:02 AM  #9 5.962 -----> Using Ruby version: ruby-3.0.6
Oct 12 11:32:02 AM  #9 6.491 -----> Installing dependencies using bundler 2.3.10
Oct 12 11:32:02 AM  #9 6.634        Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 bundle install -j4
Oct 12 11:32:10 AM  #9 13.97        Fetching gem metadata from https://rubygems.org/.......
Oct 12 11:32:10 AM  #9 13.98        Fetching https://github.com/radar/by_star.git
Oct 12 11:32:10 AM  #9 14.58        Fetching https://github.com/hintmedia/zoom_rb.git
Oct 12 11:32:11 AM  #9 15.25        Fetching rake 13.0.6
Oct 12 11:32:11 AM  #9 15.33        Installing rake 13.0.6
Oct 12 11:32:11 AM  #9 15.40        Fetching concurrent-ruby 1.2.2
Oct 12 11:32:11 AM  #9 15.41        Fetching minitest 5.20.0
Oct 12 11:32:11 AM  #9 15.41        Fetching builder 3.2.4
Oct 12 11:32:11 AM  #9 15.41        Fetching erubi 1.12.0
Oct 12 11:32:11 AM  #9 15.47        Installing erubi 1.12.0
Oct 12 11:32:11 AM  #9 15.47        Installing builder 3.2.4
Oct 12 11:32:11 AM  #9 15.49        Installing minitest 5.20.0
Oct 12 11:32:11 AM  #9 15.52        Fetching racc 1.7.1
Oct 12 11:32:11 AM  #9 15.53        Fetching crass 1.0.6
Oct 12 11:32:21 AM  #9 24.82        Fetching google-cloud-errors 1.3.1
Oct 12 11:32:21 AM  #9 24.86        Installing google-cloud-errors 1.3.1
Oct 12 11:32:21 AM  #9 24.92        Fetching retriable 3.1.2
Oct 12 11:32:21 AM  #9 24.96        Installing retriable 3.1.2
Oct 12 11:32:21 AM  #9 25.02        Fetching graphql 2.1.1
Oct 12 11:32:21 AM  #9 25.17        Installing graphql 2.1.1
Oct 12 11:32:21 AM  #9 25.35        Fetching honeybadger 5.2.1
Oct 12 11:32:21 AM  #9 25.47        Installing honeybadger 5.2.1
Oct 12 11:32:21 AM  #9 25.74        Fetching multi_xml 0.6.0
Oct 12 11:32:21 AM  #9 25.75        Fetching ice_cube 0.16.4
Oct 12 11:32:21 AM  #9 25.78        Installing multi_xml 0.6.0
Oct 12 11:32:21 AM  #9 25.83        Installing ice_cube 0.16.4
Oct 12 11:32:21 AM  #9 25.84        Fetching interactor 3.1.2
Oct 12 11:32:22 AM  #9 25.87        Fetching json 2.6.3
Oct 12 11:32:22 AM  #9 25.92        Installing interactor 3.1.2
Oct 12 11:32:22 AM  #9 25.95        Fetching json-diff 0.4.1
Oct 12 11:32:22 AM  #9 26.54        Installing json 2.6.3 with native extensions
Oct 12 11:32:22 AM  #9 26.54        Installing json-diff 0.4.1
Oct 12 11:32:22 AM  #9 26.62        Fetching kaminari-core 1.2.2
Oct 12 11:32:22 AM  #9 26.72        Installing kaminari-core 1.2.2
Oct 12 11:32:22 AM  #9 26.73        Fetching pdfkit 0.8.7.3
Oct 12 11:32:22 AM  #9 26.76        Fetching pg 1.5.4
Oct 12 11:32:22 AM  #9 26.81        Installing pdfkit 0.8.7.3
Oct 12 11:32:23 AM  #9 26.85        Fetching phonelib 0.8.4
Oct 12 11:32:23 AM  #9 26.86        Installing pg 1.5.4 with native extensions
Oct 12 11:32:23 AM  #9 27.15        Installing phonelib 0.8.4
Oct 12 11:32:23 AM  #9 27.55        Fetching redis 4.8.1
Oct 12 11:32:23 AM  #9 27.63        Installing redis 4.8.1
Oct 12 11:32:24 AM  #9 27.71        Fetching rolify 6.0.1
Oct 12 11:32:24 AM  #9 27.76        Installing rolify 6.0.1
Oct 12 11:32:24 AM  #9 27.86        Fetching rqrcode_core 1.2.0
Oct 12 11:32:24 AM  #9 27.96        Installing rqrcode_core 1.2.0
Oct 12 11:32:24 AM  #9 28.02        Fetching slack-notifier 2.4.0
Oct 12 11:32:24 AM  #9 28.06        Installing slack-notifier 2.4.0
Oct 12 11:32:24 AM  #9 28.14        Fetching stripe 9.3.0
Oct 12 11:32:24 AM  #9 28.25        Installing stripe 9.3.0
Oct 12 11:32:24 AM  #9 28.43        Fetching wkhtmltopdf-heroku 2.12.6.0
Oct 12 11:32:27 AM  #9 31.15        Installing wkhtmltopdf-heroku 2.12.6.0
Oct 12 11:32:30 AM  #9 34.63        Fetching rack-test 2.1.0
Oct 12 11:32:30 AM  #9 34.72        Installing rack-test 2.1.0
Oct 12 11:32:30 AM  #9 34.74        Fetching warden 1.2.9
Oct 12 11:32:30 AM  #9 34.82        Installing warden 1.2.9
Oct 12 11:32:30 AM  #9 34.84        Fetching rack-cors 2.0.1
Oct 12 11:32:31 AM  #9 34.94        Installing rack-cors 2.0.1
Oct 12 11:32:31 AM  #9 34.97        Fetching i18n 1.14.1
Oct 12 11:32:31 AM  #9 35.03        Installing i18n 1.14.1
Oct 12 11:32:31 AM  #9 35.06        Fetching tzinfo 2.0.6
Oct 12 11:32:31 AM  #9 35.14        Installing tzinfo 2.0.6
Oct 12 11:32:31 AM  #9 35.23        Fetching sprockets 3.7.2
Oct 12 11:32:31 AM  #9 35.33        Installing sprockets 3.7.2
Oct 12 11:32:31 AM  #9 35.44        Fetching websocket-driver 0.7.6
Oct 12 11:32:31 AM  #9 35.52        Installing websocket-driver 0.7.6 with native extensions
Oct 12 11:32:32 AM  #9 36.06        Fetching net-protocol 0.2.1
Oct 12 11:32:32 AM  #9 36.15        Installing net-protocol 0.2.1
Oct 12 11:32:47 AM  #9 50.93        Installing graphiql-rails 1.9.0
Oct 12 11:32:47 AM  #9 51.08        Fetching devise-token_authenticatable 1.1.0
Oct 12 11:32:47 AM  #9 51.12        Installing devise-token_authenticatable 1.1.0
Oct 12 11:32:51 AM  #9 55.67        Bundle complete! 79 Gemfile dependencies, 142 gems now installed.
Oct 12 11:32:51 AM  #9 55.67        Gems in the groups 'development' and 'test' were not installed.
Oct 12 11:32:51 AM  #9 55.67        Bundled gems are installed into `./vendor/bundle`
Oct 12 11:32:51 AM  #9 55.68        Post-install message from encryptor:
Oct 12 11:32:51 AM  #9 55.68
Oct 12 11:32:51 AM  #9 55.68
Oct 12 11:32:51 AM  #9 55.68
Oct 12 11:32:51 AM  #9 55.68        Please be aware that Encryptor v2.0.0 had a major security bug when using AES-*-GCM algorithms.
Oct 12 11:32:51 AM  #9 55.68
Oct 12 11:32:51 AM  #9 55.68        By default You will not be able to decrypt data that was previously encrypted using an AES-*-GCM algorithm.
Oct 12 11:32:51 AM  #9 55.68
Oct 12 11:32:51 AM  #9 55.68        Please see the README and https://github.com/attr-encrypted/encryptor/pull/22 for more information.
Oct 12 11:32:51 AM  #9 55.68
Oct 12 11:32:51 AM  #9 55.68
Oct 12 11:32:51 AM  #9 55.68        Post-install message from attr_encrypted:
Oct 12 11:32:51 AM  #9 55.68
Oct 12 11:32:51 AM  #9 55.68
Oct 12 11:32:51 AM  #9 55.68
Oct 12 11:32:51 AM  #9 55.68        WARNING: Using `#encrypted_attributes` is no longer supported. Instead, use `#attr_encrypted_encrypted_attributes` to avoid
Oct 12 11:32:51 AM  #9 55.68          collision with Active Record 7 native encryption.
Oct 12 11:32:51 AM  #9 55.68
Oct 12 11:32:51 AM  #9 55.68
Oct 12 11:32:51 AM  #9 55.68        Post-install message from devise:
Oct 12 11:32:51 AM  #9 55.68
Oct 12 11:32:51 AM  #9 55.68        [DEVISE] Please review the [changelog] and [upgrade guide] for more info on Hotwire / Turbo integration.
Oct 12 11:32:51 AM  #9 55.68
Oct 12 11:32:51 AM  #9 55.68          [changelog] https://github.com/heartcombo/devise/blob/main/CHANGELOG.md
Oct 12 11:32:51 AM  #9 55.68          [upgrade guide] https://github.com/heartcombo/devise/wiki/How-To:-Upgrade-to-Devise-4.9.0-%5BHotwire-Turbo-integration%5D
Oct 12 11:32:51 AM  #9 55.68          Post-install message from httparty:
Oct 12 11:32:51 AM  #9 55.68        When you HTTParty, you must party hard!
Oct 12 11:32:51 AM  #9 55.68        Post-install message from icalendar:
Oct 12 11:32:51 AM  #9 55.68        ActiveSupport is required for TimeWithZone support, but not required for general use.
Oct 12 11:32:52 AM  #9 55.88        Bundle completed (49.24s)
Oct 12 11:32:52 AM  #9 55.88        Cleaning up the bundler cache.
Oct 12 11:32:56 AM  #9 60.08 -----> Detecting rake tasks
Oct 12 11:33:04 AM  #9 68.44 -----> Preparing app for Rails asset pipeline
Oct 12 11:33:04 AM  #9 68.44        Running: rake assets:precompile
Oct 12 11:33:13 AM  #9 77.47        I, [2023-10-12T10:33:13.088230 #1225]  INFO -- honeybadger: ** [Honeybadger] Initializing Honeybadger Error Tracker for Ruby. Ship it! version=5.2.1 framework=rails level=1 pid=1225
Oct 12 11:33:14 AM  #9 78.07        I, [2023-10-12T10:33:14.221631 #1225]  INFO -- : Writing /app/public/assets/actioncable-6b2fe44d9e4546fcc6b92f0a37b61d6b555020041ede1dd603c007b1c0904ec1.js
Oct 12 11:33:14 AM  #9 78.07        I, [2023-10-12T10:33:14.223499 #1225]  INFO -- : Writing /app/public/assets/actioncable-6b2fe44d9e4546fcc6b92f0a37b61d6b555020041ede1dd603c007b1c0904ec1.js.gz
Oct 12 11:33:14 AM  #9 78.08        I, [2023-10-12T10:33:14.232965 #1225]  INFO -- : Writing /app/public/assets/actioncable.esm-a9e53dfa810276aa0aee8791a910c4878d48b75093398f3d6d822db41b428b7b.js
Oct 12 11:33:14 AM  #9 78.08        I, [2023-10-12T10:33:14.233464 #1225]  INFO -- : Writing /app/public/assets/actioncable.esm-a9e53dfa810276aa0aee8791a910c4878d48b75093398f3d6d822db41b428b7b.js.gz
Oct 12 11:33:14 AM  #9 78.21        W, [2023-10-12T10:33:14.362534 #1225]  WARN -- : Removed sourceMappingURL comment for missing asset 'graphiql/rails/graphiql.js.map' from /app/vendor/bundle/ruby/3.0.0/gems/graphiql-rails-1.9.0/app/assets/javascripts/graphiql/rails/graphiql-2.4.0.js
Oct 12 11:33:15 AM  #9 78.96        I, [2023-10-12T10:33:15.112172 #1225]  INFO -- : Writing /app/public/assets/graphiql/rails/application-f661a098142807577ad701e4e3892da12504cb9e8a0c902e56424fd6d285676d.js
Oct 12 11:33:15 AM  #9 78.96        I, [2023-10-12T10:33:15.112563 #1225]  INFO -- : Writing /app/public/assets/graphiql/rails/application-f661a098142807577ad701e4e3892da12504cb9e8a0c902e56424fd6d285676d.js.gz
Oct 12 11:33:15 AM  #9 79.05        I, [2023-10-12T10:33:15.203886 #1225]  INFO -- : Writing /app/public/assets/graphiql/rails/application-8746907bbc23e6b443c8e0313f423a0d6dc604ab59df04db2625e24073c0cc2d.css
Oct 12 11:33:15 AM  #9 79.05        I, [2023-10-12T10:33:15.204249 #1225]  INFO -- : Writing /app/public/assets/graphiql/rails/application-8746907bbc23e6b443c8e0313f423a0d6dc604ab59df04db2625e24073c0cc2d.css.gz
Oct 12 11:33:15 AM  #9 79.43        Asset precompilation completed (10.99s)
Oct 12 11:33:15 AM  #9 79.43        Cleaning assets
Oct 12 11:33:15 AM  #9 79.43        Running: rake assets:clean
Oct 12 11:33:24 AM  #9 88.16        I, [2023-10-12T10:33:23.650714 #1233]  INFO -- honeybadger: ** [Honeybadger] Initializing Honeybadger Error Tracker for Ruby. Ship it! version=5.2.1 framework=rails level=1 pid=1233
Oct 12 11:33:24 AM  #9 88.79 -----> Detecting rails configuration
Oct 12 11:33:34 AM  #9 98.00
Oct 12 11:33:34 AM  #9 98.00 ###### WARNING:
Oct 12 11:33:34 AM  #9 98.00
Oct 12 11:33:34 AM  #9 98.00        Detecting rails configuration failed
Oct 12 11:33:34 AM  #9 98.00        set HEROKU_DEBUG_RAILS_RUNNER=1 to debug
Oct 12 11:33:34 AM  #9 98.00
Oct 12 11:33:34 AM  #9 98.00 ###### WARNING:
Oct 12 11:33:34 AM  #9 98.00
Oct 12 11:33:34 AM  #9 98.00        Potential EOL Ruby Version
Oct 12 11:33:34 AM  #9 98.00
Oct 12 11:33:34 AM  #9 98.00        You are using a Ruby version that has either reached its End of Life (EOL)
Oct 12 11:33:34 AM  #9 98.00        or will reach its End of Life on December 25th of this year.
Oct 12 11:33:34 AM  #9 98.00
Oct 12 11:33:34 AM  #9 98.00        We suggest you upgrade to Ruby 3.1.x or later
Oct 12 11:33:34 AM  #9 98.00
Oct 12 11:33:34 AM  #9 98.00        Once a Ruby version becomes EOL, it will no longer receive
Oct 12 11:33:34 AM  #9 98.00        security updates from Ruby core and may have serious vulnerabilities.
Oct 12 11:33:34 AM  #9 98.00
Oct 12 11:33:34 AM  #9 98.00        Please upgrade your Ruby version.
Oct 12 11:33:34 AM  #9 98.00
Oct 12 11:33:34 AM  #9 98.00        For a list of supported Ruby versions see:
Oct 12 11:33:34 AM  #9 98.00          https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
Oct 12 11:33:34 AM  #9 98.00
Oct 12 11:33:34 AM  #9 98.00
Oct 12 11:33:34 AM  #9 DONE 98.6s
Oct 12 11:33:34 AM  
Oct 12 11:33:34 AM  #10 [builder 4/2] RUN if [[ -f /app/Procfile ]]; then   /tmp/scripts/create-process-types "/app/Procfile"; else   echo " A Procfile is required.";   exit 1; fi;
Oct 12 11:33:35 AM  #10 DONE 0.8s
Oct 12 11:33:35 AM  
Oct 12 11:33:35 AM  #11 [builder 5/2] RUN if [[ -f /app/Procfile ]]; then   /render/build-scripts/create-process-types "/app/Procfile"; fi;
Oct 12 11:33:35 AM  #0 0.071 /bin/bash: /render/build-scripts/create-process-types: No such file or directory
Oct 12 11:33:35 AM  #11 ERROR: process "/bin/bash -c if [[ -f /app/Procfile ]]; then   /render/build-scripts/create-process-types \"/app/Procfile\"; fi;" did not complete successfully: exit code: 127
Oct 12 11:33:35 AM  ------
Oct 12 11:33:35 AM   > [builder 5/2] RUN if [[ -f /app/Procfile ]]; then   /render/build-scripts/create-process-types "/app/Procfile"; fi;:
Oct 12 11:33:35 AM  #0 0.071 /bin/bash: /render/build-scripts/create-process-types: No such file or directory
Oct 12 11:33:35 AM  ------
Oct 12 11:33:35 AM  Dockerfile.render:30
Oct 12 11:33:35 AM  --------------------
Oct 12 11:33:35 AM    29 |     # add a Procfile that tells us what you need us to run.
Oct 12 11:33:35 AM    30 | >>> RUN if [[ -f /app/Procfile ]]; then \
Oct 12 11:33:35 AM    31 | >>>   /render/build-scripts/create-process-types "/app/Procfile"; \
Oct 12 11:33:35 AM    32 | >>> fi;
Oct 12 11:33:35 AM    33 |
Oct 12 11:33:35 AM  --------------------
Oct 12 11:33:35 AM  error: failed to solve: process "/bin/bash -c if [[ -f /app/Procfile ]]; then   /render/build-scripts/create-process-types \"/app/Procfile\"; fi;" did not complete successfully: exit code: 127
Oct 12 11:33:35 AM  error: exit status 1```

Hi there,

It looks like you are missing the Procfile from your application. Heroku would have “default process types”, but I’m not sure that works when bringing your app to Render, we need a Procfile to know how to boot your app. If you have a Procfile you will need to commit that and push it with your Render app.

Otherwise, you will need to check your app in Heroku and see what processes you have running and create your own Procfile, the Ruby buildpack has a lot of logic behind picking the default process types, depending on the Ruby and Rails (or not) you are using: https://devcenter.heroku.com/articles/ruby-support#ruby-applications.

Regards,

Keith
Render Support, UTC+10 :australia:

Hi Keith,

I actually have a Procfile available. I wasn’t sure why the buildpack could not find it.

I was able to use another approach to setup my app. I had to manually create the resources since the plugin thing did not work. Now my app is setup successfully.

Thanks for your time.

Regards.
Taofeek.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.