madkatz
madkatz
IImmich
Created by Thinkharder on 10/20/2023 in #help-desk-support
Internal server error on search
🫣 sorry my bad, stupid for me not looking at those logs. All fixed based on the above. Thanks! (time for me to increase my monthly donation to you!)
18 replies
IImmich
Created by Thinkharder on 10/20/2023 in #help-desk-support
Internal server error on search
@Alex thanks for the reply - but seems like I have the same error for a different reason? Here is my server log after I try to search and get the "500 - Internal Server Error". Used to work in past Immich versions and I haven't made any setting changes:
[Nest] 6 - 10/28/2023, 4:55:02 PM ERROR [ExceptionsHandler] fetch failed

TypeError: fetch failed

at Object.fetch (node:internal/deps/undici/undici:11372:11)

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

at async MachineLearningRepository.post (/usr/src/app/dist/infra/repositories/machine-learning.repository.js:27:21)

at async SearchService.search (/usr/src/app/dist/domain/search/search.service.js:110:35)

at async /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:46:28

at async /usr/src/app/node_modules/@nestjs/core/router/router-proxy.js:9:17
[Nest] 6 - 10/28/2023, 4:55:02 PM ERROR [ExceptionsHandler] fetch failed

TypeError: fetch failed

at Object.fetch (node:internal/deps/undici/undici:11372:11)

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

at async MachineLearningRepository.post (/usr/src/app/dist/infra/repositories/machine-learning.repository.js:27:21)

at async SearchService.search (/usr/src/app/dist/domain/search/search.service.js:110:35)

at async /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:46:28

at async /usr/src/app/node_modules/@nestjs/core/router/router-proxy.js:9:17
18 replies
IImmich
Created by Thinkharder on 10/20/2023 in #help-desk-support
Internal server error on search
any fix to this? Having the same problem
18 replies
IImmich
Created by madkatz on 9/16/2023 in #help-desk-support
Immich_db_dumper issue
I figured it out after tons of searching. You asked the right question. My filesystem is btrfs, which supports the hardlinking so that's why I was so confused. But I had the backup being written to a mounted NAS drive over CIFS (which does not support POSIX). I ultimately decided to create the db dumps locally and then rsync them over to the NAS mount. I prefer this over NFS as I have had poor experience with NFS mounting (speed, security) vs. using CIFS.
3 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
correct!
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
Your troubleshooting helped me identify the root issue - noticing that there were different certs. I traced the certs back and that's how I found out about the Cloudflare proxy one vs. my NPM one
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
Once I reconfigured NPM's cert to be a true wildcard, everything works now. There are still two different certs depending on external vs internal connection, but both are now valid.
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
So when you use Cloudflare for your DNS provider and use their DNS proxy, they use their own SSL cert. That was the external one that was working. When I use the DNS Rewrite, since it was bypassing Cloudflare it was using the SSL cert by NPM. I never realized that I was using Cloudflare's the whole time through their DNS proxy. My NPM SSL cert was not configured properly (only for my domain, not *.domain), so it wasn't a true wildcard cert. I never noticed though since it appeared to be working externally although that was never my cert - was always Cloudflare's.
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
just wanted to let you know, since you helped so much last night
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
@jrasm91 figured it out!
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
thanks! goodnight!
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
kk will try
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
anyways - you've given more than enough time to troubleshooting this. I REALLY appreciate the effort and I learned a few things along the way. Ill keep workign on it slowly as I have time, but for now Ill just have to deal with DNS rewrite off and slow Immich uploads
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
oh that's just the IP of the Immich proxy Docker
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
same IP listed regardless of DNS rewrite, so weird
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
[Nest] 1 - 01/20/2023, 6:43:25 AM WARN [AuthService] Failed login attempt for user [email protected] from ip address ::ffff:172.21.0.8
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
oh i see it
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
yeah
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
In Docker for the server container I see websocket connections, but no IPs listed
172 replies
IImmich
Created by madkatz on 1/20/2023 in #help-desk-support
DNS Rewrite Help
where can I see the server logs?
172 replies