You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Laravel application is executed within a Docker container with a read-only root file system, an error is generated by the application during the rendering process, resulting in the display of a 404 error message (using the abort(404); function).
An examination of the log files reveals that Laravel attempts to compile a view. However, during the build process, the command 'artisan view:cache' has been executed.
Upon investigation, it was discovered that the default Laravel exception blade files are not cached using the view:cache command.
Running the 'artisan view:cache --vv' has the following output
It can be observed that the default exception views, located within the /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exception/views directory, are absent.
The text was updated successfully, but these errors were encountered:
Laravel Version
11.28.1
PHP Version
8.3.12
Database Driver & Version
No response
Description
When a Laravel application is executed within a Docker container with a read-only root file system, an error is generated by the application during the rendering process, resulting in the display of a 404 error message (using the
abort(404);
function).An examination of the log files reveals that Laravel attempts to compile a view. However, during the build process, the command 'artisan view:cache' has been executed.
Upon investigation, it was discovered that the default Laravel exception blade files are not cached using the view:cache command.
Running the 'artisan view:cache --vv' has the following output
It can be observed that the default exception views, located within the
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exception/views
directory, are absent.The text was updated successfully, but these errors were encountered: