Closed Crono972 closed 1 year ago
What happen if you try to run the job again?
a lot of 403 request from : http://192.168.1.101:2283/api/jobs with this json as response payload : {"statusCode":403,"message":"Forbidden resource","error":"Forbidden"}
How do you mount the storage?
I am guessing this related to how the storage get mounted
The storage is mounted via /etc/fstab with the following content :
proc /proc proc defaults 0 0
PARTUUID=e3cad86b-01 /boot vfat defaults 0 2
PARTUUID=e3cad86b-02 / ext4 defaults,noatime 0 1
//192.168.1.254/Freebox/ /home/fhocs/Share cifs rw,users,credentials=/home/fhocs/.smbcredentials,iocharset=utf8,uid=1000,sec=ntlmv2,file_mode=0777,dir_mode=0777,_netdev 0 0
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
The raspberry pi was set with network on boot
When I boot, the share is mounted => then docker spin up
I don't have the 403 on the other user, only on Redacted
If I try to run the job again, nothing change
I don't think this has anything to do with the storage migration, but the access checks that were recently added as well. Do you know what version you were on prior to upgrading? Can you attach a screenshot of the thumbnail urls that are failing?
It should look something like this, although you probably are not getting 200's back, but 403. Can you verify the url for those requests is something like: http://host:port/api/asset/thumbnail/{assetId}?format=WEBP
?
I was on v1.38.0_60-dev prior to upgrading.
The error changed now I got 500 :
Here are the url like http://192.168.1.101:2283/api/asset/thumbnail/d5c6a858-592b-4c1d-bdb5-e7ad792fd7cf?format=WEBP Here one payload response exemple : {"errno":-2,"code":"ENOENT","syscall":"stat","path":"upload/697576e1-5ab8-4e25-ab8c-bb1f57f62557/thumb/591cc210c36001626907bbf6a27da99ec4424e0ec7440932a6c5dd02bc74e1fa/55cf1d66-611c-4a8e-bf06-4cea99834a11.webp"}
Oh, it's throwing an error indicating that file doesn't exist on disk. Can you verify that the path exists on your filesystem?
No the file doesn't exist on my filesystem and I can't regenerate it with the GENERATE THUMBNAILS jobs I can launch the GENERATE THUMBNAILS only on the admin account => it regenerate the thumbnails only on this account, not on the redacted one that need it to be regenerated
I have a feeling there is something funky going on with the mount volume.
Can you make sure the volume is mounted correctly and you can access the files in the volume?
You are right in that the jobs screen only shows up for the admin account, but the jobs there apply to the whole system, not just the admin account.
Sorry, when I checked the file in the filestorage I changed the permission on one of the subfolder -_- by reverting it, the issue is fix
Regression - Following storage migration
The thumbtails and image are not being displayed following storage migration. I still see the file name as the old naming : b74485c5-7cbd-4f4c-abfc-1bfbd3da838c and not the new naming even tought I did run the storage job migration.
The file in the physical location were successfully renamed / moved according to the storage job migration.
I have in the console when I open immich these error : a lot of 403 request from : http://192.168.1.101:2283/api/jobs with this json as response payload : {"statusCode":403,"message":"Forbidden resource","error":"Forbidden"}
My docker-compose file is
my redacted .env file is
I'm running Immich 1.39 on a raspberry pi 4 8gb. The folder where the photo are stored is a mounted folder linked to a drive in my internet box Task List
Please complete the task list below. We need this information to help us reproduce the bug or point out problems in your setup. You are not providing enough info may delay our effort to help you.
docker-compose
file..env
file.To Reproduce Steps to reproduce the behavior:
Expected behavior I except to see the photo in immich or to be able to reconstruct the index.
Screenshots Issue happen on mobile and desktop
System
1.39
1.39
Additional context I have two user on my immich.
The admin got no issue, everything was migrated flawlesly, the redacted one, not so lucky The redacted one cannot fully sync data at some point the mobile get stuck as well The photo newly added by Redacted are working fine