After scheduled maintenance my Lightsail Wordpress Linux instance shows "Apache2 Debian Default Page"

0

I got an email about a scheduled maintenance taking place on my LightSail Wordpress Linux (bitnami) instance in a 2-hour window and starting about 12 hours ago, but now instead of my WordPress site, the public static IP address shows the page: "Apache2 Debian Default Page... It works!..... You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server."

I am able to ssh in the instance and it is up. I also rebooted it but it didn't fix the start page issue. The file /var/www/html/index.html exists.

I have snapshots that worked before so I re-created a new instance of a recent snapshot, but it shows the same "Apache2 Debian Default Page". I know the snapshots used to work, as I had re-created instances from them before.

I tried to restart my other stopped instances and they all bring up the same Debian start page.

I spawned a brand new blank WordPress instance on LightSail and that shows the standard WordPress content, though.

Any help would be greatly appreciated.

--

PS: my /var/log/messages shows some suspicious messages. what do these mean? could these be a culprit?

Jul 14 06:50:14 ip-172-26-2-177 kernel: [ 6.078391] EXT4-fs (xvda1): re-mounted. Opts: discard,errors=remount-ro

Jul 14 06:50:15 ip-172-26-2-177 kernel: [ 28.503871] audit: type=1400 audit(1689317415.923:10): apparmor="DENIED" operation="mknod" profile="/usr/sbin/haveged" name="/run/haveged.pid" pid=2195 comm="haveged" requested_mask="c" denied_mask="c" fsuid=0 ouid=0

Bill
asked 10 months ago359 views
1 Answer
1

I solved the problem by restarting bitnami with these commands:

 sudo /etc/init.d/apache2 stop
 sudo /etc/init.d/bitnami start

it is necessary to do that after a server reboot or maintenance, apparently, if you have bitnami's wordpress on AWS.

These pages pointed me to a direction: https://docs.bitnami.com/aws/apps/wordpress/troubleshooting/debug-errors/ https://docs.bitnami.com/installer/apps/wordpress/administration/control-services-linux/ https://aws.amazon.com/premiumsupport/knowledge-center/lightsail-instance-failed-status-check/

Bill
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions