I am trying to update woocommerce and I see this error message on the system status page,
“Log directory (woocommerce/logs/) is not writable. Logging will not be possible”
I read online that i need to “Navigate to wp-content/plugins/woocommerce/ and Chmod the logs directory to 777.” but I can’t see the logs directory. Am I looking for a file called logs directory? I’m guessing that if it is that I’m just changing some number to 777??
At the command line, use these two commands
cd wp-content/plugins/woocommerce
chmod 777 logs/
The first command may need to be modified based on your actual directory. Probably your connection (SSH) to the server is in a ‘home’ directory and you will need to cd
from there (ex. /home/SITENAME/wp-content/plugins/woocommerce)
Needing to change permissions to 777 seems like an extremely poor way to do things.
True, it would be more work to have it so only the app and admin could have permission, but it would be more secure.
If you do change it to 777 make sure you change it back as soon as you’re done. Else you’re giving anyone, everyone and anything the ability to see everything there, put anything there, and run any code from there.
Log directory (woocommerce/logs/) is not writable. Logging will not be possible
So I Google this problem and somebody suggested that I need to navigate through the WooCommerce log in using my 777 directory. So am I supposed to look for a file called directory logs and change its number to 777? Ok I found the command prompt and I put in
cd wp-content/plugins/woocommerce
chmod 777 logs/
I am not comfortable using the 777 as I know that will make my system insecure. But what if I make the changes and go back from 777 immediately. That should help.