I take that back. There is a log related. I didn't think the time matched earlier. Tried a new deploy and got this:
production.ERROR: Class 'Laravel\Telescope\TelescopeApplicationServiceProvider' not found {"exception":"[object] (Error(code: 0):
Telescope is only in the "require-dev" section of composer.json. It doesn't make sense that it's being called in the package:discover script on deploy....
Having the same error now deploying. Already updated to composer 2 to deal with new OAuth key, but now on deployment I am having this error as well. No idea yet how to solve this and we do not use Telescope. When we did deploy deploy -vvv staging we did not get any useful errors and laravel.log also shows us nothing related to the deployment.
[2021-10-08 04:59:37] staging.ERROR: Please provide a valid cache path. {"exception":"[object] (InvalidArgumentException(code: 0): Please provide a valid cache path. at /home/forge/staging.domain.com/releases/623/vendor/laravel/framework/src/Illuminate/View/Compilers/Compiler.php:36)
[stacktrace]