Open hindsholm opened 7 months ago
This is a bug in Nextcloud, not Memories
If you want a temporary workaround, you can chagne line 280 of MigrateGoogleTakeout.php
to catch \Throwable
instead of \Exception
. It will still show some errors but continue to the next file.
This is a bug in Nextcloud, not Memories
Do you have a reference to the bug in Nextcloud?
No I've no idea. But looking at the trace it seems to be in a hook in the files versions app.
Describe the bug
I have made a Google takeout and placed the photos and .json files on a drive which is mounted as "external storage" at
/MntPhotos
in Nextcloud. All photos have been scanned and are visible in the Memories app. Now I want to use the metadata in the Google .json files, so I run:sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ memories:migrate-google-takeout --override --user=morten --folder=/MntPhotos/Bratten
The command starts scanning but fails on the first file with an unhandled exception.
I have tried different combinations of the
--user
and--folder
options, but I get the same error.To Reproduce I don't know what to say here, but the bug is easily reproducable on my setup. The command fails consistently.
Screenshots Output:
Contents of
Bratten/IMG_6663.JPG.json
:Platform:
Additional context Please let me know if I should run some further tests.