mhubig / docker-partkeepr

mhubig/partkeepr docker image repository
63 stars 64 forks source link

Unable to install due to incompatible PHP7.2 base image #16

Closed adlerweb closed 6 years ago

adlerweb commented 6 years ago

Using current 1.4.0-1 or master via docker-compose leads to a failure during "Warming up the cache":

Message: "Generic error" Details: "Invalid configuration for path "monolog.handlers.main": Warning: count(): Parameter must be an array or an object that implements Countable"

When trying to access the page itself a similar error with more details appears:

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/vendor/symfony/monolog-bundle/DependencyInjection/Configuration.php on line 594

This is probably caused by 577ce7cbe6711b1934cf1d27742313de81f6d969 which (re)introduced PHP7.2. There where known problems with symfony/monolog (https://github.com/symfony/monolog-bundle/issues/223) and it was already rolled back once in b7975ae0be7f95cb9830408b8ebe22f49a2500c9. According to https://github.com/partkeepr/PartKeepr/issues/905 this seems not to be fixed as of yet.

Using 1.4.0 or changing to a php-7.1 base image works as expected.