Nextcloud version: 28.0.3
(was also the case with 27.x
Operating system and version : Ubuntu 23.10
(was also the case with 22.04 LTS
and 23.04
Apache: 2.4.57
PHP version: 8.2.10-2
My issue:
Hello Nextcloud community, my first post in this forum, but i’ve read a lot during my tests and installation.
Here is the problem I’m facing:
All my mobile Nextcloud App (boths from my Android 13 and my wife’s iPone 14) actualize folders when connected to WIFI (home WIFI or public WIFI outside our home) but not when WIFI is disconnected.
Little precision: all others apps have access to internet just fine.
Even if I force a folder to actualize (by sliding down), I’m unable to see folders or files created since last access trough WIFI.
Same problem to open file of course.
The Talk app works fine in WIFI or in 4G/5G connection. It’s only the Nextcloud app, but I don’t have an error message when actualizing.
Sometime after adding a new file from my phone to nextcloud folders, if I’m not connected through WIFI, I can see the error Erreur de l'initialisation SSL
that I think I can translate by Error with SSL initialization
.
I saw the problem a long a time ago, but it didn’t really bothers me until a couple a days ago when I was requested to access a file I just added from my computer during a medical rendez-vous… (always at bad timing right ?)
So I’m trying to understand why, but I’m struggling to find the solution.
I have Arch Linux and Windows computers and my wife use it’s Mac, all Nextcloud App zre working just fine, sharing, opening, syncing works perfectly great.
regarding my configuration: I have an official certificate generated by GeoTrust, so that I opened on my VM only 443 port, not the 80. But HTTP port is not blocked by the firewall (at least it doesn’t appear on syslog). I’ve both ipv4 and ipv6 opened and configured in apache <VirtualHost *:443>
.
The only error that appears in Log is:
two-factor auth provider 'u2f' failed to load
probably because, I use an old version of nextcloud that I’ve updated many times.
config.php file:
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => 'www.fr',
1 => 'xxx.fr',
2 => 'yyy.fr',
3 => 'zzz.fr',
),
'overwrite.cli.url' => 'https://xxxx.fr/',
'htaccess.RewriteBase' => '/',
'datadirectory' => '/var/www/nextcloud01/data',
'dbtype' => 'mysql',
'version' => '28.0.3.2',
'dbname' => '',
'dbhost' => '',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '',
'dbpassword' => '',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
),
'default_language' => 'fr',
'default_locale' => 'fr_FR',
'default_phone_region' => 'FR',
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
0 => '2AuthExcluded',
),
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'no-reply',
'mail_domain' => 'xxx.fr',
'mail_smtphost' => 'xxx.fr',
'mail_smtpport' => '587',
'mail_smtpauth' => 1,
'mail_smtpauthtype' => 'PLAIN',
'mail_smtpname' => 'no-reply@xxx.fr',
'mail_smtppassword' => '',
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\PNG',
1 => 'OC\\Preview\\JPEG',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\BMP',
4 => 'OC\\Preview\\XBitmap',
5 => 'OC\\Preview\\MP3',
6 => 'OC\\Preview\\TXT',
7 => 'OC\\Preview\\MarkDown',
8 => 'OC\\Preview\\OpenDocument',
9 => 'OC\\Preview\\Krita',
10 => 'OC\\Preview\\MSOffice2003',
11 => 'OC\\Preview\\MSOffice2007',
12 => 'OC\\Preview\\MSOfficeDoc',
13 => 'OC\\Preview\\PDF',
),
'maintenance' => false,
'loglevel' => 2,
);
Nor Apache nor system logs shows errors right after a synchronisation test when not in WIFI.
Hope someone already experience that error and find a way.
Ready to give more inputs if needed.
Best regards.
Julien