Hello,
I have installed nextcloud on a VPS server:
6 vCPU Cores
16 GB RAM
500 GB NVMe
400 Mbp/s network connection speed.
The issue is that the login page takes about:
10-15 minutes to load with Cloudflare without Cloudflare it takes 20-30 minutes.
Nothing else is running on the server and it is configured based on the user guides:
https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html#
PHP Version:
PHP 8.2.11 (cli) (built: Oct 6 2023 09:47:18) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.11, Copyright (c) Zend Technologies
with Zend OPcache v8.2.11, Copyright (c), by Zend Technologies
with Xdebug v3.2.1, Copyright (c) 2002-2023, by Derick Rethans
MySQL:
mysql Ver 15.1 Distrib 10.6.12-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper
Nextcloud config:
<?php
$CONFIG = array (
'default_phone_region' => '',
'instanceid' => '',
'passwordsalt' => '',
'secret' => 'SomesuperSecureSecret',
'trusted_domains' =>
array (
0 => 'mydomain.com',
),
'datadirectory' => '/super/secure/location/data',
'dbtype' => 'mysql',
'version' => '27.1.2.1',
'overwrite.cli.url' => 'https://SuperSecureDomain.com',
'dbname' => 'SuperSecureDBname',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'SuperSecureDBUser',
'dbpassword' => 'SuperSecureDBPassword',
'installed' => true,
'auth.bruteforce.protection.enabled' => false,
'mail_from_address' => 'myeamil@mydomain.com',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'mydomain.com',
'mail_smtpport' => '465',
'mail_smtphost' => 'smtp.something.com',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpmode' => 'smtp',
'mail_smtpauth' => 1,
'mail_smtpname' => 'email@email.com',
'mail_smtppassword' => 'SuperSecurePassword',
'mail_smtpstreamoptions' =>
array (
'ssl' =>
array (
'allow_self_signed' => true,
'verify_peer' => false,
'verify_peer_name' => false,
),
),
);
PHP Modules:
[PHP Modules]
apcu
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imagick
imap
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
random
readline
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
xdebug
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zip
zlib
[Zend Modules]
Xdebug
Zend OPcache
Could you please advise?
Thanks