Detect failed: CNB `detector` could not be executed: exit status 20 /tmp/buildpacks/2a80bad2491d9964595f72c47aacea29/bin/detect: line 5: cd: /tmp/app/: No such file or directory NoAppDetectedError - An app was not successfully detected by any available buildpack FAILED
The problem is caused due to the ordering of the buildpacks. When you run cf buildpacks:
The buildpack used by the notifications app is:
go_buildpack 23 true false go_buildpack-cached-cflinuxfs4-v1.10.10.zip cflinuxfs4
However, the problem happens when this buildpack is placed in a higher position on the list:
web_servers_cnb_beta 16 true false web-servers-cnb-buildpack-cflinuxfs4-v0.5.0.zip cflinuxfs4
In this case, the notifications app tries to push with the web_servers_cnb_beta buildpack instead, which causes the app to fail.
To resolve this, you'll need to move the go_buildpack to be above the web_servers_cnb_beta buildpack. This command should swap them:
cf update-buildpack web_servers_cnb_beta -s cflinuxfs4 -i <number>(Replacing <number> with a position lower than the go buildpack)