Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied on laravel.log during start #27

Closed
ludgerey opened this issue Sep 13, 2022 · 3 comments
Closed

Permission denied on laravel.log during start #27

ludgerey opened this issue Sep 13, 2022 · 3 comments

Comments

@ludgerey
Copy link

ludgerey commented Sep 13, 2022

I have a fresh laravel installation and added the files from this repo according to the instructions. The app won't start when running docker run.

2022-09-13 08:03:55,959 INFO spawned: 'octane_00' with pid 69

In StreamHandler.php line 146:

  The stream or file "/var/www/html/storage/logs/laravel.log" could not be op
  ened in append mode: Failed to open stream: Permission denied
  The exception occurred while attempting to log: The stream or file "/var/ww
  w/html/storage/logs/laravel.log" could not be opened in append mode: Failed
   to open stream: Permission denied
  The exception occurred while attempting to log: There are no commands defin
  ed in the "octane" namespace.
  Context: {"exception":{}}
  Context: {"exception":{}}

How to fix this? Is this a bug?

UPDATE: Nevermind, had to add octane via composer before and install it according to the laravel docs. Maybe add this requirement to the docs?

@ludgerey
Copy link
Author

Nevermind, had to add octane via composer before and install it according to the laravel docs. Maybe add this requirement to the docs?

@meeftah
Copy link

meeftah commented Mar 8, 2024

could you explain more? I face some problem

@ludgerey
Copy link
Author

ludgerey commented Mar 8, 2024

@meeftah I think I described it, the best I can above already. If you have another issue, I guess it's best when you create a new issue and describe in detail what your problem is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants