#docker immich-server Restarting loop forever

1 messages · Page 1 of 1 (latest)

trim blade
pale shellBOT
#

:wave: Hey @trim blade,

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. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :blue_square: read applicable release notes.
  3. :blue_square: reviewed the FAQs for known issues.
  4. :blue_square: reviewed Github for known issues.
  5. :blue_square: 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.

trim blade
#

it just repeats this forever

coarse aurora
#

Did you read the log message and check out the link that's in it?

trim blade
#

idfk whats going on

coarse aurora
trim blade
#

only how to ignore it

coarse aurora
#

It tells you what causes it, it's up to you to connect that to what's going on with your system/what may have changed recently etc

trim blade
#

where even is "/data"

trim blade
#

so how do I fix it

coarse aurora
trim blade
#

and no

coarse aurora
#

What sort of system is this, what are your files stored on, etc?

trim blade
#

ssd

#

and hard drive

#

theres no other issues

#

immich is the only thing with a problem

#

power outage

coarse aurora
#

We need more detail than "server" and "hard drive". What sort of OS, what file system, etc etc

#

Also please post your compose file and .env

trim blade
#

linux mint 21.3

#

5.15.0-170-generic

#

EXT4

#

the compose file is straight from the website

trim blade
# coarse aurora Also please post your compose file and .env

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=/home/hitesh/1tb/media

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=Etc/UTC

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

trim blade
# coarse aurora Also please post your compose file and .env

WARNING: To install Immich, follow our guide: https://docs.immich.app/install/docker-compose

Make sure to use the docker-compose.yml of the current release:

https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml

The compose file on main may not be compatible with the latest release.

name: immich

services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
# extends:
# file: hwaccel.transcoding.yml
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
volumes:
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
- ${UPLOAD_LOCATION}:/data
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
ports:
- '2283:2283'
depends_on:
- redis
- database
restart: always
healthcheck:
disable: false

redis:
container_name: immich_redis
image: docker.io/valkey/valkey:9@sha256:546304417feac0874c3dd576e0952c6bb8f06bb4093ea0c9ca303c73cf458f63
healthcheck:
test: redis-cli ping || exit 1
restart: always

database:
container_name: immich_postgres
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_INITDB_ARGS: '--data-checksums'
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
# DB_STORAGE_TYPE: 'HDD'
volumes:
# Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
shm_size: 128mb
restart: always
healthcheck:
disable: false

volumes:
model-cache:

coarse aurora
#

What's the output of mount?

coarse aurora
#

UPLOAD_LOCATION=/home/hitesh/1tb/media
This reads to me like it's probably a separate disk, but it's not mounted

trim blade
coarse aurora
#

sure, you had a restart since though right?

#

Those tend to unmount drives 😛

trim blade
#

what the fuck

#

why did my fstab change itself