In the Lima VM, error logs are empty.
/srv/www/{ website }/logs/error.log
/var/log/nginx/error.log
Website-specific log permissions contained in/srv/www/{ website } /logs:
-rw-r----- 1 steve www-data 5638026 Dec 19 12:48 access.log
drwxr-xr-x 2 steve www-data 4096 Dec 14 00:25 .
-rw-r----- 1 steve www-data 5990099 Dec 13 22:13 access.log.1
-rw-r----- 1 steve www-data 0 Dec 11 00:00 debug.log
-rw-r----- 1 steve www-data 531 Dec 10 16:29 debug.log.1
-rw-r----- 1 steve www-data 45418 Dec 6 14:00 access.log.2.gz
-rw-r----- 1 www-data www-data 153816 Nov 29 16:46 access.log.3.gz
-rw-r----- 1 steve www-data 222 Nov 27 11:13 debug.log.2.gz
-rw-r----- 1 steve www-data 16521 Nov 22 22:17 access.log.4.gz
-rw-r----- 1 steve www-data 679 Nov 22 20:47 debug.log.3.gz
-rw-r----- 1 steve www-data 482 Nov 15 11:15 debug.log.4.gz
-rw-r----- 1 www-data www-data 148 Nov 11 21:45 access.log.5.gz
-rw-r--r-- 1 www-data root 853 Nov 4 21:15 access.log.6.gz
-rw-r--r-- 1 steve steve 351 Nov 4 06:15 debug.log.5.gz
-rw-r--r-- 1 www-data root 0 Nov 3 21:02 error.log
drwxr-xr-x 5 root root 4096 Nov 3 21:01 ..
I’m more or less running an out-of-the-box setup with Trellis. I’m having no other issues with it in local dev and error.log is working properly in staging and production.
I’ve verified the log paths in the website’s nginx conf file
/etc/nginx/sites-enabled/{ website }.conf
access_log /srv/www/bedrock/logs/access.log main;
error_log /srv/www/bedrock/logs/error.log;
Any ideas as to what’s going on or any further info I can provide to help debug?
P.S. I’m so glad to see a local development solution for Trellis that is compatible with Apple Silicon. Having to use Parallels sucked so I sacrificed parity and used Docker for local.