Error Code 408, 504, and socket hangup
I just installed this for the first time. Trying to import my images from Unraid. It's taken all day. Like 8+ hours to get through ~35k/39k photos and videos. I'm now getting a bunch of errors for mp4 videos and the upload seems to have stopped. Should I just run the cli command again or do I need to change something to keep it from failing?
Upload Progress | ████████████████████████████████████░░░░ | 90% 35735/39616 Current file [/import/upload/a7fa763c-0725-403d-b035-d7532ed4b]
Failed to upload 31 files [
{
file: '/import/library/a7fa763c-0725-403d-b035-d7532ed4b609/2018/08/2018-08-11 16-13-48 2057.mp4',
reason: Error: Request failed with status code 408
at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:322:11)
at IncomingMessage.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
config: [Object],
request: [ClientRequest],
response: [Object],
isAxiosError: true,
toJSON: [Function: toJSON]
},
response: ''
},

6 Replies

Please try the cli again, your server cpu might have maxed out at some point therefore the timeout kick in
It's now seeing 117k images and wants to upload 70k assets. I think I may just delete everything and start over. It might be picking up the ones that already got moved over?
Are you upload from the same location where you upload to? 😅
That was the issue. I got everything working now. About how long do you think running all the jobs will take for 33k photos and 1200 videos? It seems to be going pretty slow, but I think it might just be my Ryzen 2600 chugging along?
Images are fast the video encoding would take longer
We hope to implement hardware encoding soon though so you can use your gpu