Closed hhaxim closed 11 months ago
I can see many permission-related errors in the MariaDB's log
2023-11-06 3:31:37 0 [ERROR] InnoDB: The error means mariadbd does not have the access rights to the directory.
2023-11-06 3:31:37 0 [ERROR] InnoDB: Cannot open datafile for read-only: './bitnami_wordpress/wp_posts.ibd' OS error: 81
2023-11-06 3:31:37 0 [ERROR] InnoDB: Operating system error number 13 in a file operation.
2023-11-06 3:31:37 0 [ERROR] InnoDB: The error means mariadbd does not have the access rights to the directory.
2023-11-06 3:31:37 0 [ERROR] InnoDB: Could not find a valid tablespace file for bitnami_wordpress/wp_posts. Please refer to https://mariadb.com/kb/en/innodb-data-dictionary-troubleshooting/ for how to resolve the issue.
2023-11-06 3:31:37 0 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
2023-11-06 3:31:37 0 [Note] Server socket created on IP: '127.0.0.1'.
2023-11-06 3:31:37 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.db' doesn't exist
2023-11-06 3:31:37 0 [ERROR] Aborting
I understand you accidentally modified that so I suggest you launch a new VM (either locally or in the cloud) and compare the permissions configuration (/opt/bitnami/mariadb folder). You can update the permissions of those files using the chmod and chown commands.
You can also take a look at old related tickets in this forum to know what other users did to solve similar issues.
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.
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.
Platform
AWS
bndiagnostic ID know more about bndiagnostic ID
8035592a-c654-66c1-c6a0-92f708a311a2
bndiagnostic output
[Resources]
Your instance has little available RAM memory.
Press [Enter] to continue: 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-m emory-linux/
[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/
[Mariadb]
Found recent error messages in the MariaDB error log:
Please check the following guide to troubleshoot MariaDB issues:
https://docs.bitnami.com/aws/apps/wordpress/troubleshooting/debug-errors-m ariadb/
Some files don't have the expected permissions. Please check the following guide:
https://docs.bitnami.com/general/how-to/troubleshoot-permission-issues/
[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.
Please check the following guide to deactivate plugins:
https://developer.wordpress.org/cli/commands/plugin/deactivate/
[Apache]
Found recent error or warning messages in the Apache error log.
Please check the following guide to troubleshoot server issues:
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-erro rs-apache/
The Apache configuration has errors:
Please check the configuration.
===== End of bndiagnostic tool output =====
bndiagnostic was not useful. Could you please tell us why?
Is was useful. But the guides in the documentation links are not reliable.
Describe your issue as much as you can
I'm getting multiple errors.