update script phpmyadmin does not work for me

Discussion in 'Tips/Tricks/Mods' started by jjsjjs, Jun 8, 2022.

  1. jjsjjs

    jjsjjs Member

    Hi (Thom),
    your script to update phpmyadmin seems not to work for me.
    https://www.howtoforge.com/community/threads/keep-your-phpmyadmin-installation-up-to-date-automatically-how-to-update-phpmyadmin.88495/
    I'm getting this:
    And indeed there is no package.json
    But that does also not update it.
    How to solve this?

    Thanks a lot!
     
  2. jjsjjs

    jjsjjs Member

    Meanwhile I did a manual update via this tut:
    https://devanswers.co/manually-upgrade-phpmyadmin/

    So it's FYI now. Thanks!
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Did you originally install PHPMyAdmin using apt install? I think the update script by @Th0m is meant for hosts where PHPMyAdmin is not installed from the distro repository at all.
     
  4. jjsjjs

    jjsjjs Member

  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Then you installed it with apt install phpmyamdin. So the script by @Th0m detects that and stops trying to update phpmyadmin so as not to break the system.
    In this case you do not need the script, the usual apt update ; apt upgrade will install phpmyadmin updates.
     
    jjsjjs likes this.
  6. jjsjjs

    jjsjjs Member

    Thanks for clearing that up Taleman!
     

Share This Page