Want to subscribe to topics you're interested in?
Become a Member

phpmyadmin.sh Addon

Discussion in 'Add Ons' started by eva2000, May 25, 2014.

  1. eva2000

    eva2000 Administrator Staff Member

    31,729
    7,045
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,661
    Local Time:
    9:38 PM
    Nginx 1.13.x
    MariaDB 5.5
  2. pamamolf

    pamamolf Well-Known Member

    2,920
    262
    83
    May 31, 2014
    Ratings:
    +465
    Local Time:
    1:38 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    • Informative Informative x 1
  3. pamamolf

    pamamolf Well-Known Member

    2,920
    262
    83
    May 31, 2014
    Ratings:
    +465
    Local Time:
    1:38 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Don't know why but as i had disabled the automated upgrade using the cron i run it manually and i got this:

    Code:
    /root/tools/phpmyadmin_update.sh
    cd /usr/local/nginx/html/15080_mysqladmin2828
    git pull
    From https://github.com/phpmyadmin/phpmyadmin
       b6c9556..42eb0bf  STABLE     -> origin/STABLE
    From https://github.com/phpmyadmin/phpmyadmin
     * [new tag]         RELEASE_4_7_0RC1 -> RELEASE_4_7_0RC1
     * [new tag]         RELEASE_4_7_5 -> RELEASE_4_7_5
     * [new tag]         RELEASE_4_7_6 -> RELEASE_4_7_6
     * [new tag]         RELEASE_4_7_7 -> RELEASE_4_7_7
    error: Your local changes to the following files would be overwritten by merge:
        composer.lock
    Please, commit your changes or stash them before you can merge.
    Aborting
    Updating 6519211..42eb0bf
    2018-01-02 23:03:04 URL:https://getcomposer.org/composer.phar [1845610/1845610] -> "composer.phar" [1]
    Do not run Composer as root/super user! See https://getcomposer.org/root for details
    Loading composer repositories with package information
    Updating dependencies
    Package operations: 2 installs, 7 updates, 0 removals
      - Installing symfony/polyfill-mbstring (v1.6.0): Downloading (100%)         
      - Updating phpmyadmin/sql-parser (v4.1.3 => v4.2.4): Downloading (100%)         
      - Installing psr/simple-cache (1.0.0): Downloading (100%)         
      - Updating symfony/cache (v3.2.7 => v4.0.2): Downloading (100%)         
      - Updating symfony/expression-language (v3.2.7 => v4.0.2): Downloading (100%)         
      - Updating phpmyadmin/motranslator (3.0 => 3.4): Downloading (100%)         
      - Updating phpmyadmin/shapefile (2.0 => 2.1): Downloading (100%)         
      - Updating tecnickcom/tcpdf (6.2.12 => 6.2.13): Downloading (100%)         
      - Updating phpseclib/phpseclib (2.0.4 => 2.0.9): Downloading (100%)         
    Writing lock file
    Generating autoload files
    Don't know if that's the issue:

    But after the upgrade i log out and re login and use also another browser and even if i did manual nprestart i can see the old version and not the updated 4.7.7 :(
     
  4. pamamolf

    pamamolf Well-Known Member

    2,920
    262
    83
    May 31, 2014
    Ratings:
    +465
    Local Time:
    1:38 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Problem found :)

    I was missing the:
    at the:
    Using latest centminmod updated..... :(

    Maybe Centminmod autoupdate that files?

    Also when i run it on my second server i didn't got the 4.7.7 and i got the 4.8.0-dev ...

    Don't know why....

    Any easy way to check the version from cli ?

    Third server report:

    Maybe to busy as it is all around the news and everyone try to upgrade?

    But all servers was updated and working even with that errors :)

    Thank you
     
    Last edited: Jan 3, 2018
  5. eva2000

    eva2000 Administrator Staff Member

    31,729
    7,045
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,661
    Local Time:
    9:38 PM
    Nginx 1.13.x
    MariaDB 5.5
    latest version of /root/tools/phpmyadmin_update.sh has the line for
    Code (Text):
    rm -rf composer.lock
    

    so guess you were using older version

    easiest way to solve these in future is just run the uninstaller for phpmyadmin.sh at /root/tools/phpmyadmin_uninstall.sh and re-install to get latest version
     
  6. eva2000

    eva2000 Administrator Staff Member

    31,729
    7,045
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,661
    Local Time:
    9:38 PM
    Nginx 1.13.x
    MariaDB 5.5
    ouch... that's why i rarely ever install phpmyadmin myself and just do all mysql management via SSH commandline but also why phpmyadmin.sh installer has an auto updater script though phpmyadmin install/update procedures have changes to deal with the lock file which latest phpmyadmin.sh installer does.