linuxserver / docker-nginx

GNU General Public License v3.0
145 stars 44 forks source link

[BUG] memcached not loaded #103

Closed JOduMonT closed 3 days ago

JOduMonT commented 4 days ago

Is there an existing issue for this?

Current Behavior

while: memcached is installed when I docker exec nginx ps afux | grep memc nothing is return

also w3cache mention:

The following memcached servers are not responding or not running: Database Cache: 127.0.0.1:11211. Object Cache: 127.0.0.1:11211. This message will automatically disappear once the issue is resolved.

Expected Behavior

I expect memcached working on port 11211

Steps To Reproduce

docker run -d \ --name=nginx \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Etc/UTC \ -p 80:80 \ -p 443:443 \ -v /path/to/nginx/config:/config \ --restart unless-stopped \ lscr.io/linuxserver/nginx:latest

docker exec nginx ps afux | grep memc

Environment

No response

CPU architecture

x86-64

Docker creation

docker run -d \
  --name=nginx \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -p 80:80 \
  -p 443:443 \
  -v /path/to/nginx/config:/config \
  --restart unless-stopped \
  lscr.io/linuxserver/nginx:latest

Container logs

none
github-actions[bot] commented 4 days ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

Roxedus commented 4 days ago

The service got removed 28.02.19

JOduMonT commented 4 days ago

The service got removed 28.02.19

almost; it still their, not just enabled by default so or it is optional

28.02.19: - Add php7-opcache, remove memcached service due to issues on aarch64 (let us know if you need to enable it).

or it needs to be removed completely

aptalca commented 4 days ago

As Rox said, the service is removed, not the package. You can create a service if you like https://www.linuxserver.io/blog/2019-09-14-customizing-our-containers

JOduMonT commented 3 days ago

https://www.linuxserver.io/blog/2019-09-14-customizing-our-containers#custom-services works perfectly ;)