Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WordPress] Bitnami Wordpress #1657

Open
Idea-Theorem opened this issue Sep 12, 2024 · 4 comments
Open

[WordPress] Bitnami Wordpress #1657

Idea-Theorem opened this issue Sep 12, 2024 · 4 comments
Assignees
Labels
tech-issues The user has a technical issue about an application triage Triage is needed wordpress

Comments

@Idea-Theorem
Copy link

Platform

Azure

bndiagnostic ID know more about bndiagnostic ID

a130fd83-8556-6be9-4191-b124ebc0e993

bndiagnostic output

===== Begin of bndiagnostic tool output =====

? Apache: Found possible issues
? Wordpress: Found possible issues
✓ Mariadb: No issues found
? Connectivity: Found possible issues
✓ Resources: No issues found
✓ Php: No issues found
✓ Processes: No issues found

[Apache]

Found recent error or warning messages in the Apache error log.

[Thu Sep 12 18:18:36.554795 2024] [proxy:error] [pid 1261:tid 140392366847680] 
(2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain 
socket /opt/bitnami/php/var/run/www.sock (www-fpm:8000) failed
 [Thu Sep 12 18:18:36.554838 2024] [proxy_fcgi:error] [pid 1261:tid 
140392366847680] [client **ip_address**:34250] AH01079: failed to make 
Press [Enter] to continue:
connection to backend: www-fpm
 [Thu Sep 12 18:20:42.127779 2024] [core:error] [pid 1160:tid 139923365545664] 
[client **ip_address**:51946] AH10244: invalid URI path 
(/cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh)

Please check the following guide to troubleshoot server issues:

https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-erro
rs-apache/

[Wordpress]

Found recent WordPress plugin related error messages in the Apache error log.

[Thu Sep 12 18:30:40.832700 2024] [proxy_fcgi:error] [pid 6626:tid 
140606357599936] [client **ip_address**:48776] AH01071: Got error 'PHP message: 
PHP Deprecated: Creation of dynamic property rs_domain_switch_update::$data is 
deprecated in 
/bitnami/wordpress/wp-content/plugins/revslider-domain-switch-addon/admin/include
s/update.class.php on line 72'

Press [Enter] to continue:
Please check the following guide to deactivate plugins:

https://developer.wordpress.org/cli/commands/plugin/deactivate/

[Connectivity]

Server ports 22, 80 and/or 443 are not publicly accessible. Please check the
following guide to open server ports for remote access:

https://docs.bitnami.com/general/faq/administration/use-firewall/

===== End of bndiagnostic tool output =====

bndiagnostic was not useful. Could you please tell us why?

cannot properly determine the error

Describe your issue as much as you can

the site went down and when we restarted we were faced with database connection errors, upon restarting the vm again it fixed the issue

@Idea-Theorem Idea-Theorem added the tech-issues The user has a technical issue about an application label Sep 12, 2024
@github-actions github-actions bot added the triage Triage is needed label Sep 12, 2024
@jotamartos
Copy link
Collaborator

There is an error in WordPress that you would need to investigate. You should contact the plugin's or the WordPress' developers if you need more information regarding that error.

140606357599936] [client **ip_address**:48776] AH01071: Got error 'PHP message: 
PHP Deprecated: Creation of dynamic property rs_domain_switch_update::$data is 
deprecated in 
/bitnami/wordpress/wp-content/plugins/revslider-domain-switch-addon/admin/include
s/update.class.php on line 72'

Apart from that, I suggest you take a look at the Apache's and PHP's log files to see if there is any other error to solve.

We also suggest you take a look at this other ticket to investigate if there is any bot/attacker accessing your site and cousing performance-related issues

#1501

@jotamartos jotamartos changed the title [Wordpress] Bitnami Wordpress [WordPress] Bitnami Wordpress Sep 13, 2024
@imfaizanakram
Copy link

Based on the information provided, the following steps should help you resolve the issues:

  1. Restart PHP-FPM to fix the FastCGI socket issue.
  2. Disable or update the problematic plugin to resolve deprecation warnings.
  3. Ensure the database service is running and configured correctly.
  4. Ensure that necessary ports are open to allow proper server communication.

Feel free to provide more logs or details if the issue persists after trying these solutions.

@Idea-Theorem
Copy link
Author

Idea-Theorem commented Sep 23, 2024

Hi Faizan,

when atttempting to restart php-fpm when the site is down, it gives me this error
image

but when I restart the service as a whole,

sudo /opt/bitnami/ctlscript.sh restart

then it works

i'll check the other things and will get back to you thanks

@jotamartos
Copy link
Collaborator

sudo /opt/bitnami/ctlscript.sh restart

You always need to use the ctlscript to restart the services

Apart from that, I suggest you take a look at the Apache's and PHP's log files to see if there is any other error to solve.

Remember to take a look at these logs, as I mentioned above, there are errors there and you would need to contact WordPress' or plugin's developers to know more about them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech-issues The user has a technical issue about an application triage Triage is needed wordpress
Projects
None yet
Development

No branches or pull requests

3 participants