Skip to content
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

Photo Scan stops after 10.508 Photos #161

Closed
ghost opened this issue Sep 15, 2019 · 9 comments
Closed

Photo Scan stops after 10.508 Photos #161

ghost opened this issue Sep 15, 2019 · 9 comments

Comments

@ghost
Copy link

ghost commented Sep 15, 2019

An unhandled exception has been thrown: Error: Call to a member function getValue() on null in /apps/maps/lib/Service/PhotofilesService.php:486 Stack trace: #0 /apps/maps/lib/Service/PhotofilesService.php(391): OCA\Maps\Service\PhotofilesService->getExifPelBackup(Object(OC\Files\Node\File)) #1 /apps/maps/lib/Service/PhotofilesService.php(270): OCA\Maps\Service\PhotofilesService->getExif(Object(OC\Files\Node\File)) #2 /apps/maps/lib/Service/PhotofilesService.php(65): OCA\Maps\Service\PhotofilesService->addPhoto(Object(OC\Files\Node\File), 'Richard') #3 /apps/maps/lib/Command/RescanPhotos.php(80): OCA\Maps\Service\PhotofilesService->rescan('Richard') #4 /apps/maps/lib/Command/RescanPhotos.php(66): OCA\Maps\Command\RescanPhotos->rescanUserPhotos('Richard') #5 /lib/private/User/Manager.php(538): OCA\Maps\Command\RescanPhotos->OCA\Maps\Command\{closure}(Object(OC\User\User)) #6 /apps/maps/lib/Command/RescanPhotos.php(67): OC\User\Manager->callForSeenUsers(Object(Closure)) #7 /3rdparty/symfony/console/Command/Command.php(255): OCA\Maps\Command\RescanPhotos->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #8 /3rdparty/symfony/console/Application.php(901): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #9 /3rdparty/symfony/console/Application.php(262): Symfony\Component\Console\Application->doRunCommand(Object(OCA\Maps\Command\RescanPhotos), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /3rdparty/symfony/console/Application.php(145): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /console.php(97): OC\Console\Application->run() #13 /occ(11): require_once('/home/users/zse...')

@ghost ghost changed the title Photo Scan stops after 10.000 Photos Photo Scan stops after 10.508 Photos Sep 25, 2019
@gucu
Copy link

gucu commented Oct 25, 2019

How long did it take to scan that many photos please? I have had mine running for several weeks now and it is on 64 photos and 12 contacts! Thanks

@ghost
Copy link

ghost commented Nov 5, 2019

@Copiis I had the same issue after 18050 pictures. In my case it was always the same file. The only difference to the picture before and after was the text in "image description" (Exif-Tag). Maybe this information will help you.

@jancborchardt
Copy link
Member

Could you test if this is fixed for you with the latest release 0.1.4? Thanks! :)

cc @nextcloud/maps

@gucu
Copy link

gucu commented Jan 18, 2020

I have just tried to update the app and I am getting an error on the update. It says:
An error occured during the request. Unable to proceed.
Couldn't update app.
In the logs it says:

Error | core | Exception: Could not extract app maps

Thanks
Rich

@gucu
Copy link

gucu commented Jan 20, 2020

Has anybody else had problems installing? I would love to get it loaded so I can see if it is working. Thanks

@tacruc
Copy link
Collaborator

tacruc commented Jan 20, 2020

Has anybody else had problems installing? I would love to get it loaded so I can see if it is working. Thanks

Everybody has, just take a look at the issue tracker (#240). I do not know a single instance where it worked.
There exists a workaround:
There is a workarround #240 (comment)
We're working on a fix. Not shure how long it will take.

@gucu
Copy link

gucu commented Jan 20, 2020

Thanks - I'll wait for the fix as I am on a hosted server.

@gucu
Copy link

gucu commented Feb 1, 2020

App still has some issues. With the new version it started scanning and added 1 contact so it displays 13 (I have a lot more), with photos however it seem to be scanning fine but stopped scanning and took all photos that had been scanned and now shows none. It shows gps routes fine.
Error log says this:
[PHP] Error: Undefined property: OCA\Maps\BackgroundJob\UpdatePhotoByFileJob::$root at /home/gqatawtz/public_html/apps/maps/lib/BackgroundJob/UpdatePhotoByFileJob.php#43

GET /cron.php
from 92.13.173.86 at 2020-02-01T07:42:54+00:00

Thanks

@tacruc
Copy link
Collaborator

tacruc commented Jun 16, 2022

There are some improvments in Metadata extraction in v0.2.0
Could you check if v0.2.0-1-nightly solves the Issue.
It can be installed by
occ app:install maps --allow-unstable
or updated
occ app:update maps --allow-unstable

@tacruc tacruc closed this as completed Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants