R
R
Rishat Sultanov2017-09-07 13:28:34
Laravel
Rishat Sultanov, 2017-09-07 13:28:34

Laravel sometimes creates logs from root?

Good afternoon.
Laravel 5.0 on board.
Logs are sometimes created from the root and the site falls off due to the inaccessibility of the file to write the next log there.
What could be such a reason?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Kuznetsov, 2017-09-07
@dima9595

try to check the folders for writing. Apparently there is no write permission.

U
UksusoFF, 2017-09-07
@UksusoFF

Most likely in most cases they are created from www-data because the user enters the web and at that moment something is being written.
But sometimes it can happen that the log is created at the moment of the Artisan command planned in the crown. And then the question is from whom it is launched.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question