phpMyAdmin auto-update script deletes folder in ISPConfig 3.3 – need safe update method

Discussion in 'Installation/Configuration' started by Ljubo, Nov 8, 2025 at 12:28 PM.

  1. Ljubo

    Ljubo New Member

    Hello,

    I’m running a web server with ISPConfig 3.3 multiserver setup. phpMyAdmin is installed separately on the web server.

    After the latest ISPConfig upgrade, I noticed that the phpMyAdmin folder sometimes disappears. When I run the auto-update script manually, it says that phpMyAdmin is up-to-date, but the folder does not exist.

    Currently, the script tries to fetch the latest version number and URL from a deprecated source, so it cannot download the latest phpMyAdmin package.

    Current workaround: I manually downloaded and installed phpMyAdmin version 5.2.3 to the proper folder, and it works, but I want to:

    1. Make the script update automatically in the future

    2. Ensure it never deletes the phpMyAdmin folder if the download fails
    Questions:

    1. What is the safe method to update phpMyAdmin using this script?

    2. How can I modify the script to avoid folder deletion if the download fails?

    3. Any recommended best practices for keeping phpMyAdmin updated on ISPConfig servers without risking deletion?
    Thanks in advance for guidance!
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    The script is fine, and should 1st check the version in PMA repo and compare to local, if it's the same latest, abort, otherwise, update.

    The problem suspected in ISPConfig Auto Installer which was taken from this script and reported here was reaching the version txt from some servers, and the small suggested fix was to check the version from alternative permanent source.

    I'm currently on mobile and cannot easily navigate to that post of mine, but you can try finding it and apply to your current script, but no guarantee that will fix it though.
     

Share This Page