So I am getting 500. Tried to fix it by running that bash permission fix script but did not help. On production server, when I execute as root in console:
bin/grav clear-cache
I am getting:
[InvalidArgumentException]
A stream must either be a resource or a string.
Live log from nginx (/var/log/nginx/xxxxxxxxx.com.error.log.1) when I reload address in web browser:
#0 /home/pia/www/xxxxxxxxx.com/system/src/Grav/Common/Service/LoggerServi ceProvider.php(29): Monolog\Handler\StreamHandler->__construct(false, 100)
#1 /home/pia/www/xxxxxxxxx.com/vendor/pimple/pimple/src/Pimple/Container. php(113): Grav\Common\Service\LoggerServiceProvider->Grav\Common\Service\{closur e}(Object(Grav\Common\Grav))
#2 /home/pia/www/xxxxxxxxx.com/system/src/Grav/Common/Plugins.php(184): Pimple\Container->offsetGet('log')
#3 /home/pia/www/xxxxxxxxx.com/system/src/Grav/Common/Plugins.php(37): Grav\Common\Plugins->loadPlugin('error')
#4 /home/pia/www/xxxxxxxxx.com/system/src/Grav/Common/Grav.php(436): Grav\Common\Plugins->__construct(Object(Grav\Common\Grav))
#5 /home/pia/www/xxxxxxxxx.com/vendor/pimple/pimple/src/Pimple/Container. php(113): Grav\Common\Grav-" while reading response header from upstream, client: 103.31.4.179, server: xxxxxxxxx.com, reque$
What's happening?