Started with plugin updates not being detected, apache error log huge

Keywords: WordPress - AWS - Technical issue - Permissions
bnsupport ID: f556084d-7b8e-dd10-732b-01a1f359d722
Description:
f556084d-7b8e-dd10-732b-01a1f359d722
bn support tool code
apache2 too big to upload

recent messages from error_log
PHP message: PHP W
arning: touch(): Utime failed: Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp
-filesystem-direct.php on line 516PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apps/wordp
ress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: touch(): Utime failed
: Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line
516PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/
class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: touch(): Utime failed: Operation not permitted in /
opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 516PHP message: PHP Warning:
chmod(): Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php
on line 173PHP message: PHP Warning: touch(): Utime failed: Operation not permitted in /opt/bitnami/apps/wordpress/htd
ocs/wp-admin/includes/class-wp-filesystem-direct.php on line 516PHP message: PHP Warning: chmod(): Operation not permit
ted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP W
arning: touch(): Utime failed: Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp
-filesystem-direct.php on line 516PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apps/wordp
ress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173’, referer: https://inursecoach.com/wp-admin/
[Sun May 02 15:46:35.956850 2021] [proxy_fcgi:error] [pid 1691:tid 139764703307520] [client 185.152.182.1:62401] AH01071
: Got error ‘PHP message: PHP Warning: touch(): Utime failed: Operation not permitted in /opt/bitnami/apps/wordpress/ht
docs/wp-admin/includes/class-wp-filesystem-direct.php on line 516PHP message: PHP Warning: chmod(): Operation not permi
tted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP
Warning: touch(): Utime failed: Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-w
p-filesystem-direct.php on line 516PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apps/word
press/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: touch(): Utime faile
d: Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on lin
e 516PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes
/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: touch(): Utime failed: Operation not permitted in
/opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 516PHP message: PHP Warning:
chmod(): Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.ph
p on line 173PHP message: PHP Warning: touch(): Utime failed: Operation not permitted in /opt/bitnami/apps/wordpress/ht
docs/wp-admin/includes/class-wp-filesystem-direct.php on line 516PHP message: PHP Warning: chmod(): Operation not permi
tted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP
Warning: touch(): Utime failed: Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-w
p-filesystem-direct.php on line 516PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apps/word
press/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173’
[Sun May 02 15:46:37.053468 2021] [proxy_fcgi:error] [pid 1681:tid 139764569024256] [client 185.152.182.1:62407] AH01071
: Got error ‘PHP message: PHP Warning: touch(): Utime failed: Operation not permitted in /opt/bitnami/apps/wordpress/ht
docs/wp-admin/includes/class-wp-filesystem-direct.php on line 516PHP message: PHP Warning: chmod(): Operation not permi
tted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP
Warning: touch(): Utime failed: Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-w
p-filesystem-direct.php on line 516PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apps/word
press/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: touch(): Utime faile
d: Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on lin
e 516PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes
/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: touch(): Utime failed: Operation not permitted in
/opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 516PHP message: PHP Warning:
chmod(): Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.ph
p on line 173PHP message: PHP Warning: touch(): Utime failed: Operation not permitted in /opt/bitnami/apps/wordpress/ht
docs/wp-admin/includes/class-wp-filesystem-direct.php on line 516PHP message: PHP Warning: chmod(): Operation not permi
tted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP
Warning: touch(): Utime failed: Operation not permitted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-w
p-filesystem-direct.php on line 516PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apps/word
press/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173’
bitnami@ip-172-26-4-183:/opt/bitnami/apache2/logs$
itted in /opt/bitnami/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on lin

tried disabling all plugins, still happening.
tried some other posts’ suggestions I found on this forum with permissions settings, still happening.
apparently its been happening since I migrated to AWS Lightsail in March 2021, because I have giant error_log files /gzs

p-filesystem-direct.php on line 173’
[Sun May 02 17:22:38.972995 2021] [autoindex:error] [pid 1667:tid 139765049300736] [client 207.46.13.177:24000] AH01276: Cannot serve directory /opt/bitnami/app
s/wordpress/htdocs/wp-content/plugins/elementor-pro/modules/social/classes/: No matching DirectoryIndex (index.html,index.php) found, and server-generated direc
tory index forbidden by Options directive

Hi @rkanka,

Could you try to reset WordPress permissions?

sudo chown -R bitnami:daemon /opt/bitnami/apps/wordpress/htdocs/
sudo find /opt/bitnami/apps/wordpress/htdocs/ -type d -exec chmod 775 {} \;
sudo find /opt/bitnami/apps/wordpress/htdocs/ -type f -exec chmod 664 {} \;
sudo chmod 640 /opt/bitnami/apps/wordpress/htdocs//wp-config.php

Regards,
Michiel