bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
8.88k stars 9.16k forks source link

[bitnami/wordpress] Error: 'total-cache' is not a registered wp command. See 'wp help' for available commands. #17366

Closed Tjerk-Haaye-Henricus closed 1 year ago

Tjerk-Haaye-Henricus commented 1 year ago

Name and Version

bitnami/wordpress latest

What architecture are you using?

None

What steps will reproduce the bug?

There is an Error with this helmchart triing to install w3-tota-cache

image

Are you using any custom parameters or values?

No response

What is the expected behavior?

No response

What do you see instead?

Errors like in image above

Additional information

No response

dgomezleon commented 1 year ago

Hi @Tjerk-Haaye-Henricus

I was not able to reproduce the issue:

wordpress 15:30:26.12 INFO  ==> Configuring WordPress with settings provided via environment variables
wordpress 15:30:26.13 DEBUG ==> Setting FS_METHOD to 'direct' in WordPress configuration (literal: no)
Success: Added the constant 'FS_METHOD' to the 'wp-config.php' file with the value 'direct'.
wordpress 15:30:26.25 DEBUG ==> Setting WP_HOME to ''http://' . $_SERVER['HTTP_HOST'] . '/'' in WordPress configuration (literal: yes)
Success: Added the constant 'WP_HOME' to the 'wp-config.php' file with the raw value ''http://' . $_SERVER['HTTP_HOST'] . '/''.
wordpress 15:30:26.35 DEBUG ==> Setting WP_SITEURL to ''http://' . $_SERVER['HTTP_HOST'] . '/'' in WordPress configuration (literal: yes)
Success: Added the constant 'WP_SITEURL' to the 'wp-config.php' file with the raw value ''http://' . $_SERVER['HTTP_HOST'] . '/''.
wordpress 15:30:26.46 DEBUG ==> Setting DB_NAME to 'bitnami_wordpress' in WordPress configuration (literal: no)
Success: Updated the constant 'DB_NAME' in the 'wp-config.php' file with the value 'bitnami_wordpress'.
wordpress 15:30:26.57 DEBUG ==> Setting DB_USER to 'bn_wordpress' in WordPress configuration (literal: no)
Success: Updated the constant 'DB_USER' in the 'wp-config.php' file with the value 'bn_wordpress'.
wordpress 15:30:26.67 DEBUG ==> Setting DB_PASSWORD to 'fslowq2g4Y' in WordPress configuration (literal: no)
Success: Updated the constant 'DB_PASSWORD' in the 'wp-config.php' file with the value 'fslowq2g4Y'.
wordpress 15:30:26.77 DEBUG ==> Setting DB_HOST to 'wordpress-mariadb:3306' in WordPress configuration (literal: no)
Success: Updated the constant 'DB_HOST' in the 'wp-config.php' file with the value 'wordpress-mariadb:3306'.
Success: Shuffled the salt keys.
wordpress 15:30:26.97 DEBUG ==> Setting WP_AUTO_UPDATE_CORE to 'false' in WordPress configuration (literal: yes)
Success: Added the constant 'WP_AUTO_UPDATE_CORE' to the 'wp-config.php' file with the raw value 'false'.
wordpress 15:30:27.09 INFO  ==> Installing WordPress
Success: WordPress installed successfully.
wordpress 15:30:27.88 INFO  ==> Activating all installed plugins
Plugin 'akismet' activated.
Plugin 'all-in-one-wp-migration' activated.
Plugin 'all-in-one-seo-pack' activated.
Plugin 'amp' activated.
Plugin 'google-analytics-for-wordpress' activated.
Plugin 'hello' activated.
Plugin 'jetpack' activated.
Plugin 'simple-tags' activated.
Plugin 'w3-total-cache' activated.
Plugin 'wp-mail-smtp' activated.
Success: Activated 10 of 10 plugins.
Success: Updated custom field 'first_name'.
Success: Updated custom field 'last_name'.
Success: Rewrite structure set.
Success: Rewrite rules flushed.

I used these values:

diff --git a/bitnami/wordpress/values.yaml b/bitnami/wordpress/values.yaml
index 79574674e..e74fc22d2 100644
--- a/bitnami/wordpress/values.yaml
+++ b/bitnami/wordpress/values.yaml
@@ -93,7 +93,7 @@ image:
   pullSecrets: []
   ## Enable debug mode
   ##
-  debug: false
+  debug: true

 ## @section WordPress Configuration parameters
 ## WordPress settings based on environment variables
@@ -158,7 +158,7 @@ wordpressConfigureCache: false
 ## @param wordpressPlugins Array of plugins to install and activate. Can be specified as `all` or `none`.
 ## NOTE: If set to all, only plugins that are already installed will be activated, and if set to none, no plugins will be activated
 ##
-wordpressPlugins: none
+wordpressPlugins: all
 ## @param apacheConfiguration The content for your custom httpd.conf file (advanced feature)
 ##
 apacheConfiguration: ""

Did you try something different?

github-actions[bot] commented 1 year ago

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.

github-actions[bot] commented 1 year ago

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.