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

v0.23.0-RC7 ERR upload error | error=open /root/.cache/immich-go/temp/immich-go_2565174507: no such file or directory #625

Closed
AidanGee7 opened this issue Jan 12, 2025 · 6 comments

Comments

@AidanGee7
Copy link

AidanGee7 commented Jan 12, 2025

OS: Ubuntu 24.04.1
Version: immich-go v0.23.0-RC7
Command: ./immich-go upload from-google-photos -s http://REDACTED -k REDACTED Takeout/takeout-*.zip

Immich details:
Version: v1.124.2

Just tried out RC7 however it seems to have crashed and not resumed after the following error:

2025-01-12 16:31:24 INF Tagged file=takeout-20241212T173647Z-003:Takeout/Google Photos/Archive/IMG_0003.MP4 tags=[takeout-20241212T173647Z]
2025-01-12 16:31:24 INF server has same asset file=takeout-20241212T173647Z-003:Takeout/Google Photos/Archive/IMG_0003.HEIC reason=An asset with the same name:"IMG_0003.HEIC", date:"2023-09-22 15:08:28" and size:794.7 KB exists on the server. No n>
2025-01-12 16:31:24 INF Tagged file=takeout-20241212T173647Z-003:Takeout/Google Photos/Archive/IMG_0003.HEIC tags=[takeout-20241212T173647Z]
2025-01-12 16:31:24 ERR upload error file=takeout-20241212T173647Z-003:Takeout/Google Photos/Archive/IMG_0003.MP4 error=open /root/.cache/immich-go/temp/immich-go_4245461572: no such file or directory
2025-01-12 16:31:24 INF server has same asset file=takeout-20241212T173647Z-003:Takeout/Google Photos/Archive/IMG_0003.HEIC reason=An asset with the same name:"IMG_0003.HEIC", date:"2023-09-22 15:08:28" and size:794.7 KB exists on the server. No n>
2025-01-12 16:31:24 INF Tagged file=takeout-20241212T173647Z-003:Takeout/Google Photos/Archive/IMG_0003.HEIC tags=[takeout-20241212T173647Z]
2025-01-12 16:31:24 INF server has same asset file=takeout-20241212T173647Z-008:Takeout/Google Photos/Archive/IMG_0004(1).JPG reason=An asset with the same name:"IMG_0004.JPG", date:"2015-10-20 12:40:37" and size:363.2 KB exists on the server. No >
2025-01-12 16:31:24 INF Tagged file=takeout-20241212T173647Z-008:Takeout/Google Photos/Archive/IMG_0004(1).JPG tags=[takeout-20241212T173647Z]
2025-01-12 16:31:24 INF server has same asset file=takeout-20241212T173647Z-008:Takeout/Google Photos/Archive/IMG_0004.JPG reason=An asset with the same name:"IMG_0004.JPG", date:"2016-05-25 22:06:55" and size:158.1 KB exists on the server. No nee>
2025-01-12 16:31:24 INF Tagged file=takeout-20241212T173647Z-008:Takeout/Google Photos/Archive/IMG_0004.JPG tags=[takeout-20241212T173647Z]
2025-01-12 16:31:24 INF server has same asset file=takeout-20241212T173647Z-006:Takeout/Google Photos/Archive/IMG_0004.PNG reason=An asset with the same name:"IMG_0004.PNG", date:"2021-10-01 18:11:19" and size:3.3 MB exists on the server. No need >
2025-01-12 16:31:24 INF Tagged file=takeout-20241212T173647Z-006:Takeout/Google Photos/Archive/IMG_0004.PNG tags=[takeout-20241212T173647Z]
2025-01-12 16:31:24 INF server has same asset file=takeout-20241212T173647Z-004:Takeout/Google Photos/Archive/IMG_0004(1).HEIC reason=An asset with the same name:"IMG_0004.HEIC", date:"2022-12-10 13:29:31" and size:1.8 MB exists on the server. No >
2025-01-12 16:31:24 INF Tagged file=takeout-20241212T173647Z-004:Takeout/Google Photos/Archive/IMG_0004(1).HEIC tags=[takeout-20241212T173647Z]
2025-01-12 16:31:24 INF server has same asset file=takeout-20241212T173647Z-003:Takeout/Google Photos/Archive/IMG_0004.HEIC reason=An asset with the same name:"IMG_0004.HEIC", date:"2023-09-22 15:09:07" and size:1.1 MB exists on the server. No nee>
2025-01-12 16:31:24 INF Tagged file=takeout-20241212T173647Z-003:Takeout/Google Photos/Archive/IMG_0004.HEIC tags=[takeout-20241212T173647Z]
2025-01-12 16:31:24 INF server has same asset file=takeout-20241212T173647Z-003:Takeout/Google Photos/Archive/IMG_0004.MP4 reason=the server has this file
2025-01-12 16:31:24 INF Tagged file=takeout-20241212T173647Z-003:Takeout/Google Photos/Archive/IMG_0004.MP4 tags=[takeout-20241212T173647Z]
2025-01-12 16:31:24 INF server has same asset file=takeout-20241212T173647Z-003:Takeout/Google Photos/Archive/IMG_0004.HEIC reason=An asset with the same name:"IMG_0004.HEIC", date:"2023-09-22 15:09:07" and size:1.1 MB exists on the server. No nee>
2025-01-12 16:31:24 INF Tagged file=takeout-20241212T173647Z-003:Takeout/Google Photos/Archive/IMG_0004.HEIC tags=[takeout-20241212T173647Z]
2025-01-12 16:31:24 ERR upload error file=takeout-20241212T173647Z-003:Takeout/Google Photos/Archive/IMG_0004.MP4 error=open /root/.cache/immich-go/temp/immich-go_2565174507: no such file or directory

The process got A LOT further than it did before in RC6 (It used to stop after around 2,000 files but got to 21,000+ this time).

025-01-12 16:35:05 INF Input analysis:
2025-01-12 16:35:05 INF ---------------
2025-01-12 16:35:05 INF scanned image file                      :   86592
2025-01-12 16:35:05 INF scanned video file                      :    8449
2025-01-12 16:35:05 INF scanned sidecar file                    :   94235
2025-01-12 16:35:05 INF discarded file                          :      33
2025-01-12 16:35:05 INF unsupported file                        :      22
2025-01-12 16:35:05 INF file duplicated in the input            :     105
2025-01-12 16:35:05 INF associated metadata file                :   94879
2025-01-12 16:35:05 INF missing associated metadata file        :     155
2025-01-12 16:35:05 INF
2025-01-12 16:35:05 INF Uploading:
2025-01-12 16:35:05 INF ----------
2025-01-12 16:35:05 INF uploaded                                :       6
2025-01-12 16:35:05 INF upload error                            :       3
2025-01-12 16:35:05 INF file not selected                       :       0
2025-01-12 16:35:05 INF server's asset upgraded with the input  :       7
2025-01-12 16:35:05 INF server has same asset                   :   21880
2025-01-12 16:35:05 INF server has a better asset               :     603

Let me know if you need any more details!

@simulot
Copy link
Owner

simulot commented Jan 12, 2025

It's a duplicate of #608

@simulot
Copy link
Owner

simulot commented Jan 12, 2025

would you like to test if the fix I'm just done is correct?

@simulot simulot closed this as completed Jan 12, 2025
@AidanGee7
Copy link
Author

would you like to test if the fix I'm just done is correct?

Yes sure! Happy to test anything :)

@simulot
Copy link
Owner

simulot commented Jan 12, 2025

Reach me on my discord @simulot

@simulot
Copy link
Owner

simulot commented Jan 13, 2025

Thank you for your tests

@devGIT07
Copy link

Is this been fixed, which version to try for the fix ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants