I
Immich2y ago
TIEB62

Retrieve / Provide Device ID

My immich is behind Cloudflare, so there is a 100MB limit, my phone uploaded some photos but is now stuck at a big video, so I copied everything I had on my phone to my PC to upload them directly to the local IP address using the CLI, however as I cannot provide the device ID (to put the same as my phone) it just tries to upload EVERYTHING, that's obviously not what I want. Any idea ? I looked a bit in the code of the CLI and I found the deviceId variable, I could rebuild the CLI putting a fixed device ID but then how can I retrieve the ID of my phone ?
3 Replies
J
J2y ago
For a one off operation, I believe you can get the device id from the assets table from the db
TIEB62
TIEB62OP2y ago
Okay thx
J
J2y ago
I think there’s an option in the cli so you don’t need to edit it

Did you find this page helpful?