lpares12
lpares12
Explore posts from servers
IImmich
Created by lpares12 on 12/25/2024 in #help-desk-support
Display device photos and choose which ones to back up in Android app
It's allowed all the time. But I don't have location ON, unless I'm driving. I'm not sure my phone saves the date as exif data though. But in any case these pictures were received from an iphone on whatsapp
16 replies
IImmich
Created by lpares12 on 12/25/2024 in #help-desk-support
Display device photos and choose which ones to back up in Android app
It does work, but sadly the dates are set as the upload date, instead of the date the photo was taken. The same exact photos uploaded through the web interface don't have this issue.
16 replies
IImmich
Created by lpares12 on 12/25/2024 in #help-desk-support
Display device photos and choose which ones to back up in Android app
As a workaround for now, I've created a non-immich Album on my android gallery. Making immich backup files in that album, and then I select the photos I want and add them to the album. But this seems to break the dates, and add all the metadata (dates) to the same day of the immich upload, instead of the photo date
16 replies
IImmich
Created by lpares12 on 12/25/2024 in #help-desk-support
Display device photos and choose which ones to back up in Android app
In my phone gallery I dont have any option to backup to immich and the immich gallery doesnt show unbacked photos.
16 replies
IImmich
Created by lpares12 on 12/25/2024 in #help-desk-support
Display device photos and choose which ones to back up in Android app
When opening the immich app, all the photos I see are the ones I have on my immich server. I dont see the ones in my phone (that aren't backed up) So there's no way to select the photos on my phone and back them up to immich
16 replies
IImmich
Created by lpares12 on 12/5/2024 in #help-desk-support
Exposing locally and remotely
That's what I meant yeah, but my router doesnt even allow to change the DNS servers, so I think I'm cooked for that. Even with the http fallback changes, I don't have any way to tell my devices how to find my immich.mydomain.com when I'm on my network and Internet is down
18 replies
IImmich
Created by lpares12 on 12/5/2024 in #help-desk-support
Exposing locally and remotely
But as I understand the split dns should be in the router, no? In my case, this is not possible since my ISP router doesn't support it (and I can't replace it). Also, it wouldn't fix the issue of accessing with http vs https, since the termination is done in the VPS/Cloudflare tunnel not in the local.
18 replies
CDCloudflare Developers
Created by lpares12 on 10/3/2024 in #general-help
PUT object with presigned URL sets the incorrect Type in R2 object
Okay, this seems like a limitation of R2: https://github.com/boto/boto3/issues/934 Since R2 does not allow POST for uploading objects to the bucket, so there's no way around it. In any case, R2 should read the content-type of the request I'm making I believe.
3 replies
CDCloudflare Developers
Created by lpares12 on 10/3/2024 in #general-help
PUT object with presigned URL sets the incorrect Type in R2 object
Note that setting the ContentType when creating the presigned URL just makes the request return a CORS error. E.g: this does not work:
url = s3.generate_presigned_url('put_object',
Params={
'Bucket': bucket_name,
'Key': object_name,
'ContentType': 'image/jpeg'},
ExpiresIn=expiration,
HttpMethod='PUT')
url = s3.generate_presigned_url('put_object',
Params={
'Bucket': bucket_name,
'Key': object_name,
'ContentType': 'image/jpeg'},
ExpiresIn=expiration,
HttpMethod='PUT')
3 replies
CDCloudflare Developers
Created by lpares12 on 7/9/2024 in #general-help
R2: Create a presigned URL with Temporary access credentials
Really late (I have been working on other stuff), but I confirm that with this package it works! I don't remember which package I used before or how I used it, so I can't really compare. And there must be something wrong in my custom function when adding the temporary token info, but In any case, I can work from this now!
22 replies
CDCloudflare Developers
Created by lpares12 on 7/9/2024 in #general-help
R2: Create a presigned URL with Temporary access credentials
I'm gonna try with the package later and see if I make any difference. But the same exact function I used for R2 worked fine in S3.
22 replies
CDCloudflare Developers
Created by lpares12 on 7/9/2024 in #general-help
R2: Create a presigned URL with Temporary access credentials
I'm using all the data that R2 sends back from the r2/temp-access-credentials api call. So I'm using all the new secret key, id and token.
22 replies
CDCloudflare Developers
Created by lpares12 on 7/9/2024 in #general-help
R2: Create a presigned URL with Temporary access credentials
Could I have the code you use to generate the presigned URL?
22 replies
CDCloudflare Developers
Created by lpares12 on 7/9/2024 in #general-help
R2: Create a presigned URL with Temporary access credentials
I have the exact same. The parent key has full control of R2, but R2 keeps replying that X-Amz-Security-Token is not allowed. Or just gives a CORS error (but I found out google chrome shows all errors as CORS errors 😅 ). I'd be great to see an example of how you are using this. Could it be the object I'm trying to access is "inside a folder" (e.g. whatever/whatever2/object.png). Even though I have tried in the "root" of the bucket and had the same problem I believe.
22 replies
CDCloudflare Developers
Created by lpares12 on 7/9/2024 in #general-help
R2: Create a presigned URL with Temporary access credentials
Did you generatw the temporary credentials with the R2 endpoint? Are they for a specific bucket or for global access?
22 replies
CDCloudflare Developers
Created by lpares12 on 7/9/2024 in #general-help
R2: Create a presigned URL with Temporary access credentials
Could you share the code? It does not work for me. The R2 server does not accept a X-Amz-Security-Token parameter. Hence, it seems to not follow the S3 specification. I of course, use the new Secret Key, Secret Key Id and the token
22 replies
CDCloudflare Developers
Created by lpares12 on 7/9/2024 in #general-help
R2: Create a presigned URL with Temporary access credentials
No news about this?
22 replies
CDCloudflare Developers
Created by lpares12 on 7/9/2024 in #general-help
R2: Create a presigned URL with Temporary access credentials
Hi! I couldn't manage to do it. My guess is that you can't presign URLs with a temporary token (or you can but the server won't accept it). This is possible in AWS S3 btw
22 replies
CDCloudflare Developers
Created by lpares12 on 7/9/2024 in #general-help
R2: Create a presigned URL with Temporary access credentials
bump
22 replies