puppetboard icon indicating copy to clipboard operation
puppetboard copied to clipboard

memcached enabled and 'Error: no memcache module found'

Open anders-larsson opened this issue 1 year ago • 1 comments

Describe the bug

When memcached is enabled container fails with Error: no memcache module found. Can be fixed creating a new container based on this with RUN pip install python-memcached. However, since no one else has complained about this I'm not sure if this is just user error.

Puppetboard version

Tested in with 5.1.0 and 5.3.0. Happens with both versions.

Environment and installation method

docker compose:

puppetboard:
  ...
  environment:
    - ENABLE_CLASS=True
    - SCHEDULER_ENABLED=True
    - CACHE_TYPE=MemcachedCache
    - CACHE_MEMCACHED_SERVERS=memcached:11211

anders-larsson avatar Feb 08 '24 12:02 anders-larsson

One of the required packages (pymemcache, python-memcached, or pylibmc) is missing from the requirements.txt file.

lcharreau avatar Feb 20 '25 14:02 lcharreau