Issues with Nextcloud
#893 (In Topic #391)
I'm running an instance of Nextcloud and trying to on-board about 100+ users for my non-profit office. Our setup is a physical server with 3 Virtual Servers running Ubuntu. One is an iRedMail server running OpenLDAP, another is the Nextcloud server, and the third is a Collabora server. I'm using the LDAP app to authenticate with Nextcloud. All of these things are realatively working fine. But infrequently we are experiencing times where the web service is grinding to a halt. I've never tried to wait it out and see if it resolves the issue on its own. I do not see anything in the Nextcloud log to indicate an issue. The htop monitor doesn't show any resource being taxed and network traffic doesn't seem hampered. So I initially started disabling all of the apps that were third party but that didn't seem to help. Then I noticed when I disable the Talk app, it seems to recover instantly. I can then enable it again and the server will respond fine for sometimes a couple weeks, but sometimes only a couple hours. I will see errors popping up in Talk where it is trying to load an ongoing thread and will fuss about not being able to join the conversation or find the members of it.
At this point I'm wondering if there is something happening with all of the LDAP lookups. I just don't know where else to keep looking. Any thought or ideas are welcome.
Our setup is Ubuntu 20.04, PHP 7.4.3, Apache and MySQL are up to date, Nextcloud is 25.0.6.
I've noticed my own Nextcloud servers have started warning me that I should upgrade to PHP 8. I'm on Debian stable, which is still stuck on 7, but since you're using Ubuntu, I would suggest upgrading at least the VM running Nextcloud to Ubuntu 22.04 LTS so you can get PHP 8.1, just in case it makes a difference.
People on the Nextcloud community forum may have more ideas: https://help.nextcloud.com/
As for PHP 8.1, everytime I try to upgrade on my test server, either by just upgrading to 8.1 or upgrading the Ubuntu to 22, it causes the server to crash and I haven't found a way to fix what is missing. Do you perhaps have a video on this? I did build a test maching from 22.04 natively and it works but I am not having success with a simple upgrade.
With regards to upgrading from 20.04 to 22.04 (there is no "22," as 22.04 and 22.10 are separate versions), I have an older video that covers Ubuntu release upgrades in general, including both the Ubuntu-suggested automatic way and a more manual way that works on Debian and Ubuntu: https://nerdonthestreet.com/episode/tech/upgrading-to-ubuntu-20-04-lts
You'd have to be more specific about what "server crashing" means in that context. How would you have upgraded to PHP 8.1 without upgrading Ubuntu? Is it Apache or Nextcloud that's crashing, or the entire OS?
1 guest and 0 members have just viewed this.