The Basics
- Nextcloud Server version (e.g., 29.x.x):
30.0.4
- Operating system and version (e.g., Ubuntu 24.04):
debian based proxmox Linux 6.11.0-2-pve x86_64
- Web server and version (e.g, Apache 2.4.25):
nginx/1.27.3
- Reverse proxy and version _(e.g. nginx 1.27.2)
HAproxy in OPNsense
- PHP version (e.g, 8.3):
8.3.15
- Is this the first time you’ve seen this error? (Yes / No):
yes
- When did this problem seem to first start?
after installing recognize
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
manual installation on proxmox lxc
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
Recognize cant classify existing files. In the admin panel all seems to be working and after recrawl from cli it shows all files in the queue.
The background jobs are working and after a while the queue was empty but no file classified. When using occ recognize:classify it said the files couldn’t be found:
removing 731785 from faces queue because it couldn't be found
removing 731786 from faces queue because it couldn't be found
removing 731787 from faces queue because it couldn't be found
removing 731788 from faces queue because it couldn't be found
removing 731789 from faces queue because it couldn't be found
removing 731790 from faces queue because it couldn't be found
removing 731791 from faces queue because it couldn't be found
removing 731792 from faces queue because it couldn't be found
removing 731793 from faces queue because it couldn't be found
removing 731794 from faces queue because it couldn't be found
removing 731795 from faces queue because it couldn't be found
removing 731796 from faces queue because it couldn't be found
removing 731797 from faces queue because it couldn't be found
removing 731798 from faces queue because it couldn't be found
removing 731799 from faces queue because it couldn't be found
removing 731800 from faces queue because it couldn't be found
removing 731802 from faces queue because it couldn't be found
removing 731803 from faces queue because it couldn't be found
removing 731804 from faces queue because it couldn't be found
removing 731858 from faces queue because it couldn't be found
removing 731859 from faces queue because it couldn't be found
removing 731860 from faces queue because it couldn't be found
removing 731888 from faces queue because it couldn't be found
No files left to classify
face classifier end
No files left to classify
removing 731721 from movinet queue because it couldn't be found
removing 731775 from movinet queue because it couldn't be found
No files left to classify
removing 731889 from imagenet queue because it couldn't be found
removing 731905 from imagenet queue because it couldn't be found
removing 731907 from imagenet queue because it couldn't be found
removing 731909 from imagenet queue because it couldn't be found
removing 731914 from imagenet queue because it couldn't be found
removing 731932 from imagenet queue because it couldn't be found
removing 731949 from imagenet queue because it couldn't be found
removing 731973 from imagenet queue because it couldn't be found
removing 731974 from imagenet queue because it couldn't be found
removing 732256 from imagenet queue because it couldn't be found
removing 732257 from imagenet queue because it couldn't be found
removing 732266 from imagenet queue because it couldn't be found
removing 732267 from imagenet queue because it couldn't be found
removing 732270 from imagenet queue because it couldn't be found
removing 732273 from imagenet queue because it couldn't be found
No files left to classify
New uploaded files get scanned and tagged properly. After removing the tags and recrawl it fails again even on the files tagged properly before.
Steps to replicate it (hint: details matter!):
- Download recognize
- Scan existing files
- Classify files fails (files couldnt be found)
Log entries
Nothing useful with debug loglevel.
Configuration
Nextcloud in unprivileged LXC on Proxmox 8.3.2.
The data directory is on a zfs bind mount from the proxmox host with specific id mapping.
Nextcloud
sudo -u www-data php occ config:list system
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"10.1.3.18",
"x.x.dedyn.io"
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "30.0.4.1",
"overwrite.cli.url": "https:\/\/cloud.mck.dedyn.io",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"overwritehost": "x.x.dedyn.io",
"activity_expire_days": 14,
"allow_local_remote_servers": true,
"auth.bruteforce.protection.enabled": true,
"forbidden_filenames": [
".htaccess",
"Thumbs.db",
"thumbs.db"
],
"cron_log": true,
"default_phone_region": "DE",
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\BMP",
"OC\\Preview\\XBitmap",
"OC\\Preview\\Movie",
"OC\\Preview\\PDF",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\HEIC",
"OC\\Preview\\Movie",
"OC\\Preview\\MKV",
"OC\\Preview\\MP4",
"OC\\Preview\\AVI"
],
"filesystem_check_changes": 0,
"filelocking.enabled": "true",
"htaccess.RewriteBase": "\/",
"integrity.check.disabled": false,
"knowledgebaseenabled": false,
"log_rotate_size": "104857600",
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"loglevel": 1,
"logtimezone": "Europe\/Berlin",
"memcache.local": "\\OC\\Memcache\\APCu",
"overwriteprotocol": "https",
"preview_max_x": 1024,
"preview_max_y": 768,
"preview_max_scale_factor": 1,
"profile.enabled": false,
"quota_include_external_storage": false,
"share_folder": "\/Mit mir geteilt",
"skeletondirectory": "",
"trashbin_retention_obligation": "auto, 7",
"maintenance_window_start": 1,
"app_install_overwrite": [
"keeweb",
"bruteforcesettings",
"previewgenerator",
"flowupload"
],
"mail_smtpmode": "smtp",
"mail_smtpsecure": "tls",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "PLAIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"memories.db.triggers.fcu": true,
"memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
"memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe"
}
}
Apps
sudo -u www-data php occ app:list
Enabled:
- activity: 3.0.0
- app_api: 4.0.3
- bruteforcesettings: 3.0.0
- calendar: 5.0.8
- circles: 30.0.0
- cloud_federation_api: 1.13.0
- comments: 1.20.1
- contacts: 6.1.2
- contactsinteraction: 1.11.0
- cookbook: 0.11.2
- dashboard: 7.10.0
- dav: 1.31.1
- federatedfilesharing: 1.20.0
- federation: 1.20.0
- files: 2.2.0
- files_downloadlimit: 3.0.0
- files_pdfviewer: 3.0.0
- files_reminders: 1.3.0
- files_sharing: 1.22.0
- files_trashbin: 1.20.1
- files_versions: 1.23.0
- keeweb: 0.6.20
- logreader: 3.0.0
- lookup_server_connector: 1.18.0
- memories: 7.4.1
- nextcloud_announcements: 2.0.0
- notes: 4.11.0
- notifications: 3.0.0
- oauth2: 1.18.1
- password_policy: 2.0.0
- photos: 3.0.2
- previewgenerator: 5.7.0
- privacy: 2.0.0
- provisioning_api: 1.20.0
- recognize: 8.2.0
- recommendations: 3.0.0
- related_resources: 1.5.0
- richdocuments: 8.5.3
- serverinfo: 2.0.0
- settings: 1.13.0
- sharebymail: 1.20.0
- support: 2.0.0
- systemtags: 1.20.0
- text: 4.1.0
- theming: 2.5.0
- translate: 2.2.0
- twofactor_backupcodes: 1.19.0
- updatenotification: 1.20.0
- user_status: 1.10.0
- viewer: 3.0.0
- weather_status: 1.10.0
- webhook_listeners: 1.1.0-dev
- workflowengine: 2.12.0
Disabled:
- admin_audit: 1.20.0
- encryption: 2.18.0
- files_external: 1.22.0
- firstrunwizard: 3.0.0 (installed 2.18.0)
- survey_client: 2.0.0 (installed 1.17.0)
- suspicious_login: 8.0.0
- twofactor_nextcloud_notification: 4.0.0
- twofactor_totp: 12.0.0-dev
- user_ldap: 1.21.0