Getting this error on multisite:
2018/03/31 07:22:56 [error] 2579#2579: *23302 FastCGI sent in stderr: "PHP message: PHP Warning: file_put_contents(/srv/www/example.com/releases/20180320102643/web/app/uploads/sites/22/cache/4536d2c71a39df07d78b0ab0354a814719d58ee0.php): failed to open stream: No such file or directory in /srv/www/example.com/releases/20180320102643/web/app/themes/uhs-theme/vendor/illuminate/filesystem/Filesystem.php on line 122
PHP message: PHP Warning: include(/srv/www/example.com/releases/20180320102643/web/app/uploads/sites/22/cache/4536d2c71a39df07d78b0ab0354a814719d58ee0.php): failed to open stream: No such file or directory in /srv/www/example.com/releases/20180320102643/web/app/themes/uhs-theme/vendor/illuminate/view/Engines/PhpEngine.php on line 42
PHP message: PHP Warning: include(): Failed opening '/srv/www/example.com/releases/20180320102643/web/app/uploads/sites/22/cache/4536d2c71a39df07d78b0ab0354a814719d58ee0.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/example.com/releases/20180320102643/web/app/themes/uhs-theme/vendor/illuminate/view/Engines/PhpEngine.php on line 42" while reading response header from upstream, client: 162.158.234.114, server: example.com, request: "GET /en/?noredirect=en_GB HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm-wordpress.sock:", host: "example.com", referrer: "http://example.com/fr/"
As I saw in Trellis files we were not using cache. And I did generate the blade cache again using https://github.com/alwaysblank/blade-generate . Under:
/srv/www/example.com/releases/20180320102643/web/app/uploads/site
I do not see site numbers with cache though and I see that sites is root owned which it should perhaps not be:
drwxr-xr-x 2 root sudo 4096 Feb 7 2017 sites/
. Any ideas how to either ignore cache or get this to load properly?
P.S. Similar to issue Default install of Sage 9 beta showing blank page