Hi all,
I’m stuck with the One-Click phpMyAdmin button in DirectAdmin 1.677. In the panel under Account Manager → Databases → phpMyAdmin, I get:
Error Failed to open phpMyAdmin
see attachment)
Environment
Troubleshooting steps taken
1. MySQL credentials/config
- Removed all leftover /root/.my.cnf and /etc/mysql/my.cnf so only /usr/local/directadmin/conf/mysql.conf remains
- CLI test passes:
mysql --defaults-extra-file=/usr/local/directadmin/conf/mysql.conf
--execute="SHOW DATABASES;"
2. Core update attempts
- Ran CustomBuild: ./build update_da && ./build directadmin
- Ran the bundled update script:
cd /usr/local/directadmin/scripts
sudo ./update.sh
No /usr/local/directadmin/scripts/CMD_PMA appeared
3. Manual plugin creation
- Created /usr/local/directadmin/plugins/phpMyAdmin/ with valid plugin.conf and admin/index.html (redirect to /CMD_PMA/...)
- Set owner to diradmin:diradmin and chmod 755
→ Plugin now “Active: Yes”, but button still fails
4. UI “Add Plugin” attempts
-Tried both addons/phpMyAdmin-5.2.2.tar.gz and all-languages bundles
-Always 404 or “not in gzip format” errors
- Web Applications → phpMyAdmin
Installs only the standalone webapp under /var/www/html, not the DirectAdmin panel-plugin
Current situation
- The CMD_PMA SSO script is completely missing from /usr/local/directadmin/scripts/.
- Without CMD_PMA, DirectAdmin cannot generate SSO tokens, so the phpMyAdmin button will never work.
- ]All documented methods (CustomBuild, update.sh, UI plugin installer) have failed to restore it.
Questions
- Is there an official CMD_PMA download or patch for DirectAdmin v1.677?
- Are there any additional steps beyond CustomBuild and update.sh to restore core scripts?
- Has anyone else encountered this and found a workaround that doesn’t rely on manual redirects or cookie-auth
Any pointers or shared experiences would be greatly appreciated!
Thanks,
Jan
I’m stuck with the One-Click phpMyAdmin button in DirectAdmin 1.677. In the panel under Account Manager → Databases → phpMyAdmin, I get:
Error Failed to open phpMyAdmin
see attachment)
Environment
- Ubuntu 22.04 LTS
- DirectAdmin v1.677
- CustomBuild fully updated
- MariaDB 10.6 (socket /var/run/mysqld/mysqld.sock)
- PHP 8.1 + phpMyAdmin 5.2.2
Troubleshooting steps taken
1. MySQL credentials/config
- Removed all leftover /root/.my.cnf and /etc/mysql/my.cnf so only /usr/local/directadmin/conf/mysql.conf remains
- CLI test passes:
mysql --defaults-extra-file=/usr/local/directadmin/conf/mysql.conf
--execute="SHOW DATABASES;"
2. Core update attempts
- Ran CustomBuild: ./build update_da && ./build directadmin
- Ran the bundled update script:
cd /usr/local/directadmin/scripts
sudo ./update.sh
No /usr/local/directadmin/scripts/CMD_PMA appeared
3. Manual plugin creation
- Created /usr/local/directadmin/plugins/phpMyAdmin/ with valid plugin.conf and admin/index.html (redirect to /CMD_PMA/...)
- Set owner to diradmin:diradmin and chmod 755
→ Plugin now “Active: Yes”, but button still fails
4. UI “Add Plugin” attempts
-Tried both addons/phpMyAdmin-5.2.2.tar.gz and all-languages bundles
-Always 404 or “not in gzip format” errors
- Web Applications → phpMyAdmin
Installs only the standalone webapp under /var/www/html, not the DirectAdmin panel-plugin
Current situation
- The CMD_PMA SSO script is completely missing from /usr/local/directadmin/scripts/.
- Without CMD_PMA, DirectAdmin cannot generate SSO tokens, so the phpMyAdmin button will never work.
- ]All documented methods (CustomBuild, update.sh, UI plugin installer) have failed to restore it.
Questions
- Is there an official CMD_PMA download or patch for DirectAdmin v1.677?
- Are there any additional steps beyond CustomBuild and update.sh to restore core scripts?
- Has anyone else encountered this and found a workaround that doesn’t rely on manual redirects or cookie-auth
Any pointers or shared experiences would be greatly appreciated!
Thanks,
Jan