Dear experts, I've encountered a problem where images cannot be displayed correctly.
I'm using a Mac M1, on which I've set up a CentOS 7 virtual machine using Parallels to run the backend services. The services have started normally and can be accessed over the network.
However, I've come across a problem. After images are uploaded, they cannot be displayed correctly, and I'm not sure where the issue lies.
Image upload channels: Mac Mini web end and iOS client.


79 Replies
I used dockercompose to insatll
Can you post your docker-compose, .env and server/microservices logs please?
of course, thank you.
I think your docker-compose file is incorrect
microservices is using the startup command for server
that is the cause
I used the example docker-compose , not changed any word.
hmm strange
can you help posted all the logs please
for server and microservices
a minute
found some errors
but I dont have any idea about it
what is your microservices logs?
this is all
Can you restart the microservices container
and make sure that you see this message
immich_microservices | [Nest] 29 - 07/22/2023, 2:06:59 AM LOG [ImmichMicroservice] Immich Microservices is listening on 3002 [v1.68.0]
i'll try
Can you help me cope and paste your docker-compose?
I restarted Immich Microservices , got some new logs as same as the old ones.
this is my docker-compose for immich-microservices
immich-microservices:
container_name: immich_microservices
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
command: [ "start.sh", "microservices" ]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- .env
depends_on:
- redis
- database
- typesense
restart: always
okay it is now showing it is starting for microservices but I don't see the entire logs
can you do
docker ps
?
and then docker logs immich_microservices

looks like microservices container keep restasrting
now do this

docker-compose down
and then docker-compose up
without the --d
flags to see if the container restartingok
all up

do you see logs for
immich_microservices
?
this is last logs for microservices

Hmm so strange, I don't see the logs to get microservices to startup
yes , so it is the problem, immich_microservices is not started
not starting correctly
can you do docker-compose down
then
docker container prune
and then docker-compose upok

done
after the server starting up, can you try to run
thumbnail generation
for missing one again?still can't do it
I mean go into administration > job > thumbnail generation
click generate for all
and then monitor the logs please
oh i see
success
thank you
the thumbnail generated?
I got a fool question, I never click the
thumbnail generation
beforeyou shouldn't have to click it
thumbnail should be generated automatically
I assume there was something wrong with the microservices container when you first started and upload those images
but apparently it is fix?
I thought thumbnails would be automatically generated and displayed after the image is uploaded.
Exactly
I suspect something might have gone wrong for your initial upload
can you try upload some more photos to see if they get generated?
ok

did the log say anything?
the new upload not work

log

can you try with
docker logs immich_microservices
ok but I think I may have to stop the container and restart with -d
using that command it should pull the logs correctly

the log say nothing , I suppose.
this logs looks old
at 38 minutes
while you uploaded at minute 56
can you prune this instance and try create a new instance?
ignore the time, my centos7 time is incorrect
hmm strange
can you create a new instance and test it?
ok
The time on my Linux virtual machine, Docker on the virtual machine, and my Mac are all different.

I'll try upload one pic
okay!

still no word from the log
and thumbnail doesn't get generated?
yes
Hmm
And this is a new instance with new user and everything?
yes
But if I trigger it manually, it works.
HMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
:icebearehwhat:
should I build another vm to run this?
Please try
because this is REALY strange
Maybe this vm has been cursed
could be :BO_Nani:
Thank you very much for spending so much time helping me. I will try to start another virtual machine later to handle this issue. If there is any progress, I will update you here. Thank you so much.
No problem man, thank you for reporting and sorry for the inconvenient
such a weird case
FYI, I started a new VM, and it worked. thank you for you time any way!
I have a new question, does this app support live photos on iPhone?
Yed