Iqrazamir1 / EPA_WordPress_Website

This is my EPA website
0 stars 0 forks source link

wordpress_automate.sh Script not running. #1

Open Iqrazamir1 opened 2 weeks ago

Iqrazamir1 commented 2 weeks ago

The purpose of the wordpress_automate.sh script is to install and configure wordpress. This includes creating a MariaDB database and the Nginx config file. At this stage the wordpress welcome page isn't expected to appear when accessing the EC2 instance’s IP address in a web browser this is because I haven't added all the configuration files.

My plan is to test every script I write to verify that it is working as expected. Upon inspecting the /var/www/html directory via SSH terminal, it is evident that the wordpress_automate.sh script did not execute as expected, as the WordPress directory is missing.

Troubleshooting Steps To identify the root cause, I will execute the wordpress_automate.sh script step-by-step, monitoring each step to pinpoint where the script may be failing.

Iqrazamir1 commented 2 weeks ago

The issue has been resolved. The wordpress_automate.sh script was not executing because the path specified in the lemp_stack_automate.sh script was incorrect. Updating the path to include /root resolved the issue.