Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

TylerW's avatar

How to access error log for a production laravel cite on Forge?

Where do I actually go when I SSH into my forge server hosting a Laravel site to access errors that occurred in production? I don't even know how to find the Laravel install, I would of expected it to be in /var/www/html, but it is not. Not a system administrator here, just trying to figure out what the error is that my users are running into on the production server that I cannot reproduce on the development server. Thanks.

0 likes
2 replies
Cronix's avatar

When you ssh into forge as the forge user, it puts you in the forge users home account at /home/forge. The sites installed on that server are in directories named after their domain name.

so just ssh into the forge server, and type "ls" to get a dir listing of the sites installed.

Nash's avatar

Your error log is likely in /var/log/nginx/your-site-name.tld-error.log.

The Nginx configuration file under Sites -> Your Site Name -> Files (button in the footer) -> Edit Nginx Configuration in Forge shows this location.

Please or to participate in this conversation.