UDOIT
UDOIT copied to clipboard
Docker: Failure to open files in /var/www/html directory
Multiple institutions have reported critical error messages coming from the php
and web
containers similar to this:
php.CRITICAL: Uncaught Error: Failed opening required '/var/www/html/var/cache/prod/doctrine/orm/Proxies/__CG__AppEntityInstitution.php' (include_path='.:/usr/local/lib/php') {"exception":"[object] (Error(code: 0): Failed opening required '/var/www/html/var/cache/prod/doctrine/orm/Proxies/__CG__AppEntityInstitution.php' (include_path='.:/usr/local/lib/php') at /var/www/html/vendor/doctrine/common/src/Proxy/AbstractProxyFactory.php:197)"} []
As a possible workaround, one institution was able to get it working by running docker exec udoit-web-1 chown -R www-data:www-data /var/www
.
Platforms affected seem to be Linux, specifically one is Fedora.
Would it be sufficient to have that command run while the server starts up? Could take a crack at it if so.
I would rather figure out what the actual issue is rather than putting a bandaid on it. In order to replicate this issue, you'll probably have to set up a Fedora virtual machine using vmware or virtualbox or something.