I
Immich4mo ago
Antonio

Issues with Immich and OpenMediaVault

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 recipes I have found linked to on the docs require, 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**
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 NATed 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. In case it helps, these are some of the logs: https://pastebin.com/PGGSBbF1 https://pastebin.com/ZgdjD0YF https://pastebin.com/7A5MYjfL https://pastebin.com/DrsDmjN0 Any advice would be appreciated.
Pastebin
Initializing Immich v1.119.0Detected CPU Cores: 4Starting api worke...
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
chmod: changing permissions of '/var/run/postgresql': Operation not...
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
1:C 06 Jan 2025 19:13:48.950 * oO0OoO0OoO0Oo Redis is starting oO0O...
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
[01/06/25 19:13:50] INFO  Startin...
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.
8 Replies
Immich
Immich4mo ago
:wave: Hey @Antonio, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time). 2. :blue_square: read applicable release notes. 3. :blue_square: reviewed the FAQs for known issues. 4. :blue_square: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed.
Zeus
Zeus4mo ago
Hello, for immich you should be connecting using local IP, port 2283 Sounds like there’s a lot of non immich stuff going on here that’s probably causing the issue
Antonio
AntonioOP4mo ago
Hi, I have followed this recipe, which says that I need to connect on port 8443: https://github.com/openmediavault/openmediavault-k8s-recipes/blob/main/recipes/immich/recipe.yaml And it must be that port, cause 2283 is not even open. The reason it is not 8443 directly I think it has to do with the fact that the install is done using Kubernetes, more info here: https://www.openmediavault.org/?p=3673
Antonio
AntonioOP4mo ago
I can see this from teh Kubernetes admin panel:
No description
bo0tzz
bo0tzz4mo ago
Do you have the option to not use Kubernetes? I think your unfamiliarity with it plus whatever automatic stuff OMV is doing to deploy to it will make it pretty hard to figure out any issues, both this one and whatever may happen in the future If you can I'd strongly recommend just doing a plain docker compose deployment using our install guide
Antonio
AntonioOP4mo ago
Yeah I could use Docker compose directly, thing is now OMV is favoring the use of Kubernetes to handle all this stuff instead of Docker directly, therefore I would like to see if I can figure this one out 🙂
bo0tzz
bo0tzz4mo ago
TrueNAS tried that before and (sensibly) moved away from that Kubernetes is awesome but only if it's being used by someone familiar with it. Trying to use it as the target for these "managed" tools always ends in trouble
Antonio
AntonioOP4mo ago
Yeah I hear you, well, I will try for a bit, and if not I guess I will go the Docker compose route, thanks anyways! Quick question, in teh recipe there is this: {% set runAsUser = 'nobody' %} {% set runAsGroup = 'users' %} Is that user and that group fine? As in having enough privs and all that?

Did you find this page helpful?