WordPress folder disappeared after failed update

Keywords: WordPress - AWS - Technical issue - Application configuration

bnsupport ID: 293b64ca-4622-4096-aaed-44abfca04bf7

bndiagnostic output:

? Apache: Found possible issues
? Resources: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/bch/apps/moodle/troubleshooting/deny-connections-bots-apache/

bndiagnostic failure reason: The suggested guides are not related with my issue

Description:
While updating wordpress, the site froze and when I refreshed I was greeted by the message of doom: “There has been a critical error on this website.”. None of the pages on my website load anything but that message.

I compared the directory structure to another server I have running Wordpress from Bitnami and noticed one difference - the broken server does not have a folder at /opt/bitnami/wordpress. On my functional server, this is the folder that contains wp-admin, wp-content, and other crucial resources.

Is there anyway to recover the data from my site?

Hi @thedatadude,

I can see you are running out of memory:

-----------------------------------
Display amount of free and used memory in the system
-----------------------------------
Running: free -m
In: /opt/bitnami

Output:

              total        used        free      shared  buff/cache   available
Mem:            987         679          77          91         230          77
Swap:           634         137         496 

Note that WordPress recommends at least 700M of memory.

You could try to increase your machine type if you face performance issues. This guide explains the process
https://docs.bitnami.com/aws/faq/administration/change-server-type/

Let me share with you our troubleshooting documentation:
https://docs.bitnami.com/aws/how-to/troubleshoot-wordpress-issues/
https://docs.bitnami.com/aws/faq/troubleshooting/troubleshoot-server-performance/

We also have a guide to optimize Wordpress:
https://docs.bitnami.com/aws/apps/wordpress/troubleshooting/optimize-bitnami-wordpress/

I have found this external guide to enable the debug mode and check the error:
https://kinsta.com/knowledgebase/there-has-been-a-critical-error-on-your-website/

I hope it helps

Hi David,

Thanks for your response. I upgraded my machine type, however that did not address my issue. Please see the description of my first post for more details. Am I screwed since the update failed?

I ran the Bitnami Support tool again since the machine upgrade, here is the ID: 81468233-61fb-669b-31bf-3821519457db

Hello @thedatadude,

Your output shows a correct usage of memory. The only errors I can see in Apache log are:

[Thu Jul 15 00:34:48.578091 2021] [proxy_fcgi:error] [pid 31531:tid 140649818998528] (70008)Partial results are valid but processing is incomplete: AH01075: Error dispatching request to : (reading input brigade)
[Thu Jul 15 04:02:37.332847 2021] [proxy_fcgi:error] [pid 31531:tid 140649525253888] (70008)Partial results are valid but processing is incomplete: AH01075: Error dispatching request to : (reading input brigade)
[Thu Jul 15 05:49:40.668277 2021] [authz_core:error] [pid 31531:tid 140649550432000] AH01630: client denied by server configuration: /opt/bitnami/apps/phpmyadmin/htdocs/index.php, referer: http://XXX.XXX.XXX.XXX/phpmyadmin/index.php
[Thu Jul 15 15:54:16.371202 2021] [proxy_fcgi:error] [pid 31433:tid 140649483454208] (70007)The timeout specified has expired: AH01075: Error dispatching request to : (reading input brigade)
[Thu Jul 15 20:38:03.196808 2021] [core:error] [pid 31366:tid 140649063917312] (36)File name too long:  AH00036: access to /3000D00E0000FFFF3F0031313744373731343634304537353046007A7A7A7A7A7A7A7A7A7A7A7A7A7A7A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000008047A7A7A7A7A7A7A7A7A0000000000000000000000000000000000000000000000000000000000000000 failed (filesystem path '/opt/bitnami/apps/wordpress/htdocs/3000D00E0000FFFF3F0031313744373731343634304537353046007A7A7A7A7A7A7A7A7A7A7A7A7A7A7A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000008047A7A7A7A7A7A7A7A7A0000000000000000000000000000000000000000000000000000000000000000')

I would suggest contacting WP team and provide them with this info.

You could try to take a look at this previous answer in case it may help with the errors: