Description
I'm using the current version of the nginx-proxy-manager:latest image in my docker setup on my server.
When I want to add a basic authentication "further called access list", I just receiv a "internal error" popup in the manager administration view.
The container log says the following:
[2/20/2020] [11:45:53 PM] [Access ] › ℹ info Building Access file #1 for: chainovate
[2/20/2020] [11:45:54 PM] [Access ] › ℹ info Adding: chris
[2/20/2020] [11:45:54 PM] [Access ] › ✖ error Error: Command failed: /usr/bin/htpasswd -b "/data/access/1" "chris" "asdasd123"
/bin/sh: /usr/bin/htpasswd: not found
at ChildProcess.exithandler (child_process.js:295:12)
at ChildProcess.emit (events.js:210:5)
at maybeClose (internal/child_process.js:1028:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
[2/20/2020] [11:45:54 PM] [Access ] › ✖ error Error: Command failed: /usr/bin/htpasswd -b "/data/access/1" "chris" "asdasd123"
/bin/sh: /usr/bin/htpasswd: not found
at ChildProcess.exithandler (child_process.js:295:12)
at ChildProcess.emit (events.js:210:5)
at maybeClose (internal/child_process.js:1028:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
[2/20/2020] [11:45:54 PM] [Access ] › ✔ success Built Access file #1 for: chainovate
[2/20/2020] [11:45:54 PM] [Express ] › ⚠ warning Command failed: /usr/bin/htpasswd -b "/data/access/1" "chris" "asdasd123"
/bin/sh: /usr/bin/htpasswd: not found
It seems that the provided image has no installed "apache2-utils" package.
My Workaround:
using a own Dockerfile extending from the provided nginx-proxy-manager image and install the missing "apache2-utils" package.