auto_update_phpmyadmin issue

Discussion in 'General' started by kgzhy, Nov 21, 2025 at 2:26 PM.

  1. kgzhy

    kgzhy New Member

    Hi, I'm having wired issue with ISPConfig 3 daily cron running /etc/cron.daily/auto_update_phpmyadmin script (I guess). Every day at 6:25 am directory:
    Code:
    /usr/share/phpmyadmin/
    is being moved, for example to:
    Code:
    /usr/share/phpmyadmin-bak-5.2.3-251121062501/
    and /usr/share/phpmyadmin/ isn't available anymore, so server.address.xyz:8081/phpmyadmin/ gives "404 Not Found". Every day part "251121062501" is different of course (date and time). If I do:
    Code:
    mv /usr/share/phpmyadmin-bak-5.2.3-251121062501/ /usr/share/phpmyadmin/
    it works again. I placed my email address in auto_update_phpmyadmin script and email message at 6:25 am is:
    I already tried force update ISPConfig 3 - nothing changed. Also there isn't anything to update is my system (apt update). Phpmyadmin from apt isn't installed, checked with:
    Code:
    apt-cache policy phpmyadmin
    and it says "Installed: (none)".
    Environment versions:
    Code:
    ISPConfig 3.3.0p3
    phpMyAdmin 5.2.3
    Debian 12
    nginx 1.22.1
    PHP 8.2.29
    ISPConfig installed with auto installer, as far as I remember with command:
    Code:
    wget -O - get.ispconfig.org | sh -s -- --use-nginx --no-dns --no-mail --use-ftp-ports=40110-40210 --unattended-upgrades
    This issue occurred recently, I'm having it for a few weeks, maybe up to two months (tried to figure it by myself). Could anyone point me what could be the reason for such behaviour? Thank you in advance.
    Kind regards,
    Chris
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    This is a known (and fixed) bug. To fix it quickly, simply run
    Code:
    /etc/cron.daily/auto_update_phpmyadmin
    The script has to be updated to prevent it from happening again:
    Code:
    [ -f /etc/cron.daily/auto_update_phpmyadmin ] && curl 'https://git.ispconfig.org/ispconfig/tools/-/raw/master/auto_update_phpmyadmin.sh' -L -o /etc/cron.daily/auto_update_phpmyadmin && chmod +x /etc/cron.daily/auto_update_phpmyadmin
     
    ahrasis and till like this.
  3. kgzhy

    kgzhy New Member

    I see. Seems to be working now. Thank you.
     

Share This Page