Immich installation in openmediavault-k8s fails

  • 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:

    • New
    • Official Post

    Can not reproduce that, but i assume you've tried to install the recipe and deleted it afterwards. That's what the error message implies. You need to delete the Helm chart and the namespace manually. Then the error should be gone.

    But then there is another problem: https://github.com/immich-app/immich-charts/issues/149

    The OMV immich recipe needs to be adapted to this behaviour first.

  • I wasn't able to delete it manually. Instead I recovered a backup that I made before.

    Unfortunately I'm absolutely new to Kubernetes and the issue you linked seems rather special and too complicated to solve on my own. Is there any chance that

    External Content gist.github.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.
    can be adapted easily?

  • Recipe has been modified to bypass the error message. See https://github.com/openmediava…59752bd9397aacf6ac9275eba. Update the recipes and then use the latest one to deploy immich.

    Hi,


    I am testing OMV on a VM (Fedora + virt-manager) to see how things work and all that. I got SMB Sharer folders to work without any issue, so then I wanted to try Immich.


    I created the 2 shared folders the recipe requires, I used the updated recipe you just mentioned, and things seemed to work fine.


    I have checked "Services -> Kubernetes-> Resources -> Pods" and this is what I can see:


    -------

    helm-install-immich-qkxcz - Succeded

    immich-machine-learning-6cc848f94-6ffsw - Running

    immich-postgresql-0 - Running

    immich-redis-master-0 - Running

    immich-server-666f678888-lzpvs - Running

    --------


    Problem is that when I go to https://immich.openmediavault.casa.local:8443 all I get is a "404 page not found".

    As I have OMV on a NATted VM, I had to add a record in my host laptop's /etc/hosts to point immich.openmediavault.casa.local and also openmediavault.casa.local to the VMs IP, not sure if there is a better way of doing it and that is why things are not working, or if the issue lays somewhere else as I have never used Kubernetes stuff before.


    Any advice would be appreciated.

  • In case it helps, these are some of the logs:


    Initializing Immich v1.119.0Detected CPU Cores: 4Starting api workerStarti - Pastebin.com
    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
    pastebin.com

    chmod: changing permissions of '/var/run/postgresql': Operation not permitted - Pastebin.com
    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
    pastebin.com

    1:C 06 Jan 2025 19:13:48.950 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo1: - Pastebin.com
    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
    pastebin.com

    [01/06/25 19:13:50] INFO  Starting gunicorn [ - Pastebin.com
    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
    pastebin.com

  • I have logged in to Kubernete's admin panel, and when I go to Immich's Server pod I see this on top:


    Code
    Startup probe failed: Get "http://10.42.0.59:2283/api/server/ping": dial tcp 10.42.0.59:2283: connect: connection refused

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!