July 29, 20241 yr Hi, Trying to install immich and getting: ERROR [ExceptionHandler] getaddrinfo ENOTFOUND database Error: getaddrinfo ENOTFOUND database I am using the docker compose stack as per the site....is it still the best way to deploy? thanks
August 5, 20241 yr On 7/29/2024 at 4:18 PM, bar1 said: Hi, Trying to install immich and getting: ERROR [ExceptionHandler] getaddrinfo ENOTFOUND database Error: getaddrinfo ENOTFOUND database I am using the docker compose stack as per the site....is it still the best way to deploy? thanks "using docker compose stack as per the site" I'm going to assume that you are referring to the Immich site? I would highly recommend following the steps laid out by Space Invader One. Running on unRaid is not always accounted for when developers write how-tos for Docker, but Ed makes it easy to follow for us. Without knowing anything about your config, i would suspect the immich app is looking for the database, but can't find it. If you get through the youtube video and still have issues, please post your app template and maybe we can help you out.
August 16, 20241 yr Has anyone gotten the spaceinvader method to work with a MACVLAN network? I have been able to get Immich up and running on a bridge network. However, I only have access through the app via a local IP address. I do have a cloudflare tunnel that is working and can access immich from the outside through a web browser just fine. I would like to be able to solve this issue by using split DNS through pi hole. When I try to put Immich on the br0 network, it can't seem to access the PostGresSQL_Immich docker. This same error occurs if I try to move the database to the br0 network as well and assign it static IP address. I also have other dockers on the br0 network that are working fine as well. As soon as I change immich back to the bridge network everything works just fine..
August 19, 20241 yr Hi, I have had everything running via cloudflare tunnel, followed @SpaceInvaderOne guide but after a month I have received an email from cloudflare advising me of my analytics, 44.63K requests! 507 visits! Is this something I should be concerned about? I have 6 family members using immich on their phones for my setup.
August 28, 20241 yr On 8/6/2024 at 2:51 AM, capnJiP said: "using docker compose stack as per the site" I'm going to assume that you are referring to the Immich site? I would highly recommend following the steps laid out by Space Invader One. Running on unRaid is not always accounted for when developers write how-tos for Docker, but Ed makes it easy to follow for us. Without knowing anything about your config, i would suspect the immich app is looking for the database, but can't find it. If you get through the youtube video and still have issues, please post your app template and maybe we can help you out. Hi, I have a question concerning the youtube tutorial. When I try to set up the Immich container the template asks for "MACHINE_LEARNING_HOST:" and "MACHINE_LEARNING_PORT:". These two sections did not exist yet when the video was done. Do I need to amend them, especially the 0.0.0.0 host? Many Thanks for your reply and help!
August 29, 20241 yr 3 hours ago, Pencils said: Hi, I have a question concerning the youtube tutorial. When I try to set up the Immich container the template asks for "MACHINE_LEARNING_HOST:" and "MACHINE_LEARNING_PORT:". These two sections did not exist yet when the video was done. Do I need to amend them, especially the 0.0.0.0 host? Many Thanks for your reply and help! I don't have these vars on mine. I set it up long before SI1 did his video. I THINK maybe that's only for setting up an external ML container outside of the AIO imagegenius container. I could be wrong, though. All I know is mine works. 😄 Did a quick search on the Discord channel and I saw this post from June. Apparently those vars have been changed/deprecated? * for ML I did just realize I was still using MACHINE_LEARNING_PORT and MACHINE_LEARNING_HOST as variables and the breaking changes say it's IMMICH_PORT and IMMICH_HOST: 2. Environment variables SERVER_PORT, MICROSERVICES_PORT, and MACHINE_LEARNING_PORT were renamed to IMMICH_PORT HOST and MACHINE_LEARNING_HOST were renamed to IMMICH_HOST " And a reply from mertalev: " You're not supposed to change these envs unless you have a crazy setup Remove these envs and reset ml settings in the Immich admin section if you have changed something here " So I think you can leave those out. Edited August 29, 20241 yr by Mattaton
August 29, 20241 yr Thanks for your reply! Leave this out as in do not change them? Is the Immich Docker in community add-ons generally so well maintained that it will work with relative low maintenance or does it require regular checks of the variables?
August 29, 20241 yr 4 hours ago, Pencils said: Thanks for your reply! Leave this out as in do not change them? Is the Immich Docker in community add-ons generally so well maintained that it will work with relative low maintenance or does it require regular checks of the variables? I don't have those vars at all on my set up. Not just blank, but removed (never had them). I believe there are built in default for them, so you only need them if you need to change the setting. Which it sounds like you don't. I've had to change the template once, maybe twice, in the time I've had it running. Generally very low maintenance. Even with some of the breaking changes in immich, they've kinda done the work for us with the AIO. I have updated the container every time there's an update with no issues at all. Trying to recall, but I think the biggest changes I've had to make were switching to the vector postgresql repo and changing to the cuda tag on the immich repo (because I have an Nvidia GPU). Best advice would be to check the release notes each time there's an update to make sure there're no hoops to jump through. So far that's told me everything I need to know to keep it spinning like a top. 😊 Oh, and definitely join the Discord server. Very helpful folks over there. Not that there aren't helpful folks here, but the Discord server is very active with immich as the main focus. Edited August 29, 20241 yr by Mattaton
August 29, 20241 yr Great, thanks. I have eventually settled to a new start and set up immich and postgres again. It is currently going though the external libraries etc. One thing I never got working was using the companion app (android in my case). It never worked and also now again all I get is an error message: "Your App and major version is not compatible with the server!" Both are 1.112.1 The app's log says "pinging server with response code 200" from API service" A slightly more detailed (buts still very abbreviated) log here: 2024-08-30 00:04:54.853658 | INFO | ApiService | Pinging server with response code 200 | 2024-08-30 00:04:05.828037 | SEVERE | AuthenticationNotifier | Logout failed | LateInitializationError: Field 'authenticationApi' has not been initialized. | 2024-08-30 00:04:05.827877 | SEVERE | SplashScreenPage | Unable to login using offline or online methods - Logging out completely | 2024-08-30 00:04:05.827612 | SEVERE | SplashScreenPage | Missing authentication, server, or endpoint info from the local store | Any idea what could be wrong? I tried clearing the app's data and cache but no change.
August 30, 20241 yr 20 hours ago, Pencils said: Great, thanks. I have eventually settled to a new start and set up immich and postgres again. It is currently going though the external libraries etc. One thing I never got working was using the companion app (android in my case). It never worked and also now again all I get is an error message: "Your App and major version is not compatible with the server!" Both are 1.112.1 The app's log says "pinging server with response code 200" from API service" A slightly more detailed (buts still very abbreviated) log here: 2024-08-30 00:04:54.853658 | INFO | ApiService | Pinging server with response code 200 | 2024-08-30 00:04:05.828037 | SEVERE | AuthenticationNotifier | Logout failed | LateInitializationError: Field 'authenticationApi' has not been initialized. | 2024-08-30 00:04:05.827877 | SEVERE | SplashScreenPage | Unable to login using offline or online methods - Logging out completely | 2024-08-30 00:04:05.827612 | SEVERE | SplashScreenPage | Missing authentication, server, or endpoint info from the local store | Any idea what could be wrong? I tried clearing the app's data and cache but no change. If you haven't already, this would be a great request to bring to the Discord server. There's a support channel there that would be best equipped to help you with something like this.
August 31, 20241 yr 16 hours ago, Mattaton said: If you haven't already, this would be a great request to bring to the Discord server. There's a support channel there that would be best equipped to help you with something like this. Will do so, just need to sign up first. Thanks for the tip 👍
August 31, 20241 yr On 8/30/2024 at 8:52 PM, Mattaton said: If you haven't already, this would be a great request to bring to the Discord server. There's a support channel there that would be best equipped to help you with something like this. Hi there, I tried and signed up to the Unraid official channel but there appears only to be Unraid connect related information and general rules/announcements/news. Which discord server are you talking about explicitly?
August 31, 20241 yr 11 minutes ago, Pencils said: Hi there, I tried and signed up to the Unraid official channel but there appears only to be Unraid connect related information and general rules/announcements/news. Which discord server are you talking about explicitly? The immich discord server, not unraid. 😄
September 2, 20241 yr Hey. I noticed that the PostgreSQL_Immich container has no permissions for group or other by default. If I manually change them to read-only, they revert to none when the container is restarted. This is messing with my backups, and I don't have this issue with any of my other containers. Any idea how to fix this such that group/other are persistently read-only? Thank you!
September 3, 20241 yr 14 hours ago, Marco84 said: Hey. I noticed that the PostgreSQL_Immich container has no permissions for group or other by default. If I manually change them to read-only, they revert to none when the container is restarted. This is messing with my backups, and I don't have this issue with any of my other containers. Any idea how to fix this such that group/other are persistently read-only? Thank you! I've had this problem with postgresql (and other containers) for a while. Are you seeing that the owner of postgresql config folder also changes to UNKNOWN? I have yet to understand why this happens. I have set up a user script (user scripts plugin) that changes the owner to nobody each night before backups are set to run.
October 3, 20241 yr I am having a strange problem trying to run two separate Immich docker containers at once... I have two separate dockers, one called immich-old and the other called immich-new. Each has its own Redis and Postgres containers, which run on different ports. Likewise, the webuis for the two Docker instances of Immich are on different ports (8078 and 8080, respectively). All the containers are pointed to unique file shares. Each instance of Immich runs fine on its own, with different libraries, settings, etc. But when both instances are running, logging into the webgui for either one of them logs me out of the other one. Any idea why this is happening and how I can fix it, so I can have both instances running simultaneously? Edited October 3, 20241 yr by MrMastodonFarm
October 14, 20241 yr Hi, Hoping someone can help point me in the right direction. I just followed SpaceInvader One's excellent guide and have Immich & PostgreSQL_Immich installed. My issue is that when I try to upload a file I get the following error in the log: [Nest] 594 - 10/14/2024, 5:28:40 PM ERROR [Api:AssetMediaService~b69xn7ut] Error uploading file Error: EPERM: operation not permitted, utime '/photos/upload/ca0302b3-10bc-467e-be59-c2d3b75239bc/ef/7d/ef7d26e5-733e-42ef-92f4-6a471ab6e502.png' Error: EPERM: operation not permitted, utime '/photos/upload/ca0302b3-10bc-467e-be59-c2d3b75239bc/ef/7d/ef7d26e5-733e-42ef-92f4-6a471ab6e502.png' at async Object.utimes (node:internal/fs/promises:1134:10) at async AssetMediaService.create (/app/immich/server/dist/services/asset-media.service.js:279:9) at async AssetMediaService.uploadAsset (/app/immich/server/dist/services/asset-media.service.js:96:27) at async AssetMediaController.uploadAsset (/app/immich/server/dist/controllers/asset-media.controller.js:40:29) [Nest] 594 - 10/14/2024, 5:28:40 PM ERROR [Api:ErrorInterceptor~b69xn7ut] Unknown error: Error: EPERM: operation not permitted, utime '/photos/upload/ca0302b3-10bc-467e-be59-c2d3b75239bc/ef/7d/ef7d26e5-733e-42ef-92f4-6a471ab6e502.png' and a similar broken image graphic in the browser: The only deviation away from the guide is that in my unraid setup I have a raid controller connected as a 'Unassigned Disk Devices' so Path is configured as below: I'm guessing it is a permissions issue as the filesystem on the array is NTFS - It looks as though the correct folder structure has been created because when I browse to the share I can see: I'd apppreciate any thoughts/assistance - Thanks in advance! Edited October 14, 20241 yr by StalkS typeo
October 15, 20241 yr Hi im running immich spaceinvader version. Should i be worried before updating from v1.117 to v1.118 based on this: https://github.com/immich-app/immich/releases/tag/v1.118.0 Thanks. Edited October 15, 20241 yr by Januszmirek
October 15, 20241 yr 38 minutes ago, Januszmirek said: Should i be worried before updating from v1.117 to v1.118 based on this: I don't think so. When you update the container, it'll already include any necessary changes. There are breaking changes all the time, and if you're maintaining your own compose and config files, then you have to make the various changes outlined in each release. BUt as we're using someone else's container, it's up to them to make changes and releases. I just checked and an update didn't show up - but forcing an update will pull 118. Seems to work fine. Edited October 15, 20241 yr by Espressomatic
October 16, 20241 yr 15 hours ago, Januszmirek said: Hi im running immich spaceinvader version. Should i be worried before updating from v1.117 to v1.118 based on this: https://github.com/immich-app/immich/releases/tag/v1.118.0 Thanks. The imagegenius immich container (which I believe the SI1 template is based on) has most all of these breaking changes covered for you. It removes some of the flexibility/configurability of the official immich container(s) in exchange for ease-of-maintenance. Which is a-okay with me. Been rocking it since day one. 🙂
October 16, 20241 yr Yeah, I guess the key here is that it's essentially someone else's container hence all updates should go smoothly unless there's some unraid specific setting which should be adjusted in the container, but other this we should be good with those 'breaking changes' updates. Thanks again for clarification.
October 16, 20241 yr Author when these breaking changes come out, I usually wait until I have a couple hours free before doing the update. Just in case. Glad to hear this one went swimmingly with all of you. Thanks for sharing!
October 17, 20241 yr Hey guys I got immich setup, but I am wondering how do I get my nvidia gpu to be used? I set extra parameters with --runtime=nvidia but it's still not utilizing the gpu. Is there anything else I need to add?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.