I
Immich•2y ago
rypudding

Error logging you in, check server URL, email, and password

I was logged in with my phone about 30 mins ago. I then started a mass upload through the cli which is progress atm. Now I can't log in through the mobile app and it says Error logging you in, check server URL, email, and password is this because of the cli upload in progress? I'm having the same issue on my partner's phone who was logged in fine before the upload cli started.
15 Replies
Alex Tran
Alex Tran•2y ago
No it should not be, please check the server log to see if any abnormal happen please also try the web as well
rypudding
rypuddingOP•2y ago
ooh okay web is not working, internal server error (500 -internal server error) Checked the logs for immich_server and I'm getting loads of these errors
[Nest] 1 - 06/10/2023, 7:59:08 PM ERROR [ExceptionsHandler] Connection terminated due to connection timeout
Error: Connection terminated due to connection timeout
at Connection.<anonymous> (/usr/src/app/node_modules/pg/lib/client.js:132:73)
at Object.onceWrapper (node:events:627:28)
at Connection.emit (node:events:513:28)
at Socket.<anonymous> (/usr/src/app/node_modules/pg/lib/connection.js:62:12)
at Socket.emit (node:events:513:28)
at TCP.<anonymous> (node:net:322:12)
[Nest] 1 - 06/10/2023, 7:59:08 PM ERROR [ExceptionsHandler] Connection terminated due to connection timeout
Error: Connection terminated due to connection timeout
at Connection.<anonymous> (/usr/src/app/node_modules/pg/lib/client.js:132:73)
at Object.onceWrapper (node:events:627:28)
at Connection.emit (node:events:513:28)
at Socket.<anonymous> (/usr/src/app/node_modules/pg/lib/connection.js:62:12)
at Socket.emit (node:events:513:28)
at TCP.<anonymous> (node:net:322:12)
but my cli upload is still in progress :/
Alex Tran
Alex Tran•2y ago
What is the resource do you allocate for your Immich instance? CPU and RAM?
rypudding
rypuddingOP•2y ago
I followed the docs for the docker compose instructions and left everything as default, so I'm not sure how I can check how much is allocated. In docker desktop I can see it says it's using 15.78GB of ram and cpu is 0.07%
rypudding
rypuddingOP•2y ago
but that's most likely not what you're asking 😂
No description
Alex Tran
Alex Tran•2y ago
I think the server might have crashed that is why none of the web or mobile client is working You will need to restart your stack are you using Docker Desktop on Windows?
rypudding
rypuddingOP•2y ago
yeah I am, it says the status of all the immich containers are running
Alex Tran
Alex Tran•2y ago
yeah but the fact that it is using non of the CPU means it crashes
rypudding
rypuddingOP•2y ago
gotcha
Alex Tran
Alex Tran•2y ago
Docker on Windows is weird though I've heard reported issues with it so I suggest mind as well setup a Linux server to run Immich
rypudding
rypuddingOP•2y ago
dumb question, would that need to be on a separate computer or something like a raspberry pi with a hdd hooked up to it?
Alex Tran
Alex Tran•2y ago
So you are new to self-hosting, let me find some good resource you can read on but basically for services like this you should have a dedicated server that is on 24/7/365 a server can be your old gaming gig and with a bunch of HDD
rypudding
rypuddingOP•2y ago
Yeah I'm very new, just trying to read up as much as I can, but still have a lot to learn/understand ahhh okay I do have an old computer so I'll look into setting up a linux server on that in the meanwhile, to restart my stack would it be docker compose restart or do i need to run docker compose up
Alex Tran
Alex Tran•2y ago
down and up would ensure a clean restart
rypudding
rypuddingOP•2y ago
Yeah seems like the immich upload is causing the server to crash on docker windows, so i'll definitelly have to setup a linux server, seems too unreliable on windows. Also when using docker-compose down it isn't able teardown the microservices or server :/
docker-compose down
[+] Running 5/5
✔ Container immich_proxy Removed 6.5s
✔ Container immich_machine_learning Removed 1.1s
✔ Container immich_web Removed 10.4s
✘ Container immich_microservices Error while Stopping 22.0s
✘ Container immich_server Error while Stopping 22.0s
docker-compose down
[+] Running 5/5
✔ Container immich_proxy Removed 6.5s
✔ Container immich_machine_learning Removed 1.1s
✔ Container immich_web Removed 10.4s
✘ Container immich_microservices Error while Stopping 22.0s
✘ Container immich_server Error while Stopping 22.0s

Did you find this page helpful?