Webui suddenly not accessible

This is running as docker compose stack on unraid.
immich_machine_learning | [03/31/25 11:24:04] INFO Booting worker with pid: 11
immich_machine_learning | [03/31/25 11:24:06] INFO Started server process [11]
immich_machine_learning | [03/31/25 11:24:06] INFO Waiting for application startup.
immich_machine_learning | [03/31/25 11:24:06] INFO Created in-memory cache with unloading after 300s
immich_machine_learning | of inactivity.
immich_machine_learning | [03/31/25 11:24:06] INFO Initialized request thread pool with 8 threads.
immich_machine_learning | [03/31/25 11:24:06] INFO Application startup complete.
immich_server | Detected CPU Cores: 8
immich_server | Using "start.sh immich" has been deprecated. See https://github.com/immich-app/immich/releases/tag/v1.118.0 for more information.
immich_server | Initializing Immich v1.130.3
immich_server | Detected CPU Cores: 8
immich_server | Using "start.sh immich" has been deprecated. See https://github.com/immich-app/immich/releases/tag/v1.118.0 for more information.
immich_server | Initializing Immich v1.130.3
immich_server | Detected CPU Cores: 8
immich_server | Using "start.sh immich" has been deprecated. See https://github.com/immich-app/immich/releases/tag/v1.118.0 for more information.
immich_server | Initializing Immich v1.130.3
immich_server | Detected CPU Cores: 8
immich_server | Using "start.sh immich" has been deprecated. See https://github.com/immich-app/immich/releases/tag/v1.118.0 for more information.
immich_microservices | Detected CPU Cores: 8
immich_server | Detected CPU Cores: 8
immich_microservices exited with code 1
immich_server exited with code 1
immich_machine_learning | [03/31/25 11:24:04] INFO Booting worker with pid: 11
immich_machine_learning | [03/31/25 11:24:06] INFO Started server process [11]
immich_machine_learning | [03/31/25 11:24:06] INFO Waiting for application startup.
immich_machine_learning | [03/31/25 11:24:06] INFO Created in-memory cache with unloading after 300s
immich_machine_learning | of inactivity.
immich_machine_learning | [03/31/25 11:24:06] INFO Initialized request thread pool with 8 threads.
immich_machine_learning | [03/31/25 11:24:06] INFO Application startup complete.
immich_server | Detected CPU Cores: 8
immich_server | Using "start.sh immich" has been deprecated. See https://github.com/immich-app/immich/releases/tag/v1.118.0 for more information.
immich_server | Initializing Immich v1.130.3
immich_server | Detected CPU Cores: 8
immich_server | Using "start.sh immich" has been deprecated. See https://github.com/immich-app/immich/releases/tag/v1.118.0 for more information.
immich_server | Initializing Immich v1.130.3
immich_server | Detected CPU Cores: 8
immich_server | Using "start.sh immich" has been deprecated. See https://github.com/immich-app/immich/releases/tag/v1.118.0 for more information.
immich_server | Initializing Immich v1.130.3
immich_server | Detected CPU Cores: 8
immich_server | Using "start.sh immich" has been deprecated. See https://github.com/immich-app/immich/releases/tag/v1.118.0 for more information.
immich_microservices | Detected CPU Cores: 8
immich_server | Detected CPU Cores: 8
immich_microservices exited with code 1
immich_server exited with code 1
107 Replies
Immich
Immich5w ago
:wave: Hey @alexeiivanovich, 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 - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA 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. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: 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. Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Mraedis
Mraedis5w ago
If only there was some kind of error message with a handy link or something in your logs...
alexeiivanovich
alexeiivanovichOP5w ago
How do I "Run docker compose down --remove-orphans" and sorry i assumed updating stack would automatically make minor changes like this
Mraedis
Mraedis5w ago
Updating the stack pulls new container images, it does not update the compose itself
Mraedis
Mraedis5w ago
1.118 has breaking change you need to apply
alexeiivanovich
alexeiivanovichOP5w ago
yes, i know. how do i run that command in unraid?
Mraedis
Mraedis5w ago
Wherever the compose or config is located at, #unraid is reliant on community support so I'm not sure myself https://discord.com/channels/979116623879368755/1228387901889445989/1300424741966057494 seems it should "just work" after upgrading
alexeiivanovich
alexeiivanovichOP5w ago
huh? i can edit the docker-compose.yml i'm asking how to run docker compose down --remove-orphans i get these errors without doing that:
WARN[0000] /boot/config/plugins/compose.manager/projects/Immich/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
WARN[0000] Found orphan containers ([immich_microservices]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
WARN[0000] /boot/config/plugins/compose.manager/projects/Immich/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
WARN[0000] Found orphan containers ([immich_microservices]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
is it better to run the AIO container now that exists?
Mraedis
Mraedis5w ago
No clue how you run CLI commands in Unraid, sorry And AIO could work fine but I'm guessing you'll need to backup/restore to it
alexeiivanovich
alexeiivanovichOP5w ago
same as any linux, i just don't know the actual command hmm okay it's not necessary to remove orphans
alexeiivanovich
alexeiivanovichOP5w ago
but now it's giving me the admin reg screen
No description
alexeiivanovich
alexeiivanovichOP5w ago
has it deleted my account? wow and all photos have been deleted too now what has happened in this update that has renmoved all previous config
bo0tzz
bo0tzz5w ago
You made some change that resulted in the database being removed or pointing at a different folder
alexeiivanovich
alexeiivanovichOP5w ago
i have made zero changes where even can you change the db loco?
database:
container_name: immich_postgres
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
env_file:
- .env
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
volumes:
- pgdata:/var/lib/postgresql/data
restart: always
database:
container_name: immich_postgres
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
env_file:
- .env
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
volumes:
- pgdata:/var/lib/postgresql/data
restart: always
same as a year ago
Questionario
Questionario5w ago
where did you get that compose file from? (afaik, immich has always used a variable which is defined as a path in the env file) you mapped a named volume instead of a bind volume, I assume you did something to delete that named volume PS: if you provide all data you confirmed you submitted, it is easier to help you only provided part of the compose file even check which volumes are available, if the volume is gone and you dont have any backups then you are out of luck lets hope you did not do the same for your immich, if you used bind mounts there, you should be able to at least access your library and then manually reimport the files (though they might be named differently, depending on your settings)
alexeiivanovich
alexeiivanovichOP5w ago
i originally installed following immich docs sorry what info do you need that i missed? i don't know what you mean by named volume vs bind volume
schuhbacca
schuhbacca5w ago
Originally immich did use a docker volume for the db, it was converted at some point to use a file system bind
alexeiivanovich
alexeiivanovichOP5w ago
all my volumes are external libraries i cant see anywhere to change the database location
Questionario
Questionario5w ago
i am unfamiliar with unraid, can you list the docker volumes? docker volume ls
alexeiivanovich
alexeiivanovichOP5w ago
where do i run that command this is a docker compose so i have no access to console
Questionario
Questionario5w ago
i dont know :[ sorry, probably best to ask in #unraid
alexeiivanovich
alexeiivanovichOP5w ago
what are docker volumes in this context?
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
# command: [ "start.sh", "immich" ]
volumes:
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
# command: [ "start.sh", "immich" ]
volumes:
Questionario
Questionario5w ago
what you listed under volumes
alexeiivanovich
alexeiivanovichOP5w ago
here?
Questionario
Questionario5w ago
in the database you have it named "pgdata"
alexeiivanovich
alexeiivanovichOP5w ago
just various external libraries
- "/mnt/user/photos/:/mnt/immich/photos:ro" # add external library as read only
- "/mnt/user/photos/:/mnt/immich/photos:ro" # add external library as read only
etc.
Questionario
Questionario5w ago
but as your database seems "cleaned", it is likely you somehow deleted that volume
alexeiivanovich
alexeiivanovichOP5w ago
the only volumes i mapped were for images, none for db
Questionario
Questionario5w ago
nothing with UPLOAD_LOCATION ? for the database, you mapped a named volume (pgdata)
alexeiivanovich
alexeiivanovichOP5w ago
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
Questionario
Questionario5w ago
ok, your environment file, what is upload location set to? you can check the folder it is set to for your original pictures
alexeiivanovich
alexeiivanovichOP5w ago
UPLOAD_LOCATION=/mnt/user/immich
UPLOAD_LOCATION=/mnt/user/immich
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
Questionario
Questionario5w ago
yea, then there... you can check if you see your photos in there, just to check you at least still have those
alexeiivanovich
alexeiivanovichOP5w ago
yes all files are exactly where they have always been
schuhbacca
schuhbacca5w ago
You should be able to get a terminal somewhere in unraid. You will need to type in docker volume ls and see if your database still exists in those results.
Questionario
Questionario5w ago
PS: providing bits and pieces is cumbersome, cant you provide all info thats requested by the bot?
alexeiivanovich
alexeiivanovichOP5w ago
nothing about the system has changed what info that does nothing in normal terminal
Questionario
Questionario5w ago
the info you confirmed you submitted
alexeiivanovich
alexeiivanovichOP5w ago
docker volumes ls
docker: 'volumes' is not a docker command.
See 'docker --help'
docker volumes ls
docker: 'volumes' is not a docker command.
See 'docker --help'
alexeiivanovich
alexeiivanovichOP5w ago
version: "3.8"

#
# WARNING: 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}
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
- "/mnt/user/photos/:/mnt/immich/:ro" # add external library as read only

env_file:
- .env
ports:
# - 2283:3001
- 2283:2283
depends_on:
- redis
- database
restart: always

immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
volumes:
- model-cache:/cache
env_file:
- .env
restart: always

redis:
container_name: immich_redis
image: redis:6.2-alpine@sha256:c5a607fb6e1bb15d32bbcf14db22787d19e428d59e31a5da67511b49bb0f1ccc
restart: always

database:
container_name: immich_postgres
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
env_file:
- .env
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
volumes:
- pgdata:/var/lib/postgresql/data
restart: always

volumes:
pgdata:
model-cache:
version: "3.8"

#
# WARNING: 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}
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
- "/mnt/user/photos/:/mnt/immich/:ro" # add external library as read only

env_file:
- .env
ports:
# - 2283:3001
- 2283:2283
depends_on:
- redis
- database
restart: always

immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
volumes:
- model-cache:/cache
env_file:
- .env
restart: always

redis:
container_name: immich_redis
image: redis:6.2-alpine@sha256:c5a607fb6e1bb15d32bbcf14db22787d19e428d59e31a5da67511b49bb0f1ccc
restart: always

database:
container_name: immich_postgres
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
env_file:
- .env
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
volumes:
- pgdata:/var/lib/postgresql/data
restart: always

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

# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/user/immich

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release

# Connection secret for postgres. You should change it to a random password
DB_PASSWORD=postgres

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

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

# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/user/immich

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release

# Connection secret for postgres. You should change it to a random password
DB_PASSWORD=postgres

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

REDIS_HOSTNAME=immich_redis
logs is a too massive file Any recent changes you've made to Immich or your system: none
Questionario
Questionario5w ago
dpaste.org
alexeiivanovich
alexeiivanovichOP5w ago
Details about your system (both software/OS and hardware): unraid 6.9.2 i3 12100 • 32 GB DDR4 • Z690
bo0tzz
bo0tzz5w ago
I doubt that, it doesn't "magically" stop working, you must have changed something or updated Immich or such
Questionario
Questionario5w ago
you didnt update? cause there were many breaking changes that are mentioned your logs say immich 130.3 so you likely updated without considering breaking changes
alexeiivanovich
alexeiivanovichOP5w ago
i have updated stack nothing more df -h https://dpaste.org/jH73d
Questionario
Questionario5w ago
did you take account of the breaking changes?
alexeiivanovich
alexeiivanovichOP5w ago
fdisk -l https://dpaste.org/zHsTG immich v1.130.3 i have now i have been made aware of them
Questionario
Questionario5w ago
if you write what each paste contains, it will be easier for us which version did you upgrade from?
alexeiivanovich
alexeiivanovichOP5w ago
no idea, i ran update stack as per the instructions nowhere did it say you need to check logs for breaking changes logs still too big to copy unless there's a command to get them
bo0tzz
bo0tzz5w ago
It says pretty much everywhere that you should account for breaking changes
alexeiivanovich
alexeiivanovichOP5w ago
as it's now refreshing entire library
Questionario
Questionario5w ago
could you put all that info together in one post in case this is a longer case and others need to check the info? its easier to find then best even to edit one of your first posts to include all information
Questionario
Questionario5w ago
there is, it says right in the posts I linked
Questionario
Questionario5w ago
i mean this
alexeiivanovich
alexeiivanovichOP5w ago
docker compose logs

no configuration file provided: not found
docker compose logs

no configuration file provided: not found
Questionario
Questionario5w ago
did you click the link right next to it? also, what is the version you upgraded from?
alexeiivanovich
alexeiivanovichOP5w ago
so that's not the command? it's actually docker logs immich_server? 100s of screens worth of data i can't copy paste it as above no idea because i onlly followed the instructions on https://immich.app/docs/install/unraid/ some logs: https://dpaste.org/n9xuK i just dont get where the old db could have gone. is it still there somewhere?
Questionario
Questionario5w ago
ok, please provide the info that was asked for in a single post in a readable manner, it just makes it easier for us to help you
Questionario
Questionario5w ago
i was trying to find out by reading logs and the output of "docker volume ls"
alexeiivanovich
alexeiivanovichOP5w ago
docker volume ls does nothing. if you have a working command i can try that
Questionario
Questionario5w ago
there are no logs in there
alexeiivanovich
alexeiivanovichOP5w ago
edited post
Questionario
Questionario5w ago
define nothing... # docker volume ls DRIVER VOLUME NAME would still be "something"
bo0tzz
bo0tzz5w ago
You should post the actual output of things, not your interpretation of it
bo0tzz
bo0tzz5w ago
That's the wrong command volume without s
alexeiivanovich
alexeiivanovichOP5w ago
so please give me the correct command then
Questionario
Questionario5w ago
"some logs"... can you separate it so we can see logs of each container for example?
bo0tzz
bo0tzz5w ago
docker volume ls
alexeiivanovich
alexeiivanovichOP5w ago
DRIVER VOLUME NAME
local 0a29f2d431a7b0f23f75bb1feb7f36c66dffaadedf7661cfae8a6474cd71a7f9
local 02f7659cb13026e1c3638e54684209a51d3886d3fcd9e8015172f7b56a6833d7
local 4fc7276fad96954bda3a5428e950bb343f15361bbc29047fe82df926238ca372
local 06e56465aa5e0131de3c8a12301dd72a171f844e799cce7c8ff01cf62abe3ac0
local 39ea4b492a68d070222a8f79ca5a3c978f59e9bdd295c8ce7725955cbd41cce9
local 0164fa4bff6b81a78475b81fbf836bb88c48a8195e42e6aa20447d7f8146b82c
local 235e9b4c9a6b4fd4dc1bbb83e305a4bc0a38dcdf2a62d75e9fa6a95218f492c3
local 962aa604d9828fa1ac115252943beb39c938f478acbbfb10f048b8155bd5d2f0
local 1206f7a6c2ac5535020adb44c017ba72c804638f0e9a8fa10243dc9131afdbb0
local a3d97c6dc3c32b2a185e827658b8ebcb0aba028a2be554acefa90a75c0f26b8e
local b3effd78972574967163295d75707c8777f22a8ea5fc5bc34abb5d8fb8e9ca46
local binhex-shared
local d149dde466419f7120e0de4eee06608a68505183fdb9646a7d872afd7e9ce9ed
local e2abb831856e0e6206aaec88dfafb5b50f0c8bee8724d85350077f0a13b452cd
local eddf776767f8ad915576171ab8b564ba066f380ed5aec05e424b3e1c7d0a1b6a
local immich_model-cache
local immich_pgdata
DRIVER VOLUME NAME
local 0a29f2d431a7b0f23f75bb1feb7f36c66dffaadedf7661cfae8a6474cd71a7f9
local 02f7659cb13026e1c3638e54684209a51d3886d3fcd9e8015172f7b56a6833d7
local 4fc7276fad96954bda3a5428e950bb343f15361bbc29047fe82df926238ca372
local 06e56465aa5e0131de3c8a12301dd72a171f844e799cce7c8ff01cf62abe3ac0
local 39ea4b492a68d070222a8f79ca5a3c978f59e9bdd295c8ce7725955cbd41cce9
local 0164fa4bff6b81a78475b81fbf836bb88c48a8195e42e6aa20447d7f8146b82c
local 235e9b4c9a6b4fd4dc1bbb83e305a4bc0a38dcdf2a62d75e9fa6a95218f492c3
local 962aa604d9828fa1ac115252943beb39c938f478acbbfb10f048b8155bd5d2f0
local 1206f7a6c2ac5535020adb44c017ba72c804638f0e9a8fa10243dc9131afdbb0
local a3d97c6dc3c32b2a185e827658b8ebcb0aba028a2be554acefa90a75c0f26b8e
local b3effd78972574967163295d75707c8777f22a8ea5fc5bc34abb5d8fb8e9ca46
local binhex-shared
local d149dde466419f7120e0de4eee06608a68505183fdb9646a7d872afd7e9ce9ed
local e2abb831856e0e6206aaec88dfafb5b50f0c8bee8724d85350077f0a13b452cd
local eddf776767f8ad915576171ab8b564ba066f380ed5aec05e424b3e1c7d0a1b6a
local immich_model-cache
local immich_pgdata
i would love to if you tell me how
Questionario
Questionario5w ago
https://immich.app/docs/guides/docker-help#logs thats the link right next to the text asking for that info
alexeiivanovich
alexeiivanovichOP5w ago
that was all for immich_server which other logs do you need
Questionario
Questionario5w ago
can you give me the output of docker volume inspect immich_pgdata ? every container listed in your compose file
alexeiivanovich
alexeiivanovichOP5w ago
[
{
"CreatedAt": "2025-03-31T13:40:15+01:00",
"Driver": "local",
"Labels": {
"com.docker.compose.project": "immich",
"com.docker.compose.version": "2.29.2",
"com.docker.compose.volume": "pgdata"
},
"Mountpoint": "/var/lib/docker/volumes/immich_pgdata/_data",
"Name": "immich_pgdata",
"Options": null,
"Scope": "local"
}
]
[
{
"CreatedAt": "2025-03-31T13:40:15+01:00",
"Driver": "local",
"Labels": {
"com.docker.compose.project": "immich",
"com.docker.compose.version": "2.29.2",
"com.docker.compose.volume": "pgdata"
},
"Mountpoint": "/var/lib/docker/volumes/immich_pgdata/_data",
"Name": "immich_pgdata",
"Options": null,
"Scope": "local"
}
]
docker logs immich-machine-learning
Error: No such container: immich-machine-learning
docker logs immich-machine-learning
Error: No such container: immich-machine-learning
docker logs immich_redis
docker logs immich_redis
https://dpaste.org/xdcEa
PostgreSQL Database directory appears to contain a database; Skipping initialization

2025-03-31 12:40:15.246 UTC [1] LOG: starting PostgreSQL 14.10 (Debian 14.10-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2025-03-31 12:40:15.246 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2025-03-31 12:40:15.246 UTC [1] LOG: listening on IPv6 address "::", port 5432
2025-03-31 12:40:15.248 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-03-31 12:40:15.252 UTC [27] LOG: database system was shut down at 2025-03-31 12:38:13 UTC
[2025-03-31T12:40:15Z INFO service::utils::clean] Find directory "pg_vectors/indexes/17331".
[2025-03-31T12:40:15Z INFO service::utils::clean] Find directory "pg_vectors/indexes/17575".
[2025-03-31T12:40:15Z INFO service::utils::clean] Find directory "pg_vectors/indexes/17575/segments/c51fd1c0-1124-4f2a-a830-a0ec0aa71f91".
[2025-03-31T12:40:15Z INFO service::utils::clean] Find directory "pg_vectors/indexes/17331/segments/17f2d1f2-de6f-418d-8ae1-566a4d13381e".
2025-03-31 12:40:15.257 UTC [1] LOG: database system is ready to accept connections
2025-03-31 12:40:43.326 UTC [54] FATAL: password authentication failed for user "netdata"
2025-03-31 12:40:43.326 UTC [54] DETAIL: Role "netdata" does not exist.
Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
PostgreSQL Database directory appears to contain a database; Skipping initialization

2025-03-31 12:40:15.246 UTC [1] LOG: starting PostgreSQL 14.10 (Debian 14.10-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2025-03-31 12:40:15.246 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2025-03-31 12:40:15.246 UTC [1] LOG: listening on IPv6 address "::", port 5432
2025-03-31 12:40:15.248 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-03-31 12:40:15.252 UTC [27] LOG: database system was shut down at 2025-03-31 12:38:13 UTC
[2025-03-31T12:40:15Z INFO service::utils::clean] Find directory "pg_vectors/indexes/17331".
[2025-03-31T12:40:15Z INFO service::utils::clean] Find directory "pg_vectors/indexes/17575".
[2025-03-31T12:40:15Z INFO service::utils::clean] Find directory "pg_vectors/indexes/17575/segments/c51fd1c0-1124-4f2a-a830-a0ec0aa71f91".
[2025-03-31T12:40:15Z INFO service::utils::clean] Find directory "pg_vectors/indexes/17331/segments/17f2d1f2-de6f-418d-8ae1-566a4d13381e".
2025-03-31 12:40:15.257 UTC [1] LOG: database system is ready to accept connections
2025-03-31 12:40:43.326 UTC [54] FATAL: password authentication failed for user "netdata"
2025-03-31 12:40:43.326 UTC [54] DETAIL: Role "netdata" does not exist.
Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
Questionario
Questionario5w ago
"CreatedAt": "2025-03-31T13:40:15+01:00", it looks like the volume was recreated 😦 you can double check the size by checking the files in the Mountpoint /var/lib/docker/volumes/immich_pgdata/_data but it looks like the database is lost if you dont have a backup make sure to backup your photos before you continue to not accidentally delete them
alexeiivanovich
alexeiivanovichOP5w ago
what volume exactly?
Questionario
Questionario5w ago
@bo0tzz ? i am not very familiar with unraid nor with named volumes... does the update process delete named volumes in unraid?!?
alexeiivanovich
alexeiivanovichOP5w ago
i had to create a new user as the database was all gone
bo0tzz
bo0tzz5w ago
It shouldn't, but no idea if unraid does some nonsense there
alexeiivanovich
alexeiivanovichOP5w ago
all libraries are external and ro so should be safe i have no idea what named volumes means all volumes are mapped in the docker-composed.yml as ro there are no images other than from those external libraries
Questionario
Questionario5w ago
named volumes are handled by docker engine, they are easier to delete but have some advantages when it comes to permissions on the underlying file system i only use bind mounts, pointing to directories like you have for your libraries somehow unraid must have deleted the volume
alexeiivanovich
alexeiivanovichOP5w ago
am i using "bind mounts" or "named volumes" or what? i have no idea what this terminology means
bo0tzz
bo0tzz5w ago
For the libraries you were using bind mounts (a mount to a folder on the host), for the database you're using https://docs.docker.com/engine/storage/volumes/
alexeiivanovich
alexeiivanovichOP5w ago
i just used the docker-compose.yml that it came with and only edits i made was adding the externasl libraries
Questionario
Questionario5w ago
volumes: - pgdata:/var/lib/postgresql/data that is a named volume (pgdata, no path given) volumes: - "/mnt/user/photos/:/mnt/immich/:ro" # add external library as read only that is a bind volume, mapping a directory to a directory inside your container
alexeiivanovich
alexeiivanovichOP5w ago
the named volume was already there and the bind volumes i added
Questionario
Questionario5w ago
yes, seems that this was in there in previous versions, immich now moved to bind mounts
alexeiivanovich
alexeiivanovichOP5w ago
should i change it i guess i have to recreate the db again from scratch i hope there's not an orphan taking up space somewhere do i have to do all the ml again from scratch too?
Questionario
Questionario5w ago
yes
alexeiivanovich
alexeiivanovichOP5w ago
right now it looks like this:
No description
Questionario
Questionario5w ago
if you start from scratch, use an updated compose file, not the one you currently have
alexeiivanovich
alexeiivanovichOP5w ago
im guessing needs to do thumbs updated how? it seems i have to start from scratch so maybe easier to just use the AIO anyway?
Questionario
Questionario5w ago
🤷‍♂️ I never used Unraid, I use the docker compose method
alexeiivanovich
alexeiivanovichOP5w ago
unraid is using docker compose
Questionario
Questionario5w ago
👍 I am sorry, I never used Unraid
alexeiivanovich
alexeiivanovichOP5w ago
what do i need to change in my docker-compose
Questionario
Questionario5w ago
start over probably
alexeiivanovich
alexeiivanovichOP5w ago
sorry what does that entail. delete the stack and start again i cant even compose down now:
WARN[0000] /boot/config/plugins/compose.manager/projects/Immich/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
WARN[0000] /boot/config/plugins/compose.manager/projects/Immich/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
Questionario
Questionario5w ago
thats a warning, you can remove the version as newer compose versions dont use it
alexeiivanovich
alexeiivanovichOP5w ago
ok but delete stack is no longer available even though it's stopped
alexeiivanovich
alexeiivanovichOP5w ago
No description
Questionario
Questionario5w ago
sorry, i cannot help you with unraid need to go to #unraid

Did you find this page helpful?