All Questions
Tagged with file-permissions cli
7 questions
0
votes
1
answer
132
views
Magento or Apache 2 Permission?
I have a vm where I run ubuntu 18.04 , Apache 2 and Magento 2.3 every thing works fine but I think I'm doing something wrong with my permissions.
So I have added to user 'dev' to the www-data group (...
1
vote
3
answers
1k
views
Command line user does not have read and write permissions on generated directory. Please address this issue before using Magento command line
My Magento site is down and I see
main.CRITICAL: Cannot write to the "/var/www/html/var/debug/db.log"
file. Unable to write {"exception":"[object]
(Magento\Framework\Exception\...
1
vote
2
answers
408
views
Magento 2 how to set proper file and folder permission in localhost ubuntu 18?
i'm
using
magento 2 in local setup in ubuntu 18
when every time i run cmds
php bin/magento s:s:d -f
php bin/magento s:up
php bin/magento s:d:c
the file permission changed
how to give proper ...
1
vote
1
answer
3k
views
Magento 2 Not getting JS and CSS after server change
I am working on magento 2.1.10
It is working fine on local server, each time I make any changes in CSS or add any custom modules the changes are online on frontend after I upgrade, content deploy and ...
3
votes
3
answers
3k
views
Cant run commands in terminal magento 2
When try run command in terminal example
php bin setup:upgrade
show like these error messages. Not only that but also all commands
-[ReflectionException]
Class Magento\Config\Console\...
4
votes
5
answers
33k
views
PHP Fatal error: Uncaught Zend_Cache_Exception
SOLVED - see my answer below.
I changed my theme and all pages showed only html without any styling. Then I ran sudo php bin/magento setup:static-content:deploy and after website doesnt work and ...
5
votes
1
answer
6k
views
Magento 2: How to fix incorrect permissions after executing setup:upgrade and/or setup:di:compile
After running setup:upgrade and di compile from the bin directory, permission and ownership is reset and the magento store stops working. It works if I manually reset the permission.
When the var/...