Skip to content

[BUG] ENV VARS not working as expected, out of date? #45

@iamkevinmccarthy

Description

@iamkevinmccarthy

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

My use case is utilizing the PMA_HOSTS and PMA_VERBOSES variables. I set a handful of servers and their verbose names, and I don't get a dropdown to select which one I want to connect to. I tried this with the standard Phpmyadmin Docker and it works fine.

Also, the VARS available from the official PMA Docker repo is significantly larger than what's available here (it's mostly SSL related but that can be pretty important). Please update this accordingly.

Image

NOTE: I disabled PMA_ARBITRARY for this.

Expected Behavior

When variables such as PMA_HOSTS and PMA_VERBOSES are set, there should be a USER and PASS field, followed by a SERVER CHOICE dropdown. See below.

Image

Steps To Reproduce

  • Deploy a fresh install of this image.
  • Add a new var for PMA_HOSTS and enter 2 or more hosts to connect to (comma separated)
  • Add a new var for PMA_VERBOSES and enter an equal amount of verbose server names
  • Redeploy
  • Refresh PMA

Environment

- OS: Ubuntu 24.04
- How docker service was installed: Via Coolify dashboard, which uses the `image: lscr.io/linuxserver/phpmyadmin:latest`

CPU architecture

x86-64

Docker creation

services:
  phpmyadmin:
    image: 'lscr.io/linuxserver/phpmyadmin:latest'
    environment:
      - SERVICE_FQDN_PHPMYADMIN
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Madrid
      - PMA_ARBITRARY=1
      - PMA_ABSOLUTE_URI=$SERVICE_FQDN_PHPMYADMIN
    volumes:
      - 'phpmyadmin-config:/config'
    healthcheck:
      test:
        - CMD
        - curl
        - '-f'
        - 'http://127.0.0.1:80'
      interval: 2s
      timeout: 10s
      retries: 15

Container logs

2025-Aug-10 07:34:05.078183
Starting deployment of phpmyadmin:latest to OVH.
2025-Aug-10 07:34:05.244895
Preparing container with helper image: ghcr.io/coollabsio/coolify-helper:1.0.8.
2025-Aug-10 07:34:05.344627
[CMD]: docker stop --time=30 fc4gwscggc8sgw88o4oswwg8
2025-Aug-10 07:34:05.344627
Flag --time has been deprecated, use --timeout instead
2025-Aug-10 07:34:05.346611
Error response from daemon: No such container: fc4gwscggc8sgw88o4oswwg8
2025-Aug-10 07:34:05.444138
[CMD]: docker rm -f fc4gwscggc8sgw88o4oswwg8
2025-Aug-10 07:34:05.444138
Error response from daemon: No such container: fc4gwscggc8sgw88o4oswwg8
2025-Aug-10 07:34:05.570962
[CMD]: docker run -d --network coolify --name fc4gwscggc8sgw88o4oswwg8 --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/coollabsio/coolify-helper:1.0.8
2025-Aug-10 07:34:05.570962
58227bdf7da2dfd0d2850b0619b7d00472bd83fd32f0133f713d53ead9577fc6
2025-Aug-10 07:34:06.588238
----------------------------------------
2025-Aug-10 07:34:06.591410
Rolling update started.
2025-Aug-10 07:34:06.593707
Pulling latest images from the registry.
2025-Aug-10 07:34:06.845773
[CMD]: docker exec fc4gwscggc8sgw88o4oswwg8 bash -c 'docker compose --project-name p8gcgokgo84k8444s48sc0gk --project-directory /artifacts/fc4gwscggc8sgw88o4oswwg8 pull'
2025-Aug-10 07:34:06.845773
p8gcgokgo84k8444s48sc0gk-073404145542 Pulling
2025-Aug-10 07:34:06.955822
p8gcgokgo84k8444s48sc0gk-073404145542 Pulled
2025-Aug-10 07:34:07.203006
[CMD]: docker exec fc4gwscggc8sgw88o4oswwg8 bash -c ' docker compose --project-name p8gcgokgo84k8444s48sc0gk --project-directory /artifacts/fc4gwscggc8sgw88o4oswwg8 up --build -d'
2025-Aug-10 07:34:07.203006
time="2025-08-10T07:34:07Z" level=warning msg="Found orphan containers ([p8gcgokgo84k8444s48sc0gk-212250478102]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up."
2025-Aug-10 07:34:07.203006
Container p8gcgokgo84k8444s48sc0gk-073404145542  Creating
2025-Aug-10 07:34:07.234788
p8gcgokgo84k8444s48sc0gk-073404145542 Your kernel does not support memory swappiness capabilities or the cgroup is not mounted. Memory swappiness discarded.
2025-Aug-10 07:34:07.236733
Container p8gcgokgo84k8444s48sc0gk-073404145542  Created
2025-Aug-10 07:34:07.238031
Container p8gcgokgo84k8444s48sc0gk-073404145542  Starting
2025-Aug-10 07:34:07.411315
Container p8gcgokgo84k8444s48sc0gk-073404145542  Started
2025-Aug-10 07:34:07.424550
New container started.
2025-Aug-10 07:34:07.427294
Removing old containers.
2025-Aug-10 07:34:07.650296
[CMD]: docker stop --time=30 p8gcgokgo84k8444s48sc0gk-212250478102
2025-Aug-10 07:34:07.650296
Flag --time has been deprecated, use --timeout instead
2025-Aug-10 07:34:08.813095
p8gcgokgo84k8444s48sc0gk-212250478102
2025-Aug-10 07:34:08.977656
[CMD]: docker rm -f p8gcgokgo84k8444s48sc0gk-212250478102
2025-Aug-10 07:34:08.977656
p8gcgokgo84k8444s48sc0gk-212250478102
2025-Aug-10 07:34:08.981810
Rolling update completed.
2025-Aug-10 07:34:09.254245
Gracefully shutting down build container: fc4gwscggc8sgw88o4oswwg8
2025-Aug-10 07:34:09.350105
[CMD]: docker stop --time=30 fc4gwscggc8sgw88o4oswwg8
2025-Aug-10 07:34:09.350105
Flag --time has been deprecated, use --timeout instead
2025-Aug-10 07:34:09.498315
fc4gwscggc8sgw88o4oswwg8
2025-Aug-10 07:34:09.600203
[CMD]: docker rm -f fc4gwscggc8sgw88o4oswwg8
2025-Aug-10 07:34:09.600203
Error response from daemon: No such container: fc4gwscggc8sgw88o4oswwg8

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions