Category: heroku

Why are muy uploaded files deleted on Heroku when I push a new version of the application?

On my Symfony project, I store uploaded pictures and documents on the directory public/upload/ But when the dyno is rebuilt (push changes from staging to prod, change configuration variables, etc), everything is deleted there. I don’t know what can be…

Allowed memory error in tests on Heroku CI

PHPUnit 6.5.14 by Sebastian Bergmann and contributors. Testing Project Test Suite …………………………………………..PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 81920 bytes) in /app/var/cache/test/ContainerMHT53RY/removed-ids.php on line 4 PHP Fatal error: Allowed memory size of 134217728 bytes…