I'm currently running Nextcloud on Ubuntu server. After upgrading from 20.04 LTS to 22.04 LTS, I couldn't log into Nextcloud. I switched the PHP modules from 7.4 to 8.1 as recommended in this forum post, but I still can't log in. Whenever I go to the login page, I just get this error:
Internal Server Error The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the server log.
The server log isn't giving me any useful information. I confirmed that https is working fine, as I can access the Apache server's homepage in my browser. I'm using MariaDB as the database for Nextcloud and I did the manual installation, not the snap installation. My Nextcloud version is 24.0.6.1. Any ideas on how to get my server running again?