Package Details: immich-cli 1.118.0-3

Git Clone URL: https://aur.archlinux.org/immich.git (read-only, click to copy)
Package Base: immich
Description: Self-hosted photos and videos backup tool
Upstream URL: https://github.com/immich-app/immich
Licenses: MIT
Submitter: wabi
Maintainer: wabi (pikl)
Last Packager: pikl
Votes: 10
Popularity: 1.60
First Submitted: 2022-12-30 11:41 (UTC)
Last Updated: 2024-10-15 21:23 (UTC)

Pinned Comments

pikl commented on 2024-08-05 09:52 (UTC)

From v1.111.0, this package does not build with nodejs < v20.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

simona commented on 2024-04-04 13:25 (UTC)

yes... fixed. thx

Senventise commented on 2024-04-04 12:54 (UTC)

@simona Same here, installing clang16 and adding /usr/lib/llvm16/bin/ to PATH fixed it for me.

simona commented on 2024-03-29 13:53 (UTC)

error occurred: Failed to find tool. Is clang-16 installed?

pikl commented on 2024-03-13 19:03 (UTC) (edited on 2024-03-13 21:59 (UTC) by pikl)

@ksj sorry the nginx optional dependency was silly mistake - will fix with a bump to v1.98.2-4.

I also recommend overriding the systemd service in /etc/systemd/system as the best option to modifying the BindsTo= dependency. Unfortunately drop-in service files cannot modify dependencies so going for the full override is the only option. I think best to rely on the flexibility of overriding systemd service files for your use-case and keep the provided service file as-is for the convenience of bringing-up/taking-down all services together.

ksj commented on 2024-03-13 10:15 (UTC)

@hrdl because there can be something more useful in service in future, I don't like disable updates on that with pacman. Also, I have found out, systemctl edit --full is writing the corrected file to /etc/systemd/system, not to /usr/lib/systemd/system, so it will not be rewritten and it takes the file from /etc. Override immich-machine-learning seems to be working. Thanks for that. I will go with this way.

So only remaining thing is the nginx dependency, which is still in required instead of optional.

ksj commented on 2024-03-13 09:52 (UTC)

@Mars160 I wanted to avoid these solutions. In that case I would need patch file for systemd service, pacman hook script for postinstall and it still can make trouble in some cases. That's why I choose ask for a edit of the package itself. In case systemctl edit would somehow disable the other services, maybe by editing them, I'm ok with that. It seems to be nice solution, which persist and don't make any troubles, but I still don't know how to write correct drop file.

hrdl commented on 2024-03-13 09:52 (UTC)

@ksj If you overwrite immich-server.service, then consider https://wiki.archlinux.org/title/Pacman#Skip_file_from_being_upgraded . Otherwise there's systemctl edit immich-machine-learning, with a drop-in snippet like this:

[Service]
ExecStart=
ExecStart=/usr/bin/tail -f /dev/null

Mars160 commented on 2024-03-13 09:41 (UTC)

@ksj Sorry, I failed, too. Maybe you should follow @hrdl. Sorry about wasting your time. Or pacman hook may be useful. But I have never tried it before. So this is just a possibility.

It seems that it can run a script automaticly after a package is installed.

Maybe you can write a script to automaticly edit the service file and let it run automaticly after the package is installed or updated in that case?

ksj commented on 2024-03-13 09:35 (UTC)

@hrdl but in that case it is the same. In case of systemctl edit --full will edit whole service and after installation of new version it will be rewritten, so i would have to rewrite it again and again after every installation.

How would look drop-in snippet for immich-machine-learning, which would disable the service? I think if would help edit ExecStart=. But I don't know how to create such snippet

hrdl commented on 2024-03-13 09:26 (UTC)

@ksj After= (and possibly BindsTo=) cannot be reset, so systemctl edit --full immich-server is probably more appropriate, unless you want to create a drop-in snippet for immich-machine-learning.service.