I just upgraded to 1.8.4 and now cannot connect on localhost:2283

Hi, I'm new to Immich and pretty new to Docker. I'm running on Windows 10 Pro and after updating to 1.8.4 from 1.8.3, everything seems to start and remain started, but I cannot connect to the website. I'm trying to load an old iPhoto library in as an external library. It has mostly been working well. I tried scanning all 60k photos at once which did not work without frequent crashing so I have been adding one year at a time. I'm also new to discord so forgive me if I do something dumb (or several things).
47 Replies
everythingisstars
Here's my docker-compose.yml
bo0tzz
bo0tzz2y ago
What error do you get? Can you make sure all the containers are running, and check their logs?
everythingisstars
yes. i just did a docker-compose up without the -d so i should have all of it. one sec. thanks!
everythingisstars
here are the logs.
everythingisstars
containers seem to be running.
No description
everythingisstars
this is what i see when i try to connect now.
No description
bo0tzz
bo0tzz2y ago
I think your typesense container is having a bad time, but I don't see any messages from it specifically in the logs Can you grab the logs for just typesense?
everythingisstars
sure!
everythingisstars
typesense logs
bo0tzz
bo0tzz2y ago
https://github.com/immich-app/immich/issues/4714 and https://github.com/immich-app/immich/issues/4780 seem potentially related, but I'm not quite sure what's going on. @Alex @jrasm91 thoughts?
jrasm91
jrasm912y ago
Nope. Possibly related to the embedding auto-reindexing that I think @sogan added?
everythingisstars
Idk if this is helpful, but to be a little more clear. I suspect that various processes "found" all 60k images when I first connected my external library, but when things started crashing. I pulled out most of those (coming out of iPhoto they are in folders by year) and reran things with just one or two years. Then, I would add a year or two at a time back when it finished processing things. Everything did seem to be working fine like that. I have tagged hundreds of faces, etc.
Alex Tran
Alex Tran2y ago
What is that? #4700?
Immich
Immich2y ago
[PR] feat(ml): export clip models to ONNX and host models on Hugging Face (#4700)
everythingisstars
Is this the kind of thing that I would be better off starting over and just adding my photo folders one at a time from the start instead of everything all at once? I haven't really invested THAT much time at this point.
everythingisstars
Is this helpful at all? It's a list of my images right now.
Alex Tran
Alex Tran2y ago
I am not sure yet, I am trying to identify where the issue is Can you bring down the containers, then remove the typesense volume and bring the stack back up again?
everythingisstars
ok, thanks! i'm VERY new to docker. what is the command for removing the typesense volume? i don't want to goof it up. or is that the same as deleting the image? EDIT: i see now it's not the same, but in my list of volumes, it's not obvious to me which is the typesense volume.
everythingisstars
these are my volumes.
Alex Tran
Alex Tran2y ago
It would be immich-app_tsdata so docker volume rm immich-app_tsdata
everythingisstars
thanks! i wil give it a shot.
everythingisstars
no luck. here's the log.
Alex Tran
Alex Tran2y ago
It is indexing wait a bit
Alex Tran
Alex Tran2y ago
No description
everythingisstars
here's an update. does it typically not start serving up web pages until this finishes? will there be a very obvious log entry that it's done?
jrasm91
jrasm912y ago
The server will say listening in port 3001 or something and that doesn't happen until typesense is up and the webpage doesn't work until the server is up
Alex Tran
Alex Tran2y ago
No description
Alex Tran
Alex Tran2y ago
looks like it is done
everythingisstars
okay. well, i will just leave it alone for tonight. i just searched the logs for 3001 and there were no relevant entries. thanks.
Alex Tran
Alex Tran2y ago
what does the web say when you accessing it?
sdotg
sdotg2y ago
Removing the typesense volume (and upgrading from 0.24.1 to 0.25.1) fixed this for me
GoodGuyMe
GoodGuyMe2y ago
I had to disable Reverse Geocoding for it to work. It did work before on version 1.82.1, after upgrading to 1.84.0 it runs into some memory leak
everythingisstars
Right now it says this.. This page isn’t working localhost didn’t send any data. ERR_EMPTY_RESPONSE The network tab under F12 in Chrome shows two rows for localhost. One has a status of "(canceled)" and the other shows "(failed)". super dumb question. can i just do a normal docker pull typesense/typesense:latest or do i have to do something special?
Alex Tran
Alex Tran2y ago
Nothing special as far as I know, latest probably not a good thing but to specify an exact version
everythingisstars
ah, okay. thanks! il will do 0.25.1 since it seems that helped a few people. it doesn't look like the typesense update to 0.25.1 helped me. is there any way for me to check the logs for the http reqeusts? i can't tell if they are even hitting immich.
sogan
sogan2y ago
The 0.25.1 changelog includes a lot of bug fixes for embeddings, so this might be something fixed upstream https://github.com/typesense/typesense/releases/tag/v0.25.1 Are you still getting the same error logs in Typesense?
everythingisstars
here is my newest typesense log.
sogan
sogan2y ago
Try this: 1. Bring down the containers with docker compose -f docker-compose.yml down 2. Delete the Typesense volume with docker volume rm tsdata (if this doesn't work, you might need to search with docker volume ls to find the name of the tsdata volume and use that) 3. Deploy with new containers with docker compose -f docker-compose.yml up --force-recreate
everythingisstars
guys, i'm an idiot. in my defense, i said i was new to all of this. sooo, i wanted to make sure things weren't weird with my docker/network stuff so i pulled httpd just to test a simple connection. i did not realize that the value on the right side of the colon(:) when picking ports is what the container is listening on. i thought those were http/https values. so once i realized that mistake, i went back and checked my docker-compose.yml and sure enough i had changed that value for immich-proxy to: 2283:8081 because I thought I was going to have a conflict with another service i had running. that immediately fixed this bigger problem. really dumb on my part. i still have a problem but will post below. but NOW, i'm getting this error from the Immich interface. connect ECONNREFUSED 172.19.0.8:3001 (ECONNREFUSED) Stacktrace Error: connect ECONNREFUSED 172.19.0.8:3001 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
Alex Tran
Alex Tran2y ago
Can you post your docker-compose file please
everythingisstars
here you go. thanks!
Alex Tran
Alex Tran2y ago
what is your docker ps?
everythingisstars
here it is.
Alex Tran
Alex Tran2y ago
everything looks ok can you access the web again?
everythingisstars
actually, yes, it's working now. that might have just been the delay from starting up. i think i'm good now. so sorry for all the trouble and thanks for the help. this looks like an amazing app!
Alex Tran
Alex Tran2y ago
No problem, cheer!

Did you find this page helpful?