Infinite 302 redirect loop on network-site/wp-admin

Keywords: WordPress Multisite - AWS - Technical issue - Application configuration

bnsupport ID: 3a5b037e-3fd2-a68a-31c0-8bf1b37a8527

bndiagnostic output:

? Apache: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/

bndiagnostic failure reason: The documentation did not make any significant change

Description:
Login to main site chotu.com/wp-admin
works fine
go to network admin > Sites
click on a site dashboard (https://chotu.com/ravi/wp-admin), it throws a ERR_TOO_MANY_REDIRECTS error.

Hello @yravi,

But I can see a different error:

Error establishing a database connection

Did you apply any other change? In that case, please send an updated version of the support tool.

Regards

Hi David, I am having a jinxed bitnami instance this time around, donno why stuff changes by itself and things are a matter of chance, sometimes they work and sometime they won’t. I had SSL issue, then redirect, then malware attack and now database issue. MariaDB is unable to start. What is the issue? Why can’t we have a stable instance which will run everytime. I am in serious SOS situation, pls help. You can see the instance as it is.

diagnostic-tool output:

14f6229d-7400-3aac-985b-d0c234dfe719

just in case is this might help you…

the file permission issues are troubling this time a lot.

Hello @yravi,

There seem to be some issues with Wordpress permission, please take a t look at this documentation:

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

Basically, execute:

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

Also, execute:

sudo chown mysql:mysql /opt/bitnami/mysql/tmp
sudo chown mysql:mysql /opt/bitnami/mysql/logs
sudo chmod 777 /opt/bitnami/mysql/tmp
sudo chmod g+w /opt/bitnami/mysql/tmp/mysql.sock

The support tool did not gather information about mariadb. Could you share with us the content of /opt/bitnami/mariadb/logs/mysqld.log?

Regards

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.