Error 500 when uploading a plugin to wordpress and uploading image

Keywords: WordPress + NGINX + SSL - AWS - Technical issue - Permissions
Description:
Hello
I have error 500 when uploading a plugin to wordpress.
I get an error when loading an image The post-processing of the image has probably failed because the server is busy or does not have enough resources. Uploading a smaller image may help. The suggested maximum size is 2500 pixels.
the images think less than 200 kb
I appreciate the prompt help

The support bundle was uploaded successfully to the Bitnami servers. Please copy the following code:

33b1e25f-ada4-12ba-a841-c494f152bbb6

I have followed the following manual to try to solve the problem but it remains the same
https://docs.bitnami.com/general/how-to/troubleshoot-wordpress-issues/

Hi @edwin.ruiz,

Our support tool detected the following issues, did you take a look at them

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

[Nginx]

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

2021/06/10 19:25:34 [error] 727#727: *41358 access forbidden by rule, client: 35.228.213.137, server: _, request: "GET /.env HTTP/1.1", host: "34.228.203.32"
 2021/06/10 19:38:18 [error] 727#727: *41555 access forbidden by rule, client: 172.31.17.26, server: _, request: "GET /.well-known/security.txt HTTP/1.1", host: "75.101.153.85"
 2021/06/10 19:38:34 [error] 727#727: *41564 access forbidden by rule, client: 172.31.85.123, server: _, request: "GET /.well-known/security.txt HTTP/1.1", host: "avalon.com.co"

Please check the following guide to troubleshoot server issues:

https://docs.bitnami.com/general/infrastructure/nginx/troubleshooting/

[Resources]

Your instance has little available RAM memory.

 total used free shared buff/cache available Mem: 1995 1215 123 98 656 520 Swap: 0 0 0

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

You can also enable swap memory to improve performance.

https://docs.bitnami.com/installer/faq/linux-faq/administration/increase-memory-linux/

Dear I have done the sawp memory increase and it still does not work.
Inside the link that I send, do not enter anything of the problem that I sent in my ticket

Instead of adding SWAP, can you try to increase the RAM memory of the instance? Please note that the RAM memory provides better performance.

Does the error happen with any plugin? Please let us know the plugin (and version) you are trying to upload.

Apart from that, please run this command and post the output here

ls -laR /bitnami/wordpress/

hello my instance have 2 gigas physical

/bitnami/wordpress/wp-content/uploads/2021/05:
total 227976
300x300.gif
-rwxrwxrwx 1 bitnami daemon  2813135 May 31 04:26 Video-GIF-Gengigel-1.gif

/bitnami/wordpress/wp-content/uploads/2021/06:
total 8
drwxrwxrwx 2 bitnami daemon 4096 Jun  9 13:43 .
drwxrwxr-x 4 bitnami daemon 4096 Jun  9 13:43 ..

/bitnami/wordpress/wp-content/uploads/elementor:
total 12
drwxrwxr-x 3 bitnami daemon 4096 May 21 22:15 .
drwxrwxr-x 9 bitnami daemon 4096 May 27 19:09 ..
drwxrwxr-x 2 bitnami daemon 4096 Jun 10 15:19 css

/bitnami/wordpress/wp-content/uploads/elementor/css:
total 48
drwxrwxr-x 2 bitnami daemon  4096 Jun 10 15:19 .
drwxrwxr-x 3 bitnami daemon  4096 May 21 22:15 ..
-rwxrwxrwx 1 bitnami daemon 15437 May 21 22:15 global.css
-rwxrwxrwx 1 bitnami daemon   947 May 21 22:15 post-16.css
-rw-r--r-- 1 daemon  daemon 16308 Jun 10 15:19 post-17.css
-rwxrwxrwx 1 bitnami daemon  1370 May 24 17:43 post-19.css

/bitnami/wordpress/wp-content/uploads/js_composer:
total 8
drwxrwxr-x 2 bitnami daemon 4096 May 21 22:13 .
drwxrwxr-x 9 bitnami daemon 4096 May 27 19:09 ..
-rwxrwxrwx 1 bitnami daemon    0 May 21 22:13 custom.css

/bitnami/wordpress/wp-content/uploads/revslider:
total 80

/bitnami/wordpress/wp-content/uploads/revslider/slider-4:


/bitnami/wordpress/wp-content/uploads/revslider/slider-5:
total 1012
drwxrwxr-x  2 bitnami daemon    4096 May 25 14:45 .
drwxrwxr-x 20 bitnami daemon    4096 May 27 19:09 ..
-rwxrwxrwx  1 bitnami daemon 1024391 May 25 14:45 BONALIVE-VIDRIO.mp4

/bitnami/wordpress/wp-content/uploads/revslider/templates:
total 32
drwxrwxr-x  8 bitnami daemon 4096 May 31 14:14 .
drwxrwxr-x 20 bitnami daemon 4096 May 27 19:09 ..
drwxrwxr-x  2 bitnami daemon 4096 May 24 15:54 creative-hero-collection
drwxrwxr-x  2 bitnami daemon 4096 May 24 15:54 gaming-stats-presentation-slider
drwxrwxr-x  2 bitnami daemon 4096 May 24 15:54 packages
drwxrwxr-x  2 bitnami daemon 4096 May 24 15:54 photographer-slider
drwxrwxr-x  2 bitnami daemon 4096 May 24 15:54 realestate-slider
drwxrwxr-x  2 bitnami daemon 4096 May 24 15:54 saas-product-slider

/bitnami/wordpress/wp-content/uploads/revslider/templates/creative-hero-collection:
total 16
drwxrwxr-x 2 bitnami daemon 4096 May 24 15:54 .
drwxrwxr-x 8 bitnami daemon 4096 May 31 14:14 ..
-rwxrwxrwx 1 bitnami daemon 5405 May 24 15:54 slide1.jpg

/bitnami/wordpress/wp-content/uploads/revslider/templates/gaming-stats-presentation-slider:
total 20
drwxrwxr-x 2 bitnami daemon 4096 May 24 15:54 .
drwxrwxr-x 8 bitnami daemon 4096 May 31 14:14 ..
-rwxrwxrwx 1 bitnami daemon 8550 May 24 15:54 slide1.jpg

/bitnami/wordpress/wp-content/uploads/revslider/templates/packages:
total 40
drwxrwxr-x 2 bitnami daemon  4096 May 24 15:54 .
drwxrwxr-x 8 bitnami daemon  4096 May 31 14:14 ..
-rwxrwxrwx 1 bitnami daemon 30666 May 24 15:54 cinematic-wildlife-package.jpg

/bitnami/wordpress/wp-content/uploads/revslider/templates/photographer-slider:
total 20
drwxrwxr-x 2 bitnami daemon  4096 May 24 15:54 .
drwxrwxr-x 8 bitnami daemon  4096 May 31 14:14 ..
-rwxrwxrwx 1 bitnami daemon 11639 May 24 15:54 slide1.jpg

/bitnami/wordpress/wp-content/uploads/revslider/templates/realestate-slider:
total 24
drwxrwxr-x 2 bitnami daemon  4096 May 24 15:54 .
drwxrwxr-x 8 bitnami daemon  4096 May 31 14:14 ..
-rwxrwxrwx 1 bitnami daemon 16277 May 24 15:54 slide1.jpg

/bitnami/wordpress/wp-content/uploads/revslider/templates/saas-product-slider:
total 20
drwxrwxr-x 2 bitnami daemon  4096 May 24 15:54 .
drwxrwxr-x 8 bitnami daemon  4096 May 31 14:14 ..
-rwxrwxrwx 1 bitnami daemon 11412 May 24 15:54 slide1.jpg

/bitnami/wordpress/wp-content/uploads/revslider/video-bonalive-11:
total 8
drwxrwxr-x  2 bitnami daemon 4096 May 27 15:11 .
drwxrwxr-x 20 bitnami daemon 4096 May 27 19:09 ..

/bitnami/wordpress/wp-content/uploads/revslider/video-bonalive-vidrio:
total 8
drwxrwxr-x  2 bitnami daemon 4096 May 27 15:11 .
drwxrwxr-x 20 bitnami daemon 4096 May 27 19:09 ..

/bitnami/wordpress/wp-content/uploads/wc-logs:
total 56
drwxrwxr-x 2 bitnami daemon  4096 May 24 14:09 .
drwxrwxr-x 9 bitnami daemon  4096 May 27 19:09 ..
-rwxrwxrwx 1 bitnami daemon    13 May 21 22:05 .htaccess
-rwxrwxrwx 1 bitnami daemon     0 May 21 22:05 index.html
-rwxrwxrwx 1 bitnami daemon 39710 May 24 16:09 wc-image-regeneration-2021-05-24-dfbb69c2d341ff864703fe46d6615d79.log


/bitnami/wordpress/wp-content/uploads/wpcf7_uploads:
total 12
drwxrwxr-x 2 bitnami daemon 4096 May 21 22:05 .
drwxrwxr-x 9 bitnami daemon 4096 May 27 19:09 ..
-rwxrwxrwx 1 bitnami daemon   14 May 21 22:05 .htaccess

Hi @edwin.ruiz,

The permissions configuration seems fine, however, I do not see the wp-content/plugins folder inside the /bitnami one. Did you post the entire output of the command?

ls -laR /bitnami/wordpress/wp-content/plugins/

Apart from that, you didn’t answer my question

Can you use the WP CLI tool to install the plugin?

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