Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis using unix socket #2391

Closed
das-schaf opened this issue Oct 7, 2016 · 1 comment
Closed

Redis using unix socket #2391

das-schaf opened this issue Oct 7, 2016 · 1 comment
Milestone

Comments

@das-schaf
Copy link

Issue details

The current redis implementation only supports using redis via tcp. My hoster instead only allows using redis via unix socket. Is it possible to support unix sockets for redis?

Environment

  • wallabag version (or git revision) that exhibits the issue: 2.1
  • How did you install wallabag? package?
  • Last wallabag version that did not exhibit the issue (if applicable):
  • php version: 7.0
  • OS: centos
  • type of hosting (shared or dedicated): shared
  • which storage system you choose at install (SQLite, MySQL/MariaDB or PostgreSQL): SQLite

Steps to reproduce/test case

@j0k3r
Copy link
Member

j0k3r commented Oct 7, 2016

This shouldn't be hard to enable.

If you need it right away, you can edit /src/Wallabag/CoreBundle/Resources/config/services.yml at line 118, replace the redis config by:

    wallabag_core.redis.client:
        class: Predis\Client
        arguments:
            -
                scheme: 'unix'
                path: '/path/to/redis.socket'

It should work.
Run php bin/console c:c -e=prod and it should be setup.

@j0k3r j0k3r added this to the 2.1.2 milestone Oct 7, 2016
@j0k3r j0k3r closed this as completed Oct 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants