bitnami / containers

Bitnami container images
https://bitnami.com
Other
3.03k stars 4.38k forks source link

[bitnami/phpmyadmin] ALLOWDENY_ORDER: unbound variable #68067

Closed tien238lnd closed 1 day ago

tien238lnd commented 1 week ago

Name and Version

bitnami/phpmyadmin:5.2.1-debian-12-r30

What architecture are you using?

amd64

What steps will reproduce the bug?

$ docker run --rm -e "CONFIGURATION_ALLOWDENY_ORDER=allow,deny" bitnami/phpmyadmin:5.2.1-debian-12-r30
.
.
.
phpmyadmin INFO  ==> Configuring phpMyAdmin
/opt/bitnami/scripts/libphpmyadmin.sh: line 119: ALLOWDENY_ORDER: unbound variable

What is the expected behavior?

I want to use the environment variables CONFIGURATION_ALLOWDENY_ORDER and CONFIGURATION_ALLOWDENY_RULES to limit users' access to the database server. I expect that the configuration will work fine.

What do you see instead?

Fatal error at the script /opt/bitnami/scripts/libphpmyadmin.sh, and the container can not start.

carrodher commented 1 week ago

Thank you for opening this issue and submitting the associated Pull Request. Our team will review and provide feedback. Once the PR is merged, the issue will automatically close.

Your contribution is greatly appreciated!