I am currently trying to work with a CIFS mount using occ files_external:notify. The process runs and with -v, changes are reported. However, they are not propagated to the interface or sync client, despite cron updates running.
Nextcloud version (eg, 20.0.5): 25.0.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.52-1ubuntu4.2
PHP version (eg, 7.4): 8.1+92ubuntu1 (fpm)
Is this the first time you’ve seen this error?: N
Steps to replicate it:
- Create a file on CIFS drive
touch [local CIFS mount]/users/voit/sketch/test23
- Check that files_external:notify picked it up:
Nov 29 10:26:08 [myserver] php[10597]: modified /users/voit/sketch/test23
Nov 29 10:26:08 [myserver] [10597]: marking 'users/voit/sketch' as outdated for voit
- Wait until cron job ran (confirm by Admin interface)
- Navigate to folder in web interface: test23 is not shown
- Reload folder in web interface: test23 is shown (this also seems to find new files if files_external:notify is not running).
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => '...',
'secret' => '...',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '...',
),
'trusted_proxies' =>
array (
0 => '10.90.60.147',
),
'overwritehost' => 'cloud.bbo.caesar.de',
'overwriteprotocol' => 'https',
'overwritewebroot' => '/',
'overwritecondaddr' => '^10\\.90\\.60\\.147$',
'default_phone_region' => 'DE',
'datadirectory' => '/cloud/nextcloud/data',
'dbtype' => 'mysql',
'version' => '25.0.1.1',
'overwrite.cli.url' => '...',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => '...',
'installed' => true,
'instanceid' => '...',
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => 'true',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'dbindex' => 0,
'password' => '',
'timeout' => 1.5,
),
'mail_from_address' => '...',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => '...',
'mail_smtphost' => '...',
'mail_smtpport' => '25',
);
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary: NO ERRORS IN THAT TIME PERIOD