Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/wordpress] wp-config.php did not change on WORDPRESS_EXTRA_WP_CONFIG_CONTENT update #74025

Open
riupie opened this issue Oct 30, 2024 · 2 comments
Assignees
Labels
stale 15 days without activity tech-issues The user has a technical issue about an application triage Triage is needed wordpress

Comments

@riupie
Copy link

riupie commented Oct 30, 2024

Name and Version

bitnami/wordpress:6.6.2-debian-12-r12

What architecture are you using?

amd64

What steps will reproduce the bug?

  1. Deploy on top kubernetes using helm chart
  2. Add WORDPRESS_EXTRA_WP_CONFIG_CONTENT with some content
  3. Deployed and run as expected
  4. Update WORDPRESS_EXTRA_WP_CONFIG_CONTENT value
  5. wp-config.php file did not reflect to new changes.

What is the expected behavior?

Update on WORDPRESS_EXTRA_WP_CONFIG_CONTENT reflected on wp-config.php file.

What do you see instead?

The wp-config.php file is still the same as the one used in the initial installation.

Additional information

Should I exclude it from WORDPRESS_DATA_TO_PERSIST instead? Any drawback if I exclude wp-config.php from it?

@riupie riupie added the tech-issues The user has a technical issue about an application label Oct 30, 2024
@github-actions github-actions bot added the triage Triage is needed label Oct 30, 2024
@javsalgar javsalgar changed the title [wordpress] wp-config.php did not change on WORDPRESS_EXTRA_WP_CONFIG_CONTENT update [bitnami/wordpress] wp-config.php did not change on WORDPRESS_EXTRA_WP_CONFIG_CONTENT update Oct 30, 2024
@javsalgar
Copy link
Contributor

Hi,

I'm afraid that currently, this value is set as first-boot. If you want to further update it, you would need to manualy edit it. I'm not sure that removing wp-config.php from DATA_TO_PERSIST may work in this case.

Copy link

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 github-actions bot added the stale 15 days without activity label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale 15 days without activity tech-issues The user has a technical issue about an application triage Triage is needed wordpress
Projects
None yet
Development

No branches or pull requests

2 participants