Thread Starter
vihitk
(@vihitk)
Hello everyone, so after some debugging, I found out that permissions of my upload folder were messed up. Corrected them, restart apache server and everything was fine. I’m pasting steps I followed below so that if anyone else faces the same problem, maybe it’ll help.
I’m assuming you’re in wordpress folder (one that contain wp-config.php).
cd wp-content/uploads
sudo find . -type d -exec chmod -v 775 {} \;
sudo find . -type f -exec chmod -v 664 {} \;
sudo chown -R bitnami:daemon /opt/bitnami/wordpress/wp-content/uploads
(I’m not sure what is the correct owner for non bitnami installation, I’m leaving the comments open for someone to inform)
sudo /opt/bitnami/ctlscript.sh restart apache
If I’ve done something wrong or formatted the code incorrectly, I hope any moderator of this topic would correct it. Thanks
-
This reply was modified 2 years, 2 months ago by vihitk.