The /usr/share/phpmyadmin dir disappeared

Discussion in 'Installation/Configuration' started by orasis, Dec 4, 2023.

  1. orasis

    orasis Member

    Hello !
    I recently formatted my local server with the following most recent tutorial for Debian 11:
    https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/

    Everything works smoothly since then, no errors during installation, except today I noticed something strange. I tried to access the phpmyadmin interface from the browser and got a 404 not found error. After checking everything I noticed that actually the directory in:
    Code:
    /usr/share/phpmyadmin
    ..was renamed to:
    Code:
    /usr/share/phpmyadmin-bak-5.2.1-231126062513
    Version 5.2.1 is the latest phpmyadmin version as of the time of writing this post.
    I renamed it back to:
    Code:
    /usr/share/phpmyadmin
    ..and the web interface works normally again.
    The only problem is I have no idea what happened, plus I am not sure if that was enough to fix this.
    Any place I can check ? Anything I can do to repeat this auto-update manually now or in the future ?
    In previous ISPconfig installations I would install phpmyadmin manually and I knew what to do, but I do not want to mess this up now.

    Thanks a lot.
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    There is a script in place that updates phpMyAdmin automatically. It might have misfired, have not seen that before though.
     
    orasis likes this.
  3. orasis

    orasis Member

    That's exactly what I thought too @Th0m. Could be a bug. I am just worried something may have not completely finished.
    Do you know of a way to execute that script manually ?
     
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    The update script can be ran manually with
    Code:
    curl https://git.ispconfig.org/ispconfig/tools/-/raw/master/auto_update_phpmyadmin.sh -sL | sh
     
    orasis likes this.
  5. orasis

    orasis Member

    Thanks so much @Th0m I will try this shortly.
     

Share This Page