Category : heroku

I created a server to read the text of pictures. It worked locally (i download tesseract on my computer) but the server doesn’t recognize tesseract when it’s on heroku. I tried to add buildpacks tesseract. Picture of my error here:- My code in php : <?php namespace AppController; use SymfonyBundleFrameworkBundleControllerAbstractController; use SymfonyComponentHttpFoundationResponse; use SymfonyComponentRoutingAnnotationRoute; use ..

Read more

I can’t deploy a Symfony 5 app on Heroku when the app needs ocramius/proxy-manager (required by the doctrine migration bundle). Here is the error : > Problem 1 > – Installation request for ocramius/proxy-manager 2.7.1 -> satisfiable by ocramius/proxy-manager[2.7.1]. > – ocramius/proxy-manager 2.7.1 requires php 7.4.0 -> no matching package found. For reference, the following ..

Read more

After deployments of an app based on Symfony (5.1.7) on heroku we occasionally see the following error in the logs: PHP Fatal error: require(): Failed opening required ‘/app/var/cache/prod/doctrine/orm/Proxies/__CG__AppEntityMyEntity.php’ My interpretation is, that the app gets deployed with a cold production cache and gets hit by traffic before cache warmup is completed. Does that interpretation make ..

Read more

Heroku showing this message on the page: The server returned a "500 Internal Server Error". Logs: Oct 12 07:32:39 pokedex-advanced-app heroku/router at=info method=GET path="/" host=pokedex-advanced-app.herokuapp.com request_id=cc14efd0-2328-4440-923e-76245aca818c fwd="109.206.198.16" dyno=web.1 connect=0ms service=15ms status=500 bytes=1178 protocol=http Oct 12 07:32:40 pokedex-advanced-app app/web.1 10.32.205.200 – – [12/Oct/2020:14:32:39 +0000] "GET / HTTP/1.1" 500 831 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) ..

Read more