Comments (5)
I'm not quite sure where this is going wrong, but it doesn't quite seem like an Immich issue to me. This seems like either an issue with the bitnami chart or kubernetes dns, or with how the redis library we use resolves the address.
from immich.
The Bitnami charts indeed lacks configuration by not providing ipFamily and/or ipFamilyPolicy, but an IPv6-only service should be working in the first place.
Kubernetes DNS works fine, tested by installing ping in the pod then running:
root@immich-server-954d7b649-mqgj6:/usr/src/app# ping immich-redis-master
PING immich-redis-master(immich-redis-master.immich.svc.cluster.local (<ipv6-prefix-redacted>:701::2:c924)) 56 data bytes
^C
--- immich-redis-master ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
root@immich-server-954d7b649-mqgj6:/usr/src/app# ping immich-redis-master -4
ping: immich-redis-master: Address family for hostname not supported
This is expected because the service is IPv6-only, so AAAA records works fine but querying A returns no host.
It does looks like an error in ioredis: https://github.com/redis/ioredis/blob/main/lib/redis/RedisOptions.ts#L201
This issue: mastodon/mastodon#27043 seems to mention a workaround by setting ?family= in the URL. Is there a way to provide a full Redis URL to Immich ?
from immich.
You can set REDIS_URL (see https://immich.app/docs/install/environment-variables#redis), which expects base64-encoded json matching the RedisOptions type you linked.
from immich.
Thanks, that did work!
It does not seem very "standard" however, REDIS_URL usually refers to an URL like this : "redis://hostname:port/?options".
from immich.
It was done this way to support redis sentinel, which I believe isn't possible through that (admittedly more sensible) URL format.
from immich.
Related Issues (20)
- Immich lacks accessibility for blind users HOT 4
- Searching for text in documents, memes, etc does not work currently HOT 1
- Album shows date range but all image a from same day
- Documentation suggestion: Backup and Restore page needs restart in YML HOT 1
- Podman and Immich: Redis can't be reached HOT 1
- Video imported from Google Photo Takeout slowed down HOT 3
- Ghost files HOT 5
- Parallel horizontal lines when zoom in pictures
- Storage template issue
- Scrolling initiates a "tap" from the OS HOT 1
- The "walwriter" process of "postgres" continues to write data to the hard disk HOT 1
- Immich CLI add to album broken on windows HOT 6
- Bug: Web top bar is too large on the video player in album view HOT 1
- cannot open ./start-server.sh: No such file HOT 1
- Cant add photos to album from Search window HOT 1
- Search engine not working. Creating errors in the log
- search engine not working creating errors in the log HOT 2
- iOS app: `your app major version is not compatible with the server` (since the release of v1.106.4)
- iOS、other browser can't login
- immich_redis and immich_postgres stuck "starting"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from immich.