#Cant connect to Immich after updating

1 messages · Page 1 of 1 (latest)

drowsy yarrow
#

Gonna preface this by saying I don't really know what I'm doing at all so any help is greatly appreciated and sorry for any lack of understanding of things.

Anyways, I updated to the latest version of Immich (2.7.5) that came out today and after doing so I have been unable to connect to it in anyway. In the included screenshot of the logs, this seems to be the only error and it is just repeating itself. If you need more information to help out I will do my best to provide it.

  • Running on Ubuntu
  • Using Docker

.env file

# You can find documentation for all the supported env variables at https://docs.immich.app/install/environment-variables

# The location where your uploaded files are stored
UPLOAD_LOCATION=./library

# The location where your database files are stored. Network shares are not supported for the database
DB_DATA_LOCATION=./postgres

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
TZ=America/Denver

# The Immich version to use. You can pin this to a specific version like "v2.1.0"
IMMICH_VERSION=v2

# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=postgres

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
native parrotBOT
#

:wave: Hey @drowsy yarrow,

Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich immich.

References

#

Checklist

I have...

  1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: read applicable release notes.
  3. :ballot_box_with_check: reviewed the FAQs for known issues.
  4. :ballot_box_with_check: reviewed Github for known issues.
  5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: uploaded the relevant information (see below).
  7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

Information

In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:

  • Your docker-compose.yml and .env files.
  • Logs from all the containers and their status (see above).
  • All the troubleshooting steps you've tried so far.
  • Any recent changes you've made to Immich or your system.
  • Details about your system (both software/OS and hardware).
  • Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
  • The version of the Immich server, mobile app, and other relevant pieces.
  • Any other information that you think might be relevant.

Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

bleak kiln
#

have you changed the location of the compose file?
according to your setup it should be alongside .env library and postgres

drowsy yarrow
#

the compose file is in the same directory as the .env, library, and postgres and has been the whole time

bleak kiln
#

what's in ./library/encoded-video

drowsy yarrow
#

I have no directory called encoded-video in library

drowsy yarrow
#
  963  cd /docker/immich
  964  ls
  965  docker compose pull
  966  docker compose up -d
  967  cd ../caddy
  968  ls
  969  nano docker-compose.yaml 
  970  nano Caddyfile
  971  docker ps --format "{{.Names}}"
  972  docker compose pull
  973  docker compose up -d
  974  cd ../immich
  975  ls
  976  nano docker-compose.yml 
  977  cd ../caddy
  978  nano Caddyfile 
  979  docker compose down
  980  docker compose up -d
  981  cd ../immich
  982  ll
  983  cd postgres
  984  ls
  985  nano docker-compose.yml 
  986  docker compose down
  987  docker compose up -d
  988  docker ps
  989  docker context ls
  990  nano docker-compose.yml 
  991  wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
  992  ls
  993  nano docker-compose.yml 
  994  docker compose up -d
  995  wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env
  996  nano .env
  997  docker compose pull && docker compose up -d
  998  docker image prune
  999  docker ps --format '{{.Names}}'
 1000  nano docker-compose.yml 
 1001  docker compose down
 1002  docker compose up -d
 1003  sudo reboot

these are the things ive done recently if they can explain any problem

#

I am running caddy but ive just been trying to access it with my local IP right now

bleak kiln
#

what's the content of library then

drowsy yarrow
#

there is nothing in library either

bleak kiln
#

then where is your media?

#

where's your original .env file, before running command 995

drowsy yarrow
drowsy yarrow
drowsy yarrow
#

/mnt/md0/data/immichdata/ is where my media is located

#

which has the encoded-video folder

#

this is the encoded-video folder

bleak kiln
#

ok, update your config

drowsy yarrow
#

that should be the .env file correct? and changing the UPLOAD_LOCATION thing to be /mnt/md0/data/immichdata?

#

i think I didnt pay attention when setting it up in the first place and changed that part in the compose file despite it telling me to not change it there and do it in the .env file

#

which probably caused the initial break when updating if i had to guess