Score:1

Nextcloud installation broken after upgrading to Ubuntu server 22.04

bt flag

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?

in flag
Read the server log. Increase log verbosity if necessary. Nextcloud also has its own log file in the data directory. Most probably it's just a missing PHP module.
Score:0
bt flag

I figured out what the issue was. I switched back to php7.4 since according to my research, Nextcloud compatibility with php8.1 is still unpredictable. It turns out apt upgraded several PHP modules to the 8.1 versions when I upgraded to Ubuntu server 22.04 LTS. I used php -m to check the modules installed and it was missing curl, mbstring, zip and several others. I reinstalled them and Nextcloud is working fine now.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.