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] - Jetpack 11.8 Plugin Failure #672

Closed
sbmsr opened this issue Feb 10, 2023 · 3 comments
Closed

[Wordpress] - Jetpack 11.8 Plugin Failure #672

sbmsr opened this issue Feb 10, 2023 · 3 comments
Assignees
Labels
solved stale 15 days without activity tech-issues The user has a technical issue about an application triage Triage is needed

Comments

@sbmsr
Copy link

sbmsr commented Feb 10, 2023

Platform

AWS

bndiagnostic ID know more about bndiagnostic ID

4292c194-c231-a6b0-5bf9-8d7ac85baf61

bndiagnostic output

[Apache]

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

[Fri Feb 10 05:44:50.551785 2023] [core:error] [pid 6288:tid 140010690733824]
[client **ip_address**:56036] AH10244: invalid URI path
(/cgi-bin/.%2e/.%2e/.%2e/.%2e/bin/sh)
 [Fri Feb 10 07:22:57.854311 2023] [autoindex:error] [pid 17305:tid
140010799838976] [client **ip_address**:36414] AH01276: Cannot serve directory
Press [Enter] to continue:
/opt/bitnami/wordpress/wp-content/uploads/2022/02/: No matching DirectoryIndex
(index.html,index.html,index.htm,index.php) found, and server-generated
directory index forbidden by Options directive
 [Fri Feb 10 08:37:14.249494 2023] [autoindex:error] [pid 17305:tid
140010841802496] [client **ip_address**:9812] AH01276: Cannot serve directory
/opt/bitnami/wordpress/wp-content/uploads/2022/02/: No matching DirectoryIndex
(index.html,index.html,index.htm,index.php) found, and server-generated
directory index forbidden by Options directive

Please check the following guide to troubleshoot server issues:

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

[Wordpress]

Some files don't have the expected permissions Please check the following guide:

https://docs.bitnami.com/general/apps/wordpress/administration/understand-
file-permissions/

Found recent WordPress plugin related error messages in the Apache error log.
Press [Enter] to continue:

[Fri Feb 10 14:44:25.974474 2023] [proxy_fcgi:error] [pid 9795:tid
140472877905664] [client **ip_address**:16378] AH01071: Got error 'PHP message:
PHP Notice: Unknown: file created in the system's temporary directory in Unknown
on line 0', referer: https://webdevwithseb.com/wp-admin/plugin-install.php

Please check the following guide to deactivate plugins:

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

[Resources]

Your instance has little available RAM memory.

 total used free shared buff/cache available Mem: 481 326 9 46 145 96 Swap: 634
269 364

You could try to increase your instance's memory. Please check your cloud
provider's documentation for more information.

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

I don't see the issue I'm facing in the bndiagnostic tool.

Describe your issue as much as you can

I'm seeing the following error with the recently released Jetpack 11.8:

[Fri Feb 10 14:11:31.807813 2023] [proxy_fcgi:error] [pid 9474:tid 140472995403520] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Exception: Failed writing allow list file to: /opt/bitnami/wordpress/wp-content/jetpack-waf/rules/allow-ip.php in /bitnami/wordpress/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-rules-manager.php:308\nStack trace:\n#0 /bitnami/wordpress/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-initializer.php(119): Automattic\\Jetpack\\Waf\\Waf_Rules_Manager::generate_ip_rules()\n#1 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(308): Automattic\\Jetpack\\Waf\\Waf_Initializer::check_for_waf_update()\n#2 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#3 /opt/bitnami/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()\n#4 /opt/bitnami/wordpress/wp-admin/admin.php(175): do_action()\n#5 /opt/bitnami/wordpress/wp-admin/plugins.php(10): require_once('/opt/bitnami/wo...')\n#6 {main}\n  thrown in /bitnami/wordpress/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/...'

The issue was not present with jetpack 11.7.1. I was able to solve this by downgrading back to 11.7.1. I presume it's something to do with file permissions. I see the file system is only writeable by root.

How can I temporarily give write access to the plugin?

@sbmsr sbmsr added the tech-issues The user has a technical issue about an application label Feb 10, 2023
@github-actions github-actions bot added the triage Triage is needed label Feb 10, 2023
@jotamartos
Copy link
Collaborator

You can reset the permissions configuration by running the commands in this post

#22 (comment)

The issue may be also related to the symlink we create to /bitnami/wordpress/wp-content. You can remove it and check if the plugin works

sudo mv /opt/bitnami/wordpress/wp-content /opt/bitnami/wordpress/wp-content.back
sudo mv /bitnami/wordpress/wp-content /opt/bitnami/wordpress/wp-content

If that doesn't solve the problem, please contact the plugin's developers to know more about the error and how to solve it.

@github-actions
Copy link

github-actions bot commented Mar 1, 2023

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

@github-actions github-actions bot added the stale 15 days without activity label Mar 1, 2023
@github-actions
Copy link

github-actions bot commented Mar 6, 2023

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

@github-actions github-actions bot added the solved label Mar 6, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved stale 15 days without activity tech-issues The user has a technical issue about an application triage Triage is needed
Projects
None yet
Development

No branches or pull requests

2 participants