Welcome to Centmin Mod Community
Become a Member

Upgrade Error when run the centmin command

Discussion in 'Install & Upgrades or Pre-Install Questions' started by negative, Jul 15, 2020.

  1. negative

    negative Active Member

    406
    49
    28
    Apr 11, 2015
    Ratings:
    +96
    Local Time:
    12:48 PM
    1.9.10
    10.1.11
    Hello, i have latest centos 7 and centmin and i was run the cmupdate command for update the centmin core.

    After that, when i run the centmin command, it waits and takes this error

    Code (Text):
    ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.


    What is problem?
     
  2. eva2000

    eva2000 Administrator Staff Member

    45,183
    10,276
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,926
    Local Time:
    7:48 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    error shows everytime you run centmin.sh or only 1 time where every subsequent centmin.sh run is fine ? if it's latter then it should be fine

    if not, you can try running centmin.sh menu option 24 in debug mode logged to debug.txt text file in /root/centminlogs directory by running these 3 commands
    Code (Text):
    cd /usr/local/src/centminmod
    echo 24 | bash -x centmin.sh 2>&1 | awk '{ print strftime("%Y-%m-%d %H:%M:%S"), $0; fflush(); }' | tee /root/centminlogs/debug.txt && echo "debug log saved at /root/centminlogs/debug.txt"
    sed -i "s|$(hostname)|hostname|g" /root/centminlogs/debug.txt
    

    Then copy the contents of /root/centminlogs/debug.txt into a pastebin.com or gist.github.com shared link - with an sensitive info masked. At least server hostname will be replaced with word hostname instead via last sed replacement line
     
  3. eva2000

    eva2000 Administrator Staff Member

    45,183
    10,276
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,926
    Local Time:
    7:48 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
  4. negative

    negative Active Member

    406
    49
    28
    Apr 11, 2015
    Ratings:
    +96
    Local Time:
    12:48 PM
    1.9.10
    10.1.11
    Yes, after i run the cmupdate again today, and then run the centmin command, everything works well.

    Thanks.
     
  5. eva2000

    eva2000 Administrator Staff Member

    45,183
    10,276
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,926
    Local Time:
    7:48 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Glad to hear :)