bitnami / vms

Bitnami VMs
https://bitnami.com
Other
206 stars 43 forks source link

[AWS Bitnami] How to only upgrade MariaDB on the stack #1449

Closed Wh1teDrvg0n closed 5 months ago

Wh1teDrvg0n commented 6 months ago

How to only upgrade MariaDB on the actual stack

Hello, I have done everything to upgrade the MariaDB on my actual stack but it seems there is a configuration somewhere forcing the same version as the original stack. I can't install a new stack on another machine as we have several other custom configurations for other services and were several years with it. I only need to upgrade the MariaDB server. I already remove the packages, upgrade the source list and done a lot of other trial and error to no avail. If someone knows something about this or some clue I will be grateful. Thank you on advance.

gongomgra commented 6 months ago

Hi @Wh1teDrvg0n,

Thanks for using Bitnami. Our installations don't relay on system packages (those installed using the apt-get command). We build (from official source code) and install our binaries under the /opt/bitnami directory. Unfortunately, it is not possible to upgrade these components individually. We recommend you to use a newer image including the updated components and migrate your data there.

Hope it helps!

github-actions[bot] commented 6 months 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.

ryan1969manus commented 6 months ago

Backup Your Database: Always start with a backup of your database to prevent data loss. Remove Old Packages: You’ve mentioned removing packages, which is a good start. Make sure Official Site all MariaDB-related packages are completely removed. Update Source List: Ensure that your source list points to the repository containing the version of MariaDB you wish to install. Install New Version: Install the new version of MariaDB from the updated source list. Run mariadb-upgrade: After installation, run the mariadb-upgrade command to ensure that your databases are compatible with the new version. Check Configuration Files: Look for any configuration files that may be overriding your version choice. This could include files in /etc/mysql/ or /etc/mysql/mariadb.conf.d/. Consult Version-Specific Upgrade Guides: Review the MariaDB Knowledge Base for any version-specific upgrade notes that may apply to your situation.

Best Regard, Ryan1969manus

gongomgra commented 6 months ago

Hi @ryan1969manus,

Thanks for your message. Unfortunately, and explained in my first message, those steps do not apply to Bitnami assets.

github-actions[bot] commented 5 months 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.