68 Replies
:wave: Hey @kramer987,
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.[Nest] 7 - 03/27/2025, 2:27:02 AM LOG [Microservices:StorageService] Verifying system mount folder checks, current state: {"mountChecks":{"thumbs":true,"upload":true,"backups":true,"library":true,"profile":true,"encoded-video":true}}
[Nest] 17 - 03/27/2025, 2:27:02 AM LOG [Api:DatabaseRepository] Running migrations, this may take a while
[Nest] 7 - 03/27/2025, 2:27:02 AM ERROR [Microservices:StorageService] Failed to read upload/encoded-video/.immich: Error: ENOENT: no such file or directory, open 'upload/encoded-video/.immich'
microservices worker error: Error: Failed to read "<UPLOAD_LOCATION>/encoded-video/.immich - Please see https://immich.app/docs/administration/system-integrity#folder-checks for more information.", stack: Error: Failed to read "<UPLOAD_LOCATION>/encoded-video/.immich - Please see https://immich.app/docs/administration/system-integrity#folder-checks for more information."
at StorageService.verifyReadAccess (/usr/src/app/dist/services/storage.service.js:84:19)
at async /usr/src/app/dist/services/storage.service.js:38:21
at async /usr/src/app/dist/repositories/database.repository.js:197:27
at async /usr/src/app/node_modules/kysely/dist/cjs/kysely.js:413:20
at async DefaultConnectionProvider.provideConnection (/usr/src/app/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)
at async /usr/src/app/dist/repositories/database.repository.js:194:13
microservices worker exited with code 1
Killing api process
Initializing Immich v1.130.2
Detected CPU Cores: 8
Starting api worker
Starting microservices worker
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
check your mount phone at UPLOAD_LOCATION
looks like they are unmounted
everything is mounted
either it's not mounted now or it was not mounted before and now it is
kramer987@kramrtx:~/immich-app$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 3.2G 4.8M 3.2G 1% /run
efivarfs 128K 68K 56K 55% /sys/firmware/efi/efivars
/dev/nvme0n1p2 457G 113G 321G 26% /
tmpfs 16G 4.0K 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /run/qemu
/dev/nvme0n1p1 1.1G 6.2M 1.1G 1% /boot/efi
/dev/sda1 7.3T 6.5T 769G 90% /mnt/PlexLinuxDisk
//192.168.1.169/M 15T 3.5T 12T 24% /mnt/M
//192.168.1.95/D 11T 9.9T 1.1T 91% /mnt/D
//192.168.1.95/E 17T 16T 1.4T 92% /mnt/E
//192.168.1.95/L 17T 16T 1.1T 94% /mnt/L
//192.168.1.95/Z 932G 80G 853G 9% /mnt/Z
//192.168.1.95/F 11T 11T 468G 96% /mnt/F
//192.168.1.95/I 7.3T 838G 6.5T 12% /mnt/I
//192.168.1.95/H 15T 3.5T 12T 24% /mnt/H
tmpfs 3.2G 16K 3.2G 1% /run/user/1000
M right there
it's also possible for the docker daemon to start before the mount point and thus use a handle to the underlying FS
i did a docker down and thrn back up
still same outcome
please post your compose and env
please run
tree -L 2 /mnt/M/immich
ok
i see the tree
if i paste it all my personal folder names will be here
wdym personal? those should be immich folders right?
yes bjt my storage label is my full name
ok just redact that line then
and my old imported library is there with filenames
/mnt/M/immich
├── backups
│ ├── immich-db-backup-1742868000006.sql.gz
│ ├── immich-db-backup-1742954400007.sql.gz
│ └── immich-db-backup-1743040800015.sql.gz
├── encoded-video
│ ├── 3b73e6f3-5fe4-4b4d-832b-f33eb5bc3f1c
│ ├── 803d1ba0-6b49-4b02-b2fa-a57b1e45a768
│ └── 92c410ef-8ca0-44de-91eb-24f9936d669d
├── library
+-- profile
oh sorry can you do
tree -a -L 2
+-- thumbs
¦ +-- 3b73e6f3-5fe4-4b4d-832b-f33eb5bc3f1c
¦ +-- 803d1ba0-6b49-4b02-b2fa-a57b1e45a768
¦ +-- 92c410ef-8ca0-44de-91eb-24f9936d669d
+-- upload
+-- 3b73e6f3-5fe4-4b4d-832b-f33eb5bc3f1c├── profile
├── thumbs
│ ├── 3b73e6f3-5fe4-4b4d-832b-f33eb5bc3f1c
│ ├── 803d1ba0-6b49-4b02-b2fa-a57b1e45a768
│ └── 92c410ef-8ca0-44de-91eb-24f9936d669d
└── upload
├── 3b73e6f3-5fe4-4b4d-832b-f33eb5bc3f1c
└── 92c410ef-8ca0-44de-91eb-24f9936d669d
51 directories, 3 files
.
├── docker-compose.yml
├── .env
├── hwaccel.ml.yml
├── hwaccel.transcoding.yml
└── postgres [error opening dir]
can you run
docker compose down
then docker compose up
?
what hardware are you running Immich on?ubuntu server
latest build
using docker engine
intel machine
nvidia gpu
was working fine
130.1 wqs fjne alao
.2 killed it
can you run docker compose down then docker compose up?
ill do it again now
keeps scrolling that og error
log
^
and
lsblk
pleasei pasted that above
you did not have
-a
in the command i sent you
need to see the hidden files├── docker-compose.yml
├── .env
├── hwaccel.ml.yml
├── hwaccel.transcoding.yml
└── postgres [error opening dir]
kramer987@kramrtx:~/immich-app$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 7.3T 0 disk
└─sda1 8:1 0 7.3T 0 part /mnt/PlexLinuxDisk
nvme0n1 259:0 0 465.8G 0 disk
├─nvme0n1p1 259:1 0 1G 0 part /boot/efi
└─nvme0n1p2 259:2 0 464.7G 0 part /
kramer987@kramrtx:~/immich-app$
I don’t see /mnt/M mount
its there
i can access it
Yeah, it is local, not the actual mount you specify
I think I know what happened
the update deleted the .immich hidden fole
I don't see it in encoded videos dir
no, I don't think that is correct
a missing .immich file would cause this but there is no reason immich would delete it
we don't even have that code in our source code
i mean I ran the pull and that's it
the only thing that is mounted on your machine right now is
/mnt/PlexLinuxDisk
I did docker down. pull. up
that's a local disk
it was unmounted before that
the m is remote
did you mean to put
UPLOAD_LOCATION
to a local disk?and it's mounted. I'm navigating it on the Ubuntu machine now
yeah, it doesn't show the
/m
in lsblk
commandI'll reboot the machine again I guess
you can test quickly by navigating to
/mnt/m/
and create a test file
like a text file@Alex depending on how mounted I think lsblk only shows local volumes
then check it on your NAS, see if it shows
I am pretty certain that lsblk would show all mount points
nah
it doesn't on my debian VM
I have 8 drives
you saw it above
with df -h
those are all shares
ah, TIL
If encoded video is the only one missing the .immich file I suppose it's possible samba lost it during startup when the read/write lock was requested
that's the only other thing I can think of
the thing is immich never sends a delete syscall to that file. it opens for read and write mode
I swear I'm not making it up haha
file is gone. where do I get it...
I believe that something strange happened on your system as Immich doesn't delete that file
you can just run
touch .immich
if you are certain things are in orderI ran that
nothing happened?
in the encoded-video folder?
and the file is now there?
hold on
didnt realize i had to do that form there
navigating there now
btw alex, i am able to navigate and create files
from the ubuntu machine
got it
now it works
allbecause of that file wtf
what does touch do anyway?
create an empty file?
yep
my goodness
that was stressful
we will keep an eye on this
because this shouldn't happen
maybei ran the wrong pull comand i dunno
lol there is no wrong pull command 😄
sudo docker compose pull && docker compose up -d
ran that
after i docker downed
but that's also the same thing i did to move from 129
and 130.0
well you didn't use sudo for the second command...
so is that the issue then?
no sudo ?
i ran the same command before twice with success. i literally just hit up on the keyboard ot go through history of commands
ok so i guess this can be closed and marked solved
thank god for logs
I can't picture exactly why but I do feel like a sudo vs non sudo permission issue could contribute
glad it's fixed though
thank you for the responsiveness and help
This thread has been closed. To re-open, use the button below.