LoginSignup
0
0

More than 1 year has passed since last update.

laravel.logの権限エラー

Posted at

昨日まで動いていたラインBOT
webhookでメッセージが飛んできたら反応するプログラム
git pullで新しい差分を取り込んだら動かなくなった。

 The stream or file "/var/www/laravel/storage/logs/laravel.log" could not be opened in append mode

こんなエラーが
logに書き込む権限がないらしい

最終的には以下のコマンドで直りました。

sudo chmod -R ugo+rw storage

めでたしめでたし

(けどなぜ急に権限エラーが出るようになったんだろう・・・)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0