I'm trying to install Immich via openmediavault-k8s, but without any success.
My OMV is version 7.4.17-2 and it runs as VM on a Proxmox server. I've created 3 new directories (backup-k8s, immich-import and immich-library) for this purpose. I set the first one for Kubernetes snapshots and the other 2 in the Immich recipe. So my recipe starts with:
Code
{% set runAsUser = 'nobody' %}
{% set runAsGroup = 'users' %}
{% set librarySharedFolderName = 'immich-library' %}
{% set importSharedFolderName = 'immich-import' %}
The installation always fails with the message:
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; kubectl apply -f '/tmp/Wy7QBc' 2>&1' with exit code '1': Warning: Detected changes to resource immich-app which is currently being deleted.
namespace/immich-app unchanged
persistentvolume/immich-library unchanged
Warning: Detected changes to resource immich which is currently being deleted.
helmchart.helm.cattle.io/immich configured
resource mapping not found for name: "immich-websecure" namespace: "immich-app" from "/tmp/Wy7QBc": no matches for kind "IngressRoute" in version "traefik.containo.us/v1alpha1"
ensure CRDs are installed first
Error from server (Forbidden): error when creating "/tmp/Wy7QBc": persistentvolumeclaims "immich-library" is forbidden: unable to create new content in namespace immich-app because it is being terminated
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; kubectl apply -f '/tmp/Wy7QBc' 2>&1' with exit code '1': Warning: Detected changes to resource immich-app which is currently being deleted.
namespace/immich-app unchanged
persistentvolume/immich-library unchanged
Warning: Detected changes to resource immich which is currently being deleted.
helmchart.helm.cattle.io/immich configured
resource mapping not found for name: "immich-websecure" namespace: "immich-app" from "/tmp/Wy7QBc": no matches for kind "IngressRoute" in version "traefik.containo.us/v1alpha1"
ensure CRDs are installed first
Error from server (Forbidden): error when creating "/tmp/Wy7QBc": persistentvolumeclaims "immich-library" is forbidden: unable to create new content in namespace immich-app because it is being terminated in /usr/share/php/openmediavault/system/process.inc:247
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/kubectl.inc(191): OMV\System\Process->execute()
#1 [internal function]: Engined\Rpc\OMVRpcServiceKubectl->apply()
#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
#4 /usr/share/openmediavault/engined/rpc/k8s.inc(353): OMV\Rpc\Rpc::call()
#5 [internal function]: Engined\Rpc\OMVRpcServiceK8s->applyRecipe()
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
#7 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
#8 /usr/sbin/omv-engined(544): OMV\Rpc\Rpc::call()
#9 {main}
Display More