bitnami / vms

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

Bitnami Redmine: Is it possible to Upgrade to Apache version 2.4.59 or later? #1633

Closed yhn-ncs closed 1 month ago

yhn-ncs commented 2 months ago

Describe your issue as much as you can

Hi Bitnami Redmine Support,

Currently we are using the below production version.

Environment: Redmine version 5.1.0.stable Ruby version 3.0.6-p216 (2023-03-30) [x86_64-linux] Rails version 6.1.7.6 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::InlineAdapter

SCM: Subversion 1.14.2 Git 2.30.2 Filesystem
Redmine plugins: no plugin installed

From VMS scanning report, we need to upgrade Apache version 2.4.59 or later. I come across the below URL. Is it possible to upgrade? Could current Redmine be crashed? Kindly help.

https://linuxcapable.com/how-to-install-apache-on-debian-linux/

Thanks & Regards, Ye

yhn-ncs commented 1 month ago

Upgrading Apache to version 2.4.59 or later is definitely possible, and it should not crash your current Redmine setup if done correctly. Here are the steps you can follow to upgrade Apache on your Debian-based system:

Backup Your Current Configuration: Before making any changes, ensure you have a backup of your current Apache configuration and Redmine data . Update Package Lists: Run the following commands to update your package lists: sudo apt update

Install Apache 2.4.59 or Later: Use the following commands to install the latest version of Apache: sudo apt install apache2

Verify Apache Version: After installation, verify the Apache version to ensure it has been updated: apache2 -v

Restart Apache: Restart the Apache service to apply the changes: sudo systemctl restart apache2

Check Redmine Configuration: Ensure that your Redmine configuration is still intact and that the site is accessible. Check the Apache error logs if you encounter any issues: sudo tail -f /var/log/apache2/error.log

Potential Issues and Solutions Module Compatibility: Ensure that all Apache modules you are using are compatible with the new version. Some modules might need to be re-enabled or reconfigured. Configuration Changes: Review any changes in Apache configuration syntax or directives between versions. You can refer to the Apache upgrade documentation for detailed information

Thank you so much for your helpful comments. I will try in UAT.

Regards, Ye

yhn-ncs commented 1 month ago

Hi @gongomgra

Do you have also any comment?

Thanks & Regards, Ye

gongomgra commented 1 month ago

Hi @yhn-ncs,

Thanks for using Bitnami. As mentioned in other tickets of this forum, updating base components of our assets is not possible. Also note that the Apache server in our images is not installed from system repositories but built from source code, so you can not update it that way either. You will need to launch a new instance with the updated components and then migrate the app data there. Hope it helps!

yhn-ncs commented 1 month ago

Hi @gongomgra

Thank you for your comment. I will update you back.

Regards Ye

github-actions[bot] commented 1 month 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 month 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.