Nextcloud version (eg, 29.0.5): 28.0.5
Operating system and version (eg, Ubuntu 29.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.52
PHP version (eg, 8.3): 8.2
The issue you are facing: Upgrading Ubuntu from 20.04 > 22.04 breaks Apache server
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Updated all dependencies and everything I can on existing Server
- Upgrade Ubuntu performing the do release
- Apache breaks during the last part of the upgrade, and cannot start
I fully realize this isn’t specifically a Nextcloud issue, but I’m using the HanssonIT pre built VM and was wondering if anyone has come across this? I’ve lagged behind on upgrading my actual server components and I’m at the point now to where I cannot upgrade Nextcloud due to Ubuntu version. I’ve spent the last four days updating the PHP version, PostgreSQL, repairing a corrupted index, and now I’m getting sidelined by Apache. During the last part of the Ubuntu upgrade, I see it do something with Apache. I don’t know what because it flashes by so fast, but once it does that and then prompts to reboot to finish the update, my site goes offline. Apache will not startup again. The error that I’ve found in the Apache error log is this:
[mpm_event:notice] [pid 379027:tid 140090768186496] AH00492: caught SIGWINCH, shutting down gracefully
[Mon Jun 10 06:46:55.906025 2024] [ssl:emerg] [pid 438493:tid 139925333211008] AH02407: "SSLOpenSSLConfCmd DHParameters /etc/letsencrypt/live/mydomain.com/dhparam.pem" > (domain replaced for security)
[Mon Jun 10 06:46:55.906094 2024] [ssl:emerg] [pid 438493:tid 139925333211008] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/error.log for more information>
AH00016: Configuration Failed
I’m not sure what is occurring with Apache or what is wrong with my Lets Encrypt cert. I have verified the PEM files are still there, and they don’t seem corrupted. My searching so far hasn’t resulted in much that makes sense to me.
I’ve created a linked clone of my VM so I can continue to tinker with it, but any suggestions on where to start looking for this issue? My end goal is to update Ubuntu, update Nextcloud, make new snapshots, overhaul my database backup process, and then likely continue upgrading to Ubuntu 24 and probably PHP and PostgreSQL as well.
*edit, I just checked / compared the versions of Apache, and prior to upgrading Ubuntu it is version 2.4.41 and after the server upgrade, it is version 2.4.52. So that must be the flash of Apache string I see in the latter part of the server upgrade. So what is changing from .41 > .52 that I need to fix?