7
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

The stream or file "/var/www/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission deniedではまった件

Posted at

laradockにlaravelプロジェクトを立ち上げ、ワクワクしながらアクセスすると
スクリーンショット (1627).png

( д) ゚ ゚

どうやらstorrage/logs/laravel.logにアクセスする権限がないことらしい
ググっても英語の記事ばかりでよくわからない

解決法

chmod -R 777 storage bootstrap/cache

を打ち込んで解決しました

スクリーンショット (1629).png

##感想##
1時間も調べたのに解決があっさり過ぎて、これがプログラミングかと思ったよ・・・

##関連記事##
https://qiita.com/ucan-lab/items/54575fd939b9067d1cb6

7
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
7
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?