Nextcloud version (eg, 29.0.5): [Nextcloud Hub 8] (29.0.4)
Operating system and version (eg, Ubuntu 24.04): Windows 11 22631
Apache or nginx version (eg, Apache 2.4.25): AIO backend
PHP version (eg, 8.3): AIO backend
The issue you are facing:
After I take photos with my phone they auto-upload to the NC instance but then when my PC goes to sync them I get errors for up to an hour later. The error will finally clear and sync the photos.
File name with name NAME_HERE.jpg could not be located.
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
Upload photos via mobile app
Sync on PC immediately
Fail
The output of your Nextcloud log in Admin > Logging:
Error no app in context
Exception HMAC does not match.
Could not decrypt or decode encrypted session data
The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):
IN AIO docker, Ask if needed....
The output of your Apache/nginx/system log in /var/log/____:
IN AIO docker, Ask if needed....
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.
Not doing anything special with encryption on my AIO install.
Basically the sync ultimately works (given time), but in the moment I take a photo and it syncs from the mobile app to the server it tries to sync on the PC but generates the “could not be located” error for at least 30 min EVEN though it’s on the server (and I can get it on the web interface).
This issue has been happening for a while (version after version).
Following up on this.
While I wait for Nextcloud to get over this and sync to desktop I tried to just download direct from the web browser - this didn’t work either.
Basically I can see the photos have uploaded (and see them!) but when I click download it doesn’t work, and when I select a bunch and download (creates a zip file) - the zip file is EMPTY!!
no app in context
Exception dirty table reads: SELECT `filecache`.`fileid`, `storage`, `path`, `path_hash`, `filecache`.`parent`, `filecache`.`name`, `mimetype`, `mimepart`, `size`, `mtime`, `storage_mtime`, `encrypted`, `etag`, `filecache`.`permissions`, `checksum`, `unencrypted_size`, `metadata_etag`, `creation_time`, `upload_time`, `meta`.`json` AS `meta_json`, `meta`.`sync_token` AS `meta_sync_token` FROM `*PREFIX*filecache` `filecache` LEFT JOIN `*PREFIX*filecache_extended` `fe` ON `filecache`.`fileid` = `fe`.`fileid` LEFT JOIN `*PREFIX*files_metadata` `meta` ON `filecache`.`fileid` = `meta`.`file_id` WHERE `filecache`.`parent` = :dcValue1 ORDER BY `name` ASC
no app in context
Exception dirty table reads: SELECT `path` FROM `*PREFIX*filecache` WHERE (`storage` = :dcValue1) AND (`fileid` = :dcValue2)