After using Nextcloud since the fork from Owncloud to Nextcloud i recently upgrade to the latest release of Nextcloud (11.0) but to do this i needed to upgrade my server from Ubuntu 14.04 to 16.04 (which has native PHP7.0 support)
After this upgrade Nextcloud is responding slowly after logging in. The loading of the files takes quite some time and when i select kalender it takes 70 seconds to load the data.
Nextcloud is running on its own Ubuntu installation (1GB Ram, Single Core 2.4Ghz) the data is mounted of NFS and with version 9.x on Ubuntu 14.04 it was running fast.
I already had upgrade that worked without problem. Others resulted in a unstable system and several things weren’t working properly, that I figured out it takes me less time to make a fresh setup. First, I would try to figure out what’s wrong. But set yourself a time limit, you can easily spend a week-end without fixing it.
What can you check → what processes are running (top, ps -aux), who is using all the memory, which processes consume a lot of power when you are using Nextcloud (can you optimize them, are there errors reported)?
Is this a “real” computer where you can put more RAM? For all this database and caching stuff, a bit more memory can speed up the system considerably. 1 GB probably requires a certain amount of tuning. However, thanks to php 7.0 it should already be considerably faster.
Hard to say, but such a long response time looks like Nextcloud is waiting for something until it runs into a timeout or a fallback. Cache-Server are correctly linked? ipv6 or network in general? Worst case is to go down and run certain processes in debug mode. You will get tons of messages and you need to spot the right one