Nextcloud version (eg, 20.0.5): 27.1.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.2 LTS
PHP version (eg, 7.4): 8.1.25
Is this the first time you’ve seen this error? (N):
Steps to replicate it:
Nextcloud: 27.1.3 AIO: v7.6.2
Nextcloud delets all the local files from the clients and starts the syncronisation all over. Which is very not funny when you work with terrabytes of data.
The location of the data is a large SMB share mounted in Nextcloud as an external storage and shared to a group. All the users experience he BUG at the same time. Some of the clients deletes everything localy on the clients and some clients just start to sync again every file which is already existing on the client computers. There is no log corresponding to any SMB error. The SMB backend (a seperate NAS device also not showing any errors in it’s logs.)
This is an incredibly serious bug.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
{
"system": {
"one-click-instance": true,
"one-click-instance.user-limit": 100,
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"check_data_directory_permissions": false,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"overwritehost": "cloud.thefxlovers.com",
"overwriteprotocol": "https",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"cloud.thefxlovers.com"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "27.1.3.2",
"overwrite.cli.url": "https:\/\/cloud.thefxlovers.com\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"updater.release.channel": "stable",
"updatedirectory": "\/nc-updater",
"loglevel": "2",
"app_install_overwrite": [
"nextcloud-aio",
"gpxedit"
],
"log_type": "file",
"logfile": "\/var\/www\/html\/data\/nextcloud.log",
"log_rotate_size": "10485760",
"log.condition": {
"apps": [
"admin_audit"
]
},
"preview_max_x": "2048",
"preview_max_y": "2048",
"jpeg_quality": "60",
"enabledPreviewProviders": {
"1": "OC\\Preview\\Image",
"2": "OC\\Preview\\MarkDown",
"3": "OC\\Preview\\MP3",
"4": "OC\\Preview\\TXT",
"5": "OC\\Preview\\OpenDocument",
"6": "OC\\Preview\\Movie",
"7": "OC\\Preview\\Krita",
"0": "OC\\Preview\\Imaginary"
},
"enable_previews": true,
"upgrade.disable-web": true,
"mail_smtpmode": "smtp",
"trashbin_retention_obligation": "auto, 30",
"versions_retention_obligation": "auto, 30",
"activity_expire_days": "30",
"simpleSignUpLink.shown": false,
"share_folder": "\/Shared",
"one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
"upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
"htaccess.RewriteBase": "\/",
"files_external_allow_create_new_local": false,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"allow_local_remote_servers": true,
"preview_imaginary_url": "http:\/\/nextcloud-aio-imaginary:9000",
"memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-musl",
"memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"davstorage.request_timeout": 3600,
"dbpersistent": false
}
}
This might be usefull:
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.
[core] Error: OCP\Files\NotFoundException: /***/***.docx at <<closure>>
0. /var/www/html/lib/private/Files/Node/Folder.php line 135
OC\Files\Node\Root->get("/AG/files/WORK/ ... x")
1. /var/www/html/apps/files_versions/lib/Storage.php line 595
OC\Files\Node\Folder->get("/WORK/_Eva-Work ... x")
2. <<closure>>
OCA\Files_Versions\Storage::OCA\Files_Versions\{closure}("*** sensitive parameters replaced ***")
3. /var/www/html/apps/files_versions/lib/Storage.php line 610
array_filter(["*** sensitive ... "], ["Closure"])
4. /var/www/html/apps/files_versions/lib/BackgroundJob/ExpireVersions.php line 69
OCA\Files_Versions\Storage::expireOlderThanMaxForUser("AG")
5. /var/www/html/lib/private/User/Manager.php line 632
OCA\Files_Versions\BackgroundJob\ExpireVersions->OCA\Files_Versions\BackgroundJob\{closure}("*** sensitive parameters replaced ***")
6. /var/www/html/apps/files_versions/lib/BackgroundJob/ExpireVersions.php line 70
OC\User\Manager->callForSeenUsers(["Closure"])
7. /var/www/html/lib/public/BackgroundJob/Job.php line 81
OCA\Files_Versions\BackgroundJob\ExpireVersions->run(null)
8. /var/www/html/lib/public/BackgroundJob/TimedJob.php line 103
OCP\BackgroundJob\Job->start(["OC\\BackgroundJob\\JobList"])
9. /var/www/html/lib/public/BackgroundJob/TimedJob.php line 93
OCP\BackgroundJob\TimedJob->start(["OC\\BackgroundJob\\JobList"])
10. /var/www/html/cron.php line 152
OCP\BackgroundJob\TimedJob->execute(["OC\\BackgroundJob\\JobList"], ["OC\\Log"])
at 2023-11-19T20:56:21+00:00