gphotos to immich help needed
I have posted my issue to https://github.com/immich-app/immich/discussions/1340#discussioncomment-6585579 but thought I’d add here in case others may also be in the same boat I am.
In short, I followed the instructions from https://github.com/lukehmcc/simple-gphotos-immich-migration and am getting the below error.
‘2023-07-30 03:49:06 Restructured 36 folders
2023-07-30 03:49:07 Restructured 48 folders
2023-07-30 03:49:07 Processing album /mnt/Google Photos/Albums/Lisa_s BD - 2012/...
2023-07-30 03:49:08 yarn run v1.22.19
2023-07-30 03:49:08 error Couldn't find a package.json file in "/app"
2023-07-30 03:49:08 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2023-07-30 03:49:08 Traceback (most recent call last):
2023-07-30 03:49:08 File "/app/fix_metadata.py", line 125, in
2023-07-30 03:49:08 main(args.rootdir)
2023-07-30 03:49:08 File "/app/fix_metadata.py", line 118, in main
2023-07-30 03:49:08 process_albums(rootdir)
2023-07-30 03:49:08 File "/app/fix_metadata.py", line 61, in process_albums
2023-07-30 03:49:08 run_garzj_google_photos_migrate(albumdir, outdir, errdir)
2023-07-30 03:49:08 File "/app/fix_metadata.py", line 25, in run_garzj_google_photos_migrate
2023-07-30 03:49:08 sh(
2023-07-30 03:49:08 File "/app/fix_metadata.py", line 14, in sh
2023-07-30 03:49:08 p.check_returncode()
2023-07-30 03:49:08 File "/usr/local/lib/python3.11/subprocess.py", line 502, in check_returncode
2023-07-30 03:49:08 raise CalledProcessError(self.returncode, self.args, self.stdout,
2023-07-30 03:49:08 subprocess.CalledProcessError: Command '['yarn', 'start', '--inputDir', '/mnt/Google Photos/Albums/Lisa_s BD - 2012/', '--outputDir', '/mnt/Google Photos/AlbumsProcessed/Lisa_s BD - 2012', '--errorDir', '/mnt/Google Photos/AlbumsError/Lisa_s BD - 2012']' returned non-zero exit status 1. ‘
Any ideas on how to fix? Thanks in advance.
In short, I followed the instructions from https://github.com/lukehmcc/simple-gphotos-immich-migration and am getting the below error.
‘2023-07-30 03:49:06 Restructured 36 folders
2023-07-30 03:49:07 Restructured 48 folders
2023-07-30 03:49:07 Processing album /mnt/Google Photos/Albums/Lisa_s BD - 2012/...
2023-07-30 03:49:08 yarn run v1.22.19
2023-07-30 03:49:08 error Couldn't find a package.json file in "/app"
2023-07-30 03:49:08 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2023-07-30 03:49:08 Traceback (most recent call last):
2023-07-30 03:49:08 File "/app/fix_metadata.py", line 125, in
2023-07-30 03:49:08 main(args.rootdir)
2023-07-30 03:49:08 File "/app/fix_metadata.py", line 118, in main
2023-07-30 03:49:08 process_albums(rootdir)
2023-07-30 03:49:08 File "/app/fix_metadata.py", line 61, in process_albums
2023-07-30 03:49:08 run_garzj_google_photos_migrate(albumdir, outdir, errdir)
2023-07-30 03:49:08 File "/app/fix_metadata.py", line 25, in run_garzj_google_photos_migrate
2023-07-30 03:49:08 sh(
2023-07-30 03:49:08 File "/app/fix_metadata.py", line 14, in sh
2023-07-30 03:49:08 p.check_returncode()
2023-07-30 03:49:08 File "/usr/local/lib/python3.11/subprocess.py", line 502, in check_returncode
2023-07-30 03:49:08 raise CalledProcessError(self.returncode, self.args, self.stdout,
2023-07-30 03:49:08 subprocess.CalledProcessError: Command '['yarn', 'start', '--inputDir', '/mnt/Google Photos/Albums/Lisa_s BD - 2012/', '--outputDir', '/mnt/Google Photos/AlbumsProcessed/Lisa_s BD - 2012', '--errorDir', '/mnt/Google Photos/AlbumsError/Lisa_s BD - 2012']' returned non-zero exit status 1. ‘
Any ideas on how to fix? Thanks in advance.