Describe the bug
The command occ files:scan --all --generate-metadata generated logs of warnings.
# occ files:scan --all --generate-metadata
Starting scan for user 1 out of 3 (janus)
PHP Deprecated: fgetcsv(): the $escape parameter must be provided as its default value will change in /config/www/nextcloud/apps/photos/lib/Service/ReverseGeoCoderService.php on line 124
PHP Deprecated: fgetcsv(): the $escape parameter must be provided as its default value will change in /config/www/nextcloud/apps/photos/lib/Service/ReverseGeoCoderService.php on line 124
PHP Deprecated: fgetcsv(): the $escape parameter must be provided as its default value will change in /config/www/nextcloud/apps/photos/lib/Service/ReverseGeoCoderService.php on line 124
PHP Deprecated: fgetcsv(): the $escape parameter must be provided as its default value will change in /config/www/nextcloud/apps/photos/lib/Service/ReverseGeoCoderService.php on line 124
PHP Deprecated: fgetcsv(): the $escape parameter must be provided as its default value will change in /config/www/nextcloud/apps/photos/lib/Service/ReverseGeoCoderService.php on line 124
... after thousands of lines
PHP Deprecated: fgetcsv(): the $escape parameter must be provided as its default value will change in /config/www/nextcloud/apps/photos/lib/Service/ReverseGeoCoderService.php on line 124
PHP Deprecated: fgetcsv(): the $escape parameter must be provided as its default value will change in /config/www/nextcloud/apps/photos/lib/Service/ReverseGeoCoderService.php on line 124
Error during scan: exif_read_data(): File not supported
Error during scan: exif_read_data(): File not supported
Error during scan: exif_read_data(): File not supported
... The process is still running.
To Reproduce
Steps to reproduce the behavior:
docker exec -it nextcloud bash
occ files:scan --all --generate-metadata
Expected behavior
No PHP warnings.
Screenshots
If applicable, add screenshots to help explain your problem.
Not applicable.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Not applicable.
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Not applicable.
Browser log
Open your console, reload your page and/or do the action leading to this issue and copy/paste the log in this thread.
Not appliable.
Additional context
Photos version: v5.0.0-dev.1
Nextcloud version: Nextcloud Hub 25 Autumn (32.0.3)
OS: Alpine Linux v3.22
PHP version: 8.4.16
Describe the bug
The command
occ files:scan --all --generate-metadatagenerated logs of warnings.To Reproduce
Steps to reproduce the behavior:
docker exec -it nextcloud bashocc files:scan --all --generate-metadataExpected behavior
No PHP warnings.
Screenshots
If applicable, add screenshots to help explain your problem.
Not applicable.
Desktop (please complete the following information):
Not applicable.
Smartphone (please complete the following information):
Not applicable.
Browser log
Not appliable.
Additional context
Photos version:
v5.0.0-dev.1Nextcloud version:
Nextcloud Hub 25 Autumn (32.0.3)OS:
Alpine Linux v3.22PHP version:
8.4.16