I
Immich•2y ago
Harris KA

500connect ECONNREFUSED 172.22.0.2:3001

Hi, just updated to today's release and after trying to connect I get the attached screenshot message. Running on unraid latest version through docker-compose. Will post env and compose below. I added quite a few files through cli today but it was working until restart.
No description
58 Replies
Harris KA
Harris KAOP•2y ago
Google Docs
Compose
Compose version: "3.8" services:   immich-server:     container_name: immich_server     image: ghcr.io/immich-app/immich-server:release     command: ["start-server.sh"]     volumes:       - ${UPLOAD_LOCATION}:/usr/src/app/upload     env_file:       - .env     depends_on:       - redis       - d...
bo0tzz
bo0tzz•2y ago
Did you check whether the containers are all running and what their logs are?
Harris KA
Harris KAOP•2y ago
Google Docs
Env
Env ################################################################################### # Database ################################################################################### # NOTE: The following four database variables support Docker secrets by adding a *_FILE suffix to the variable n...
Harris KA
Harris KAOP•2y ago
All containers are currently running, should I send all of their logs?
bo0tzz
bo0tzz•2y ago
Check the logs for errors and send them here if that doesn't get you further, yes
Strider
Strider•2y ago
Is your host ip 172.22.0.2? Sounds like it is a docker ip and not host ip. Just my 2c.
Harris KA
Harris KAOP•2y ago
the typesense log is the file in the immich appdata and the others are from docker logs as the typesense log window kept closing immediately
bo0tzz
bo0tzz•2y ago
The logs from the server are incomplete so it's hard to tell for sure, but I think it's failing to start because it can't connect to typesense If you remove the
logging:
driver: none
logging:
driver: none
part from the typesense section in the compose file, you should be able to see the typesense logs via docker as well
Harris KA
Harris KAOP•2y ago
is this correct?
bo0tzz
bo0tzz•2y ago
Can you try shutting down the whole stack, deleting the tsdata volume, and then starting it back up?
Harris KA
Harris KAOP•2y ago
is that the one with these in it?
Harris KA
Harris KAOP•2y ago
No description
bo0tzz
bo0tzz•2y ago
Based on your docker-compose.yml, it's the tsdata docker volume
Harris KA
Harris KAOP•2y ago
oh ok that worked thanks! I have another question is this normal
Harris KA
Harris KAOP•2y ago
I made the size smaller to show the whole gap
No description
Harris KA
Harris KAOP•2y ago
No description
bo0tzz
bo0tzz•2y ago
Does it still happen if you refresh the page? If so, check the server logs to see what the error is
Harris KA
Harris KAOP•2y ago
yep, which containers logs should i check
bo0tzz
bo0tzz•2y ago
server
Harris KA
Harris KAOP•2y ago
bo0tzz
bo0tzz•2y ago
That is... strange Do you have any assets which might have an exif date absurdly far into the future somehow? cc @Alex @jrasm91 this is an interesting one lol
jrasm91
jrasm91•2y ago
Uhhh what
Alex Tran
Alex Tran•2y ago
:BO_Nani: my time-issues counter just resetted again damnit
Harris KA
Harris KAOP•2y ago
I haven't changed any but have run exiftool on these as they are exported from google photos via takeout
jrasm91
jrasm91•2y ago
Is the datetime wrong and it's making a bad request because of it?
Alex Tran
Alex Tran•2y ago
I have a feeling that process might have gone wrong and register incorrect date info to the assets
jrasm91
jrasm91•2y ago
In the dev tools network request list can you see a count by time bucket request? Can you copy the response here?
Harris KA
Harris KAOP•2y ago
Is it the bit in console?
No description
Alex Tran
Alex Tran•2y ago
Can you put time-bucket to the filter box and refresh the page
Alex Tran
Alex Tran•2y ago
Then capture this
No description
Alex Tran
Alex Tran•2y ago
and this
Alex Tran
Alex Tran•2y ago
No description
Harris KA
Harris KAOP•2y ago
Should i do this for all of them?
No description
No description
Alex Tran
Alex Tran•2y ago
Can you navigate to http://ip:2283/api/asset and take a screenshot of the page
Harris KA
Harris KAOP•2y ago
there is quite a lot should i send a txt
No description
Alex Tran
Alex Tran•2y ago
You can see the fileCreatedAt date is incorrect
Harris KA
Harris KAOP•2y ago
ah thats weird They're all instagram boomerangs made in the seperate app
jrasm91
jrasm91•2y ago
count-by-time-bucket is what we wanted fyi That gets a list of dates + counts. Should show a few invalid dates.
Harris KA
Harris KAOP•2y ago
jrasm91
jrasm91•2y ago
There are a few groups at the top that are probably wrong And there is one group at the bottom that looks wrong as well (1970). Would probably good to delete those assets, fix the dates in them and reupload them.
Harris KA
Harris KAOP•2y ago
ok will do that thanks so much everyone!!
jrasm91
jrasm91•2y ago
Those almost look like phone numbers lol
Harris KA
Harris KAOP•2y ago
just wondering how I should remove them as i moved them out of the library folder but they still show up in the web and cause the the econnrefused again
bo0tzz
bo0tzz•2y ago
Changing files on disk won't have any effect You need to delete them from the UI Which is a bit tricky here, hmmmm
Harris KA
Harris KAOP•2y ago
Is there a way you can do it through cli or is that only for importing
jrasm91
jrasm91•2y ago
It is in the backlog to add, but not yet.
Harris KA
Harris KAOP•2y ago
What can I do about the photos then or should I just wait for a patch for this sort of thing?
jrasm91
jrasm91•2y ago
Can you delete them through the UI or what do you mean?
Harris KA
Harris KAOP•2y ago
Yeah how do you delete them as they don't show up
jrasm91
jrasm91•2y ago
Oh, right they don't show up because of the timeline bucket issue... hmm
Harris KA
Harris KAOP•2y ago
Is there a way to reindex the library?
bo0tzz
bo0tzz•2y ago
Depends on what exactly you need
Harris KA
Harris KAOP•2y ago
Just found out for anyone else with this issue they actually show up on mobile but not for web So you can delete them from the app easily
Alex Tran
Alex Tran•2y ago
How does the mobile app look like?
Harris KA
Harris KAOP•2y ago
Just like normal but with the crazy high dates, so can interact and delete fine from there I'm not sure if I am right but submitted a bug that the images do not show on web with very high creation year on github
Alex Tran
Alex Tran•2y ago
I saw that, thank you
jrasm91
jrasm91•2y ago
It is invalid data, yes. But also we should handle it better and not just blow up 😛

Did you find this page helpful?