Snipe-it: Error in exception handler: The stream or file "/var/www/html/snipeit/app/storage/logs/log-apache2handler-2014-11-28.txt" could not be opened: failed to open stream: Permission denied in /var/www/html/snipeit/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:84

Created on 28 Nov 2014  路  14Comments  路  Source: snipe/snipe-it

I get this error Error in exception handler: The stream or file "/var/www/html/snipeit/app/storage/logs/log-apache2handler-2014-11-28.txt" could not be opened: failed to open stream: Permission denied in /var/www/html/snipeit/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:84

I am using ubuntu 14.04.1 LTS and latest version of snipeit.

I followed the tutorial. Can someone help me with this error?

Most helpful comment

try this ..

sudo chmod -R 777 /var/www/html/snipeit/app/storage

All 14 comments

Not sure if this is the answer but the Storage directory has to be writeable by your web server user.

Thanks for helping out, Sean! You're correct - the app/storage directory (and sub-directories) must be writeable by the web server.

How can i do this? Can someone provide me steps?

Change permissions (recursively) on app/storage

try this ..

sudo chmod -R 777 /var/www/html/snipeit/app/storage

thanks for the help! it worked!

YW

Were you using the FTP (FileZilla) ssh root@ipaddress and trying to connect the web server and does not see the var/www/html on list? I thought it was just chmod -R 777(laravel's group folder)/app/storage, so I decided try by this sudo chmod -R 777 /var/www/html/(laravel's group folder)/app/storage. check the web server it went through the permission and it works. Also, make sure security using as 775

@ironheartbj18 this ticket was closed back in Dec

Hello, I resolved error Error in exception handler with permits but when trying to enter me throws Server Error 500 (Internal Server Error) any idea.

thanks ~~ I have same problem, now it workd!

when I was trying to change the user and the group forgot to update the permissions of the "storage" directory.

With sudo chmod -R 777 /var7www/html//storage works fine

thanks a lot

thanks Problem Solved.!
but then an error....

Not Found

The requested URL /user/login was not found on this server.
Apache/2.4.18 (Ubuntu) Server at www.laravel123.com Port 80

That鈥檚 definitely a different issue, and you should search closed tickets and/or open your own.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

WELLBOREIS picture WELLBOREIS  路  3Comments

laTruffe79 picture laTruffe79  路  4Comments

Rungea96 picture Rungea96  路  4Comments

alextheberge picture alextheberge  路  4Comments

ericdude101 picture ericdude101  路  5Comments