Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Failed to upload some files #63

Open
njakes opened this issue Feb 20, 2023 · 2 comments
Open

Failed to upload some files #63

njakes opened this issue Feb 20, 2023 · 2 comments

Comments

@njakes
Copy link

njakes commented Feb 20, 2023

Hey I have searched through the issues and haven't found anything regarding the issue I am having. I am using CLI to upload my pictures folder by folder after standing up a new container. Some pictures fail continually but are not corrupted when checking them locally. This is the output:

{
file: '/import/2019/Elias_birth/20190919_091331.jpg',
reason: Error: getaddrinfo EAI_AGAIN my.domain.com
    at GetAdrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26) {
  errno: -3001,
  code: 'EAI_AGAIN',
  syscall: 'getaddrinfo',
  hostname: 'my.domain.com',
  config: [Object],
  request: [ClientRequest],
  response: undefined,
  isAxioError: true,
  toJSON: [Function: toJSON]
  },
  response: undefined
}

To clarify, at the time of writing this bug report I was in a tmux session and couldnt for the life of me figure out how to copy text so I rewrote it for the issue.
This has happened to me in the past as well on a previous install. The first time I installed was using the recommended install, this time I am using Immich AIO.
For example, I will try to upload a specific folder like 2019/Elias_birth and it discovered 967 assets to upload and 4 failed. If I try to run it again it will try to reimport all 967 again with the same 4 failing. I can confirm that the remaining 963 did indeed upload even though it is trying to upload them again.

Please let me know if there is anything more I can do to help. This is happening across many folders in my backlog of 15 years of photos.

*Edit
I was initially running the command in the parent folder of 2019. I tried running it again with explicitly 2019/foldername and it completed without errors. I am trying to run it again with just the parent folder of 2019 to see if it throws errors again, will update when done.
Does the docker cli command run recursively inside a directory and sub directories? It will fail if I try to pass something like 2019/

@samip5
Copy link
Contributor

samip5 commented Feb 21, 2023

That error you got aka getaddrinfo seems to indicate an issue with DNS.

@njakes
Copy link
Author

njakes commented Feb 22, 2023

Do you think that it is just momentarily losing connection while uploading those specific files? It is always the same ones if I try to upload again. It seems that if it was a network issue then it would be different files at some point. Thank you for the response.

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

No branches or pull requests

2 participants