portainer_laravel_errors
Get Laravel application error details from container logs to diagnose HTTP 500 errors after identifying them in nginx access logs.
Instructions
Get Laravel application-level errors from storage/logs/laravel.log.
Executes inside each running backend/horizon container of a stack to read the actual Laravel error log (not nginx access log). Returns production.ERROR entries with exception messages and context.
Use this AFTER portainer_stack_logs_errors to get root cause details behind HTTP 500 errors seen in nginx access logs.
Args: stack_name: Stack name prefix (e.g. "taylor", "blog", "somnlyx") tail: Number of error lines to return per container (default 50, max 200) endpoint_id: Target endpoint ID (uses default if omitted)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack_name | Yes | ||
| tail | No | ||
| endpoint_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |