phpMyAdmin error: API: Service not enabled

Hi,

Trying to run the official phpMyAdmin component through Supervisor. It installed without issue but when trying to start it fails with the following error.

Error Log:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 

-----------------------------------------------------------
 Add-on: phpMyAdmin
 A web interface for the official MariaDB add-on
-----------------------------------------------------------
 Add-on version: 0.1.3
 You are running the latest version of this add-on.
 System: null  (amd64 / qemux86-64)
 Home Assistant Core: 0.110.3
 Home Assistant Supervisor: 225
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] phpmyadmin.sh: executing... 
[18:08:16] ERROR: Got unexpected response from the API: Service not enabled
[cont-init.d] phpmyadmin.sh: exited 139.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 

System Health:

arch	x86_64
chassis	
dev	false
docker	true
hassio	true
host_os	
installation_type	Home Assistant Supervised
os_name	Linux
os_version	3.10.105
python_version	3.7.7
supervisor	225
timezone	Australia/Sydney
version	0.110.3
virtualenv	false

Running HA through a supervised install on a Synology Diskstation. MariaDB is on version 2.1.2, it was also installed through Supervisor.

Anyone any ideas?

Thanks,
Eoin

Did you find a solution?
I see the same on my install.

Unfortunately, not. I did however work out something strange that is a happening. I had a db issue and ended up blowing it away and starting new. When I did that phpMyAdmin started!

However, a few days later back to the same issue. This got me curious, so I again deleted the db, same pattern, phpMyAdmin worked for a day or two then again started to fail.

Why this is happening. No idea.

Same here

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Add-on: phpMyAdmin
 A web interface for the official MariaDB add-on
-----------------------------------------------------------
 Add-on version: 0.7.1
 You are running the latest version of this add-on.
 System: Home Assistant OS 7.6  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2022.5.3
 Home Assistant Supervisor: 2022.05.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
Log level is set to DEBUG
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nginx.sh: executing... 
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] phpmyadmin.sh: executing... 
[15:51:18] DEBUG: Requested API resource: http://supervisor/services/mysql
[15:51:18] DEBUG: Request method: GET
[15:51:18] DEBUG: Request data: {}
[15:51:18] DEBUG: API HTTP Response code: 400
[15:51:18] DEBUG: API Response: {"result": "error", "message": "Service not enabled"}
[15:51:18] ERROR: Got unexpected response from the API: Service not enabled
[cont-init.d] phpmyadmin.sh: exited 139.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
-----------------------------------------------------------
                Oops! Something went wrong.

 We are so sorry, but something went terribly wrong when
 starting or running this add-on.
 
 Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting

Solutions cannot be deleting the db after every 1-2 days.

Am having the exact same. Did anyone find a solution?

EDIT: nevermind… Figured out that MariaDB wasn’t running. After starting it phpmyadmin works perfect!

Same issue. mariadb running.

also the same issue. MariaDB is running.