bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
9.03k stars 9.22k forks source link

[bitnami/wordpress] Cannot activate plugins after being installed #11203

Closed zoechou closed 2 years ago

zoechou commented 2 years ago

Name and Version

bitnami/wordpress:15.0.11

What steps will reproduce the bug?

  1. Install helm chart on AWS EKS cluster
  2. Apply customized setting
  3. View the wordpress website, and check WooCommerce on side panel

Are you using any custom parameters or values?

yes, values as below

nameOverride: ${var.namespace}
image:
  debug: true
wordpressPlugins: [WooCommerce]
wordpressPassword: ${var.wordpress_db_password}
service:
  type: NodePort
mariadb:
  enabled: true
  service:
    type: NodePort
  auth:
    rootPassword: "*****"
    database: ${var.wordpress_db_name}
    username: ${var.wordpress_db_username}
    password: ${var.wordpress_db_password}
  primary:
    persistence:
      enabled: false
    service:
      type: NodePort
persistence:
  enabled: false

What is the expected behavior?

Installed WooCommerce Plugins and activate it.

What do you see instead?

Plugin WooCommerce installed, but not being activated.

Additional information

logs of wordpress container

wordpress 16:03:03.60 INFO  ==> Configuring WordPress with settings provided via environment variables
wordpress 16:03:03.60 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 16:03:03.77 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 16:03:03.91 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 16:03:04.05 DEBUG ==> Setting DB_NAME to 'wordpress' in WordPress configuration (literal: no)
Success: Updated the constant 'DB_NAME' in the 'wp-config.php' file with the value 'wordpress'.
wordpress 16:03:04.18 DEBUG ==> Setting DB_USER to 'wordpress' in WordPress configuration (literal: no)
Success: Updated the constant 'DB_USER' in the 'wp-config.php' file with the value 'wordpress'.
wordpress 16:03:04.34 DEBUG ==> Setting DB_PASSWORD to 'wordpress123' in WordPress configuration (literal: no)
Success: Updated the constant 'DB_PASSWORD' in the 'wp-config.php' file with the value 'wordpress123'.
wordpress 16:03:04.50 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 16:03:04.76 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 16:03:04.92 INFO  ==> Installing WordPress
Success: WordPress installed successfully.
wordpress 16:03:05.95 INFO  ==> Installing and activating plugins: WooCommerce
Installing WooCommerce (6.7.0)
Downloading installation package from https://downloads.wordpress.org/plugin/woocommerce.6.7.0.zip...
Unpacking the package...
Installing the plugin...
Plugin installed successfully.
Warning: The 'WooCommerce' plugin could not be found.
Success: Installed 1 of 1 plugins.
Success: Updated custom field 'first_name'.
Success: Updated custom field 'last_name'.
Success: Rewrite structure set.
Success: Rewrite rules flushed.
wordpress 16:03:11.65 INFO  ==> Persisting WordPress installation
wordpress 16:03:14.99 INFO  ==> ** WordPress setup finished! **

wordpress 16:03:15.01 INFO  ==> ** Starting Apache **
zoechou commented 2 years ago

Fixed. The plugin name should be in lower case, such as woocommerce

fmulero commented 2 years ago

Thanks for sharing @zoechou