Skip to content

Conversation

@joshtrichards
Copy link
Member

Summary

When using phpredis with a UNIX socket, the port should either not be specified at all or be <1.

https://github.com/phpredis/phpredis?tab=readme-ov-file#connect-open

https://github.com/phpredis/phpredis/blob/d0b0c5cfdde9d49a265ca4bf7184e3998863aed0/library.c#L3332-L3334

TODO

  • ...

Checklist

When using phpredis with a UNIX socket, the port should either not be specified at all or be `<1`. 

https://github.com/phpredis/phpredis?tab=readme-ov-file#connect-open

https://github.com/phpredis/phpredis/blob/d0b0c5cfdde9d49a265ca4bf7184e3998863aed0/library.c#L3332-L3334

Fixes #54813

Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards joshtrichards added this to the Nextcloud 33 milestone Sep 7, 2025
@joshtrichards joshtrichards requested a review from a team as a code owner September 7, 2025 18:33
@joshtrichards joshtrichards requested review from Altahrim, come-nc and icewind1991 and removed request for a team September 7, 2025 18:33
@joshtrichards joshtrichards added bug 3. to review Waiting for reviews feature: caching Related to our caching system: scssCacher, jsCombiner... labels Sep 7, 2025
@joshtrichards
Copy link
Member Author

/backport to stable32

@joshtrichards
Copy link
Member Author

/backport to stable31

Copy link
Collaborator

@kesselb kesselb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@come-nc come-nc merged commit f2ee9ec into master Sep 8, 2025
205 of 207 checks passed
@come-nc come-nc deleted the fix/redis-unix-socket-port-zero branch September 8, 2025 09:11
@skjnldsv skjnldsv modified the milestones: Nextcloud 33, Nextcloud 32 Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug feature: caching Related to our caching system: scssCacher, jsCombiner...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Redis via unix socket spams log with deprecation warning

6 participants