The Basics
- Nextcloud Server version :
31.0.7 on AIO v11.5.0
- Operating system and version :
Linux 6.8.0-71-generic x86_64
- Web server and version :
nextcloud-aio-apache
- Reverse proxy and version :
swag with embeded nginx : swag 2.4.0-ls191
- PHP version :
8.3.23
- Is this the first time you’ve seen this error? :
since the AIO installation
- When did this problem seem to first start?
since the AIO installation
- Installation method:
AIO Community Containers
- Are you using CloudfIare, mod_security, or similar?:
No
Summary of the issue you are facing:
Hi everybody, somebody can help me, for example when I try to analyze face for a new image (automatically or manually), Face background job says “Image will be skipped because of the following error: Imaginary image response is not valid.”.
I don’t know how the key is shared between the imaginary, Nextcloud and the face recognition container, but in the imaginary journal the key seems to be good.
Steps to replicate it (hint: details matter!):
- Install Nextcloud AIO.
- Check imaginary and Computing container for facerecognition for installation.
- No face detected.
- See in log : Image will be skipped because of the following error: Imaginary image response is not valid.
Log entries
Nextcloud
nextcloud-aio-nextcloud:/var/www/html# ./occ face:background_job -u admin
1/8 - Executing task CheckRequirementsTask (Check all requirements)
2/8 - Executing task CheckCronTask (Check that service is started from either cron or from command)
3/8 - Executing task DisabledUserRemovalTask (Purge all the information of a user when disable the analysis.)
4/8 - Executing task StaleImagesRemovalTask (Crawl for stale images (either missing in filesystem or under .nomedia) and remove them from DB)
5/8 - Executing task CreateClustersTask (Create new persons or update existing persons)
Face clustering will be created for the first time.
There are 0 faces for clustering.
We will add 0 faces that cannot be grouped.
0 clusters found after clustering
6/8 - Executing task AddMissingImagesTask (Crawl for missing images for each user and insert them in DB)
7/8 - Executing task EnumerateImagesMissingFacesTask (Find all images which don't have faces generated for them)
8/8 - Executing task ImageProcessingTask (Process all images to extract faces)
NOTE: Starting face recognition. If you experience random crashes after this point, please look FAQ at https://github.com/matiasdelellis/facerecognition/wiki/FAQ
Processing image /mnt/ncdata/admin/files/02 - Images/iPhone/2025/08/25-08-19 11-33-34 1563.jpg
Faces found: 0. Image will be skipped because of the following error: Imaginary image response is not valid.
nextcloud-aio-facerecognition
172.24.0.11 - - [19/Aug/2025 12:34:25] "GET /open HTTP/1.1" 200 -
172.24.0.11 - - [19/Aug/2025 12:34:25] "GET /open HTTP/1.1" 200 -
nextcloud-aio-imaginary
[fdb2:2ab0:948b::b] - - [19/Aug/2025 10:34:25] "GET /?key=4074d2962451e0b6a4b429ed7af2af762bebbc9f66717d07 HTTP/1.1" 200 53 0.0001
[fdb2:2ab0:948b::b] - - [19/Aug/2025 10:34:26] "POST /info?key=4074d2962451e0b6a4b429ed7af2af762bebbc9f66717d07 HTTP/1.1" 200 121 0.1185
[fdb2:2ab0:948b::b] - - [19/Aug/2025 10:34:34] "POST /pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22resize%22%2C%22params%22%3A%7B%22width%22%3A8660%2C%22height%22%3A11547%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22force%22%3A%22true%22%7D%7D%5D&key=4074d2962451e0b6a4b429ed7af2af762bebbc9f66717d07 HTTP/1.1" 200 6415359 8.2100
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to 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": "nextcloud.remove.fr",
"overwriteprotocol": "https",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"nextcloud.remove.fr",
"192.168.1.3\/nextcloud"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "31.0.7.1",
"overwrite.cli.url": "https:\/\/nextcloud.remove.fr\/",
"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,
"updatechecker": false,
"loglevel": 2,
"log_type": "file",
"logfile": "\/var\/www\/html\/data\/nextcloud.log",
"log_rotate_size": 10485760,
"log.condition": {
"apps": [
"admin_audit"
]
},
"preview_max_x": 1920,
"preview_max_y": 1080,
"jpeg_quality": 60,
"enabledPreviewProviders": {
"0": "OC\\Preview\\Imaginary",
"1": "OC\\Preview\\MarkDown",
"2": "OC\\Preview\\MP3",
"3": "OC\\Preview\\TXT",
"4": "OC\\Preview\\OpenDocument",
"5": "OC\\Preview\\Movie",
"6": "OC\\Preview\\Krita",
"7": "OC\\Preview\\Imaginary",
"8": "OC\\Preview\\ImaginaryPDF",
"9": "OC\\Preview\\HEIC",
"10": "OC\\Preview\\ImaginaryPDF",
"11": "OC\\Preview\\Image",
"23": "OC\\Preview\\ImaginaryPDF"
},
"enable_previews": true,
"upgrade.disable-web": true,
"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",
"updatedirectory": "\/nc-updater",
"maintenance_window_start": 100,
"allow_local_remote_servers": true,
"davstorage.request_timeout": 3600,
"documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
"htaccess.RewriteBase": "\/",
"dbpersistent": false,
"auth.bruteforce.protection.enabled": true,
"ratelimit.protection.enabled": true,
"files_external_allow_create_new_local": false,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
"facerecognition.external_model_url": "nextcloud-aio-facerecognition:5000",
"enabledFaceRecognitionMimetype": [
"image\/jpeg",
"image\/png",
"image\/heic",
"image\/tiff",
"image\/webp"
],
"default_phone_region": "FR",
"memories.db.triggers.fcu": true,
"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",
"app_install_overwrite": [
"maps"
],
"mail_smtptimeout": 30,
"mail_smtpmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauth": true,
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"default_language": "fr",
"default_locale": "fr_FR",
"theming_domain": {
"nextcloud.remove.fr": []
},
"defaultapp": "dashboard,memories,files",
"preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
"facerecognition.external_model_api_key": "some-super-secret-api-key",
"DOMAIN": "nextcloud.remove.fr"
}
}
Apps
Enabled:
- activity: 4.0.0
- admin_audit: 1.21.0
- assistant: 2.6.1
- bruteforcesettings: 4.0.0
- calendar: 5.3.9
- cfg_share_links: 7.0.1
- circles: 31.0.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contacts: 7.2.5
- contactsinteraction: 1.12.0
- context_chat: 4.4.1
- dashboard: 7.11.0
- dav: 1.33.0
- deck: 1.15.2
- duplicatefinder: 1.7.3
- epubviewer: 1.8.0
- facerecognition: 0.9.70
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_archive: 1.2.7
- files_downloadactivity: 1.18.1
- files_downloadlimit: 4.0.0
- files_pdfviewer: 4.0.0
- files_photospheres: 1.31.0
- files_reminders: 1.4.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- files_zip: 2.1.0
- firstrunwizard: 4.0.0
- forms: 5.1.2
- imageconverter: 2.0.5
- impersonate: 2.0.0
- integration_giphy: 2.1.0
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- mail: 5.2.0
- maps: 1.6.0
- memories: 7.6.2
- metadata: 0.22.0
- nextcloud-aio: 0.8.0
- nextcloud_announcements: 3.0.0
- notes: 4.12.3
- notifications: 4.0.0
- notify_push: 1.1.1
- oauth2: 1.19.1
- password_policy: 3.0.0
- passwords: 2025.7.20
- photos: 4.0.0
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- recommendations: 4.0.0
- related_resources: 2.0.0
- richdocuments: 8.7.4
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- socialsharing_email: 3.3.0
- socialsharing_whatsapp: 3.3.0
- spreed: 21.1.3
- support: 3.0.0
- survey_client: 3.0.0
- suspicious_login: 9.0.1
- systemtags: 1.21.1
- tasks: 0.16.1
- text: 5.0.0
- theming: 2.6.1
- theming_domain: 31.0.1
- twofactor_backupcodes: 1.20.0
- twofactor_totp: 13.0.0-dev.0
- updatenotification: 1.21.0
- user_status: 1.11.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webhook_listeners: 1.2.0
- whiteboard: 1.1.3
- workflowengine: 2.13.0
Disabled:
- app_api: 5.0.2 (installed 5.0.2)
- encryption: 2.19.0
- files_external: 1.23.0
- twofactor_nextcloud_notification: 5.0.0
- user_ldap: 1.22.0