raf
raf
Explore posts from servers
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
Despite the following outcome, I'd like to thank you and Mraedis for the great help. Not surprising to anyone, it was my mistake, nothing related to Immich itself. Thank you for your support.
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
Is it enough to just copy the originals, or should I copy the contents of the thumbs folder as well?
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
So copying those files to the NAS, as you suggested, should be a better option.
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
I see. Those are probably files uploaded from my phone. Do you think if I delete everything from the local directory, it would reupload again?
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
du -h --max-depth=1 | sort -hr
705M .
629M ./library
75M ./thumbs
1.4M ./upload
8.0K ./profile
8.0K ./encoded-video
8.0K ./backups
du -h --max-depth=1 | sort -hr
705M .
629M ./library
75M ./thumbs
1.4M ./upload
8.0K ./profile
8.0K ./encoded-video
8.0K ./backups
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
This is funny.
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
Output of local directory size:
du -h --max-depth=1 | sort -hr
629M ./2024
629M .
du -h --max-depth=1 | sort -hr
629M ./2024
629M .
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
But let me get back to the local directory size.
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
I'm very grateful for your help.
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
By the way, all the photos are shown correctly now, with correctly mounting the NAS directory and adding the .immich file to a /backups folder.
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
Should I unmount and check?
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
I assume those are sizes for the mount
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
du -h --max-depth=1 | sort -hr
53G .
9.9G ./2021
9.1G ./2023
9.1G ./2020
9.0G ./2022
8.0G ./2024
7.9G ./2019
4.3M ./2018
3.6M ./2015
1.4M ./2017
du -h --max-depth=1 | sort -hr
53G .
9.9G ./2021
9.1G ./2023
9.1G ./2020
9.0G ./2022
8.0G ./2024
7.9G ./2019
4.3M ./2018
3.6M ./2015
1.4M ./2017
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
I see, so the local files are disabled (or hidden) once the mount is active?
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
The UPLOAD_LOCATION is pointing to the mount, that is in the NAS. I mounted the NAS back, and I assume it merged to what was in the local folder before.
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
I have these:
ls -la
total 4
drwxr-xr-x 2 rafaelfe rafaelfe 0 Oct 10 17:18 .
drwxr-xr-x 2 rafaelfe rafaelfe 0 Nov 6 00:13 ..
drwxr-xr-x 2 rafaelfe rafaelfe 0 Oct 10 17:18 encoded-video
drwxr-xr-x 2 rafaelfe rafaelfe 0 Oct 17 19:10 library
drwxr-xr-x 2 rafaelfe rafaelfe 0 Oct 10 17:18 profile
drwxr-xr-x 2 rafaelfe rafaelfe 0 Oct 10 17:18 thumbs
drwxr-xr-x 2 rafaelfe rafaelfe 0 Oct 10 17:18 upload
ls -la
total 4
drwxr-xr-x 2 rafaelfe rafaelfe 0 Oct 10 17:18 .
drwxr-xr-x 2 rafaelfe rafaelfe 0 Nov 6 00:13 ..
drwxr-xr-x 2 rafaelfe rafaelfe 0 Oct 10 17:18 encoded-video
drwxr-xr-x 2 rafaelfe rafaelfe 0 Oct 17 19:10 library
drwxr-xr-x 2 rafaelfe rafaelfe 0 Oct 10 17:18 profile
drwxr-xr-x 2 rafaelfe rafaelfe 0 Oct 10 17:18 thumbs
drwxr-xr-x 2 rafaelfe rafaelfe 0 Oct 10 17:18 upload
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
I'm sorry, but what is the backup folder inside the UPLOAD_LOCATION?
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
Oh, that sounds bad. Should I create an empty file?
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
Ok, mounted back:
df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.3G 0 7.3G 0% /dev
tmpfs 1.5G 3.0M 1.5G 1% /run
/dev/sda2 218G 50G 157G 25% /
tmpfs 7.3G 0 7.3G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda1 511M 5.9M 506M 2% /boot/efi
tmpfs 1.5G 0 1.5G 0% /run/user/1000
//192.168.178.49/photos 3.6T 564G 3.1T 16% /mnt/nas/photos
df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.3G 0 7.3G 0% /dev
tmpfs 1.5G 3.0M 1.5G 1% /run
/dev/sda2 218G 50G 157G 25% /
tmpfs 7.3G 0 7.3G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda1 511M 5.9M 506M 2% /boot/efi
tmpfs 1.5G 0 1.5G 0% /run/user/1000
//192.168.178.49/photos 3.6T 564G 3.1T 16% /mnt/nas/photos
Restarted the container, but it is not starting:
[Nest] 7 - 12/21/2024, 4:05:15 PM ERROR [Microservices:StorageService] Failed to read upload/backups/.immich: Error: ENOENT: no such file or directory, open 'upload/backups/.immich'
microservices worker error: Error: Failed to read "<UPLOAD_LOCATION>/backups/.immich - Please see https://immich.app/docs/administration/system-integrity#folder-checks for more information."
[Nest] 17 - 12/21/2024, 4:05:15 PM LOG [Api:EventRepository] Initialized websocket server
microservices worker exited with code 1
Killing api process
Container stopped
[Nest] 7 - 12/21/2024, 4:05:15 PM ERROR [Microservices:StorageService] Failed to read upload/backups/.immich: Error: ENOENT: no such file or directory, open 'upload/backups/.immich'
microservices worker error: Error: Failed to read "<UPLOAD_LOCATION>/backups/.immich - Please see https://immich.app/docs/administration/system-integrity#folder-checks for more information."
[Nest] 17 - 12/21/2024, 4:05:15 PM LOG [Api:EventRepository] Initialized websocket server
microservices worker exited with code 1
Killing api process
Container stopped
78 replies
IImmich
Created by raf on 12/21/2024 in #help-desk-support
Error loading images after storage template migration
I will stop the container and mount.
78 replies