haggis
haggis
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
I added the repository of myqnap to the AppCenter and then installed it from there: https://www.myqnap.org/product/portainer/
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
I'm using Portainer and there I just pasted the docker-compose.yaml from the docs + modified the volume mounts according to my folder structure
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
This
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
I also do have the Coral AI accelerator module. However, it's not yet supported by Immich.
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
On my 464 with also 8GB I'm hosting 10k photos and 700 videos. The initial import took approx 1 day. After that, I don't see anything that could be faster. Search by specific terms takes maybe 4-5 seconds. I would go with the qnap again.
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
On QNAP you can create new cronjobs by doing a vi /etc/config/crontab followed by crontab /etc/config/crontab && /etc/init.d/crond.sh restart. You can place the script called by the cronjob wherever you like. I just haven't access to the concrete command. Hope this helps you anyway.
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
I'm not installing immich-cli at all. It's already part of the immich_server container.
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
But it comes pre-installed as well
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
I hadn't to until today
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
Exactly, because immich-cli comes pre-installed within the server container. I just had to use npm update @immich/cli to get the latest version
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
Which command are you referring to?
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
However, I just ran into the issue that the cli within the server image was not up to date and I had to update it manually
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
On the QNAP crontab: */2 * * * * /share/CE_CACHEDEV1_DATA/.qpkg/container-station/bin/docker exec immich_server /mnt/scripts/flock-patrick.sh >/dev/null 2>&1 And the script which is mounted to the container:
#!/bin/bash

flock -n patrick.lock /mnt/scripts/import-patrick.sh
#!/bin/bash

flock -n patrick.lock /mnt/scripts/import-patrick.sh
And the import script:
#!/bin/bash

immich login-key http://localhost:3001/api xxx
immich upload --album --recursive --delete /mnt/Patrick/Observed/
immich logout
#!/bin/bash

immich login-key http://localhost:3001/api xxx
immich upload --album --recursive --delete /mnt/Patrick/Observed/
immich logout
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
Yes, I run the cli within the server container with a cron job by running docker exec from the host system
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
You're welcome
64 replies
IImmich
Created by Cook13s on 3/8/2024 in #help-desk-support
QNAP Setup Guide
Hi @Cook13s , I'm running Immich on a QNAP TS-464 within Portainer. I had no issues so far.
64 replies