Recently I moved my website from CPanel hosting to Lightsail hosting. As everyone know lightsail is cheaper than EC2 also its provide control of your own server. It is a VPS server but in package provided by AWS.
I successfully transfer the WordPress site from CPanle to Lightsail. But when I tried to update or upgrade my WordPress version or Plugins I got the permission issue. Somthing like “could not create directory”.
1 ) First you have to check your bitnami folder structure. This different than others. You can check this using FTP or you can connect the SSH and check.
2) For connect FTP or SSH you need to login lightsail account and select your instance. Once you select your instance you can go and click orange “Connect using ssh“.
3) In my scenario my folder structure is : /opt/bitnami/wordpress/
When you have the Terminal window open, you can run following command as per your path
sudo chown -R bitnami:daemon /bitnami/wordpress/
sudo find /bitnami/wordpress/ -type d -exec chmod 775 {} \;
sudo find /bitnami/wordpress/ -type f -exec chmod 664 {} \;
sudo chmod 640 /opt/bitnami/wordpress/wp-config.php
sudo chown -R bitnami:daemon /opt/bitnami/wordpress/
sudo find /opt/bitnami/wordpress/ -type d -exec chmod 775 {} \;
sudo find /opt/bitnami/wordpress/ -type f -exec chmod 664 {} \;
sudo chmod 640 /opt/bitnami/wordpress/wp-config.php
WordPress Tips And Tricks For Beginners
How To Secure Your Contact Form 7 With ReCaptcha V2
Understand The Background Of Free AI Tool Now
Best Autoptimize Settings For WordPress Plugin In 2022
How To Use Header Tags For Your WordPress Site
Introduction Even with the abundance of digital communication channels available today, email marketing is still…
Introduction In the world of web development, selecting the correct framework is critical. Laravel and…
Introduction By enabling containerization, Docker has transformed the way software is built, deployed, and managed.…
Introduction Speed and efficiency are critical in the ever-changing world of web development. Effective caching…
Introduction Git, a popular version control system in software development, enables developers to track changes,…
Introduction Are you tired of grappling with tangled changes and unfinished work while using Git?…