Merge pull request #185 from BlackRider97/warning_msg2

Fixing TSG formatting
This commit is contained in:
Rajneesh Mitharwal 2024-11-08 14:29:05 +05:30 коммит произвёл GitHub
Родитель 2200a2edb9 56b7e1a10d
Коммит 84b6f2ad0c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 36 добавлений и 37 удалений

Просмотреть файл

@ -41,58 +41,57 @@ This is a warning, not an error, and you can proceed with resolving it if you
In the Kudu dashboard, select the "BASH" option. In the Kudu dashboard, select the "BASH" option.
#### 3.3 Check Deployment Status #### 3.3 Check Deployment Status
Run the following command to check the WordPress deployment status: Run the following command to check the WordPress deployment status:
```bash ```bash
cat /home/wp-locks/wp_deployment_status.txt cat /home/wp-locks/wp_deployment_status.txt
``` ```
**Sample Expected Output**: **Sample Expected Output**:
```text ```text
PHPMYADMIN_INSTALLED PHPMYADMIN_INSTALLED
WORDPRESS_PULL_COMPLETED WORDPRESS_PULL_COMPLETED
WP_INSTALLATION_COMPLETED WP_INSTALLATION_COMPLETED
WP_CONFIG_UPDATED WP_CONFIG_UPDATED
SMUSH_PLUGIN_INSTALLED SMUSH_PLUGIN_INSTALLED
EMAIL_PLUGIN_INSTALLED EMAIL_PLUGIN_INSTALLED
SMUSH_PLUGIN_CONFIG_UPDATED SMUSH_PLUGIN_CONFIG_UPDATED
W3TC_PLUGIN_INSTALLED W3TC_PLUGIN_INSTALLED
W3TC_PLUGIN_CONFIG_UPDATED W3TC_PLUGIN_CONFIG_UPDATED
BLOB_STORAGE_CONFIGURATION_COMPLETE BLOB_STORAGE_CONFIGURATION_COMPLETE
WP_LANGUAGE_SETUP_COMPLETED WP_LANGUAGE_SETUP_COMPLETED
WP_TRANSLATE_WELCOME_DATA_COMPLETED WP_TRANSLATE_WELCOME_DATA_COMPLETED
FIRST_TIME_SETUP_COMPLETED FIRST_TIME_SETUP_COMPLETED
BLOB_CDN_CONFIGURATION_COMPLETE BLOB_CDN_CONFIGURATION_COMPLETE
BLOWFISH_SECRET_UPDATED BLOWFISH_SECRET_UPDATED
``` ```
#### 3.4 Confirm WordPress Installation Status File Presence #### 3.4 Confirm WordPress Installation Status File Presence
If `/home/wp-locks/wp_deployment_status.txt` is missing, the setup may be complete, but a transient issue has occurred. Additionally, check the MySQL database for any existing WordPress data. A site restart may help in such cases. If `/home/wp-locks/wp_deployment_status.txt` is missing, the setup may be complete, but a transient issue has occurred. Additionally, check the MySQL database for any existing WordPress data. A site restart may help in such cases.
#### 3.5 Verify Installation Status #### 3.5 Verify Installation Status
If the file is present but missing entries like `WORDPRESS_PULL_COMPLETED` or `WP_INSTALLATION_COMPLETED`, the installation may be incomplete. To verify, use the WP CLI command: If the file is present but missing entries like `WORDPRESS_PULL_COMPLETED` or `WP_INSTALLATION_COMPLETED`, the installation may be incomplete. To verify, use the WP CLI command:
```bash ```bash
wp core is-installed --path=/home/site/wwwroot --allow-root wp core is-installed --path=/home/site/wwwroot --allow-root
``` ```
Refer to [this guide](../how_to_use_wpcli_tool.md) for detailed instructions. Run the command in the "SSH" tab on the Kudu dashboard as it needs to execute within the container context. Refer to [this guide](../how_to_use_wpcli_tool.md) for detailed instructions. Run the command in the "SSH" tab on the Kudu dashboard as it needs to execute within the container context.
#### 3.6 Manual File Update (If Needed) #### 3.6 Manual File Update (If Needed)
If WordPress installation is confirmed, you can manually update or recreate the status file to resolve the warning. Use the following commands: If WordPress installation is confirmed, you can manually update or recreate the status file to resolve the warning. Use the following commands:
```bash ```bash
touch /home/wp-locks/wp_deployment_status.txt touch /home/wp-locks/wp_deployment_status.txt
echo "WORDPRESS_PULL_COMPLETED" >> /home/wp-locks/wp_deployment_status.txt echo "WORDPRESS_PULL_COMPLETED" >> /home/wp-locks/wp_deployment_status.txt
echo "WP_INSTALLATION_COMPLETED" >> /home/wp-locks/wp_deployment_status.txt echo "WP_INSTALLATION_COMPLETED" >> /home/wp-locks/wp_deployment_status.txt
``` ```
Optionally, replace this with the full sample output from above or restore from a recent working backup of your deployment status file. Optionally, replace this with the full sample output from above or restore from a recent working backup of your deployment status file.
#### 3.7 Restart the Site Again after updating status file #### 3.7 Restart the Site Again after updating status file
Restart the WordPress App Service. The warning should now be resolved. Restart the WordPress App Service. The warning should now be resolved.
By following these steps, you should be able to resolve the warning effectively. By following these steps, you should be able to resolve the warning effectively.