I’ve just set up a Nextcloud VM with the following specifications:
Nextcloud version 20.0.5
Operating system and version: Umbuntu 20.04
PHP version: 7.4.3
CPU: 2 Cores
Now I’m facing the following issue:
Whenever I access the Nextcloud-URL via browser (no matter which browser I use), I face a TTFB of 45 seconds. This value does not seem to be random, because no matter what I do on the Nextcloud I face the same TTFB. After the login it takes me 45 seconds to get to the dashboard, if I log out again, it takes 45 seconds to get to the login screen.
I’ve already searched on the Internet for similar problems and tried all the solutions I could find. For example, disable the brute-force-protection, or enabling Memcache.
No matter what I try nothing changes. The loading time is always 45 seconds.
I’ve looked through apache, PHP, and Nextcloud logs but couldn’t find any indicators, but I’m a beginner anyhow.
If any logs are needed I’d be glad to provide them.
constant delay sounds somehow like a some timeout issue… It’s useless trying to guess and check some random issues. I suggest systematic analysis of the whole request path from the beginning to the end (or vice-versa).
thank you for the information! I’ll make sure to read up on how to properly network trace. As I’ve stated already, I’m still a beginner.
A reverse proxy is not used.
The Nextcloud application log is already running in debugging mode but doesn’t really help me find the issue, as far as I can tell.
I’ll double-check the logging level of my apache and PHP, maybe that would be helpful.