-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Photo from external folder are scanned but not displayed #1332
Comments
I have the same issue. In my case, all photos are on external storage. Some get scanned and added to the database while others don't. It would be useful to be able to log the scanning and background adding process somehow. I suspect that there is an erroneous file that causes the whole scanning/adding process to terminate. Repeating does not help. I was able to import almost all of my images in the past though. |
It's the same like issue #1304 |
duplicate of #1304 |
When will this simple issue be fixed? |
For me this is the case with internal storage as well. All stored on internal storage, now none of the photos are showing up on the map. |
Put a hidden file with the name .index.maps in de folder and it's working. See: https://github.com/nextcloud/maps "Existing photo albums can be viewed on the map by placing a ".index.maps" file into it." |
I will check, but previously it worked without this. Also when I run |
#It looks like the problem is filecache related: Refer my branch here and replace GeophotoService.php for a preliminary solution. The maps-photocache needs to be cleared in order to re-trigger a scan. |
Bug description
Hi,
if i scan all my photos with
occ maps:scan-photos --now
, I have a lot of photos scanned from my internal folder but also from my external folder (visible in oc_maps_photos). It's OK. But on the map only are displayed internal folder.Steps to reproduce
occ maps:scan-photos --now
Expected behavior
Display photos from external and internal folder.
Installation method
Manual installation
Operating system
Debian/Ubuntu
PHP engine version
Other
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install of the server?
None
Is this bug present after an update or on a fresh install of the app?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Browser Console
No response
Additional info
I have debug the code.
Here: I have all my photos.
7Here: All photo from external storage are skiped, but files existe in my oc_filecache table
Reason seems that
$cache = $folder->getStorage()->getCache()
is limited to /user/files and not /user/files_external.The text was updated successfully, but these errors were encountered: