simulot / immich-go

An alternative to the immich-CLI command that doesn't depend on nodejs installation. It tries its best for importing google photos takeout archives.
GNU Affero General Public License v3.0
1.9k stars 55 forks source link

Stack command doesn't make any changes #521

Open ArtemSmaznov opened 3 weeks ago

ArtemSmaznov commented 3 weeks ago

I have recently switched to immich and installed immich-go to try and stack my photos. The stack command correctly identified files that should be stacked, but does not change anything on the server. After I run the command and refresh the immich timeline page in my browser, I see the mentioned photos remain unstacked. I've compared the file names just to be sure.

Not sure if there has been a regression to this command or if some setup is needed on my server side.

Immich server: v1.118.2 (docker) immich-go: 1:0.22.1-1 (pacman)

➜ immich-go -debug -log-level DEBUG stack -date=2024-07-09 -yes
immich-go  dev, commit none, built at unknown
. _ _  _ _ . _|_     _  _
|| | || | ||(_| | ─ (_|(_)
               v dev _)

Get server's assets...
Stack following images taken on 2024-07-09 17:15:17.765 -0400 EDT
  PXL_20240709_211517662.RAW-01.COVER.jpg
  PXL_20240709_211517662.RAW-02.ORIGINAL.dng
Stack following images taken on 2024-07-09 17:15:27.314 -0400 EDT
  PXL_20240709_211527223.RAW-01.MP.COVER.jpg
  PXL_20240709_211527223.RAW-02.ORIGINAL.dng
Check the log file:  /home/artem/.cache/immich-go/immich-go_2024-10-31_20-23-50.log
➜ cat /home/artem/.cache/immich-go/immich-go_2024-10-31_20-23-50.log
 INFO | Connection to the server http://server:2283 | time="2024-10-31T08:23.50 EDT"
 INFO | Server status: OK | time="2024-10-31T08:23.50 EDT"
 INFO | Connected, user: ***** | time="2024-10-31T08:23.50 EDT"
 INFO |  4 received, 2 stack(s) possible
 | time="2024-10-31T08:23.55 EDT"
simulot commented 3 weeks ago

Immich-go stack command is ineffective since an update of immich API.

I'm working on a new and better version more possibilities:

It's implemented for upload in the next release. I'll work on the stack command soon.

simulot commented 3 weeks ago

You can check the this release: https://github.com/simulot/immich-go/releases/tag/0.23.0-alpha3

ArtemSmaznov commented 3 weeks ago

That was fast.

Thanks, will check it out on the weekend.

ArtemSmaznov commented 1 week ago

That release doesn't have the stack command yet, right?

simulot commented 1 week ago

Correct, this is for upload. I'll re-implement the stack command soon.