Discover Centmin Mod today
Register Now

Upgrade Centmin Mod 1.2.3-eva2000.01

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Alex, Dec 3, 2014.

  1. Alex

    Alex New Member

    22
    4
    3
    Jun 18, 2014
    Ratings:
    +4
    Local Time:
    7:23 PM
    1.4.6
    Hi there, I have two problems. I would like to upgrade Centmin to get the new features though couldn't find a guide to do so.

    Also I am trying to upgrade PHP using centmin though it is not working, currently:

    Code:
    [root@vps centmin-v1.2.3mod]# php -v
    PHP 5.3.28 (cli) (built: Mar 22 2014 09:27:34)
    
    
    PHP Upgrade - Would you like to continue? [y/n] y
    
    Install which version of PHP? (version i.e. 5.3.21): 5.4.35
    *************************************************
    * Upgrading PHP
    *************************************************
    Loaded plugins: downloadonly, fastestmirror, priorities
    Setting up Remove Process
    No Match for argument: php-5.3.21
    Loading mirror speeds from cached hostfile
    * base: ftp.swin.edu.au
    * epel: mirror.web24.net.au
    * extras: ftp.swin.edu.au
    * rpmforge: ftp.riken.jp
    * updates: ftp.swin.edu.au
    http://centos.alt.ru/repository/centos/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned er                                                                      ror: 403 Forbidden"
    Trying other mirror.
    1813 packages excluded due to repository priority protections
    No Match for argument: php-5.3.21.tar.gz
    No Match for argument: php-5.3.22
    No Match for argument: php-5.3.22.tar.gz
    No Match for argument: php-5.3.23
    No Match for argument: php-5.3.23.tar.gz
    No Match for argument: php-5.3.28
    No Match for argument: php-5.3.28.tar.gz
    No Match for argument: php-.tar.gz
    No Packages marked for removal
    --2014-12-03 07:59:59--  http://us.php.net/get/php-5.4.35.tar.gz/from/www.php.net/mirror
    Resolving us.php.net... 64.71.164.5, 208.69.120.58, 216.194.115.245
    Connecting to us.php.net|64.71.164.5|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2014-12-03 08:00:01 ERROR 404: Not Found.
    
    tar (child): php-5.4.35.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    ./centmin.sh: line 1048: cd: php-5.4.35: No such file or directory
    
    *************************************************
    * Updating php.ini...
    *************************************************
    old php.ini will be saved at /usr/local/lib/php.ini-oldversion_031214-075932
    if you have modified your old php.ini i.e. installed and loaded
    APC, Xcache, Memcache or Suhosin - please re-install them after php upgrade
    ...
    cp: cannot stat `php.ini-production': No such file or directory
    
    make: *** No rule to make target `clean'.  Stop.
    ./centmin.sh: line 1091: ./buildconf: No such file or directory
    make: *** No rule to make target `clean'.  Stop.
    http://centos.alt.ru/repository/centos/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned er                                                                      ror: 403 Forbidden"
    Trying other mirror.
    inc/php_configure.inc: line 11: ../configure: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    make: *** No rule to make target `install'.  Stop.
    *************************************************
    
    Wed Dec  3 08:00:06 AEDT 2014
    Error: 2, PHP configure failed (1.2.3-eva2000.01)
    
    *************************************************
    
    ccache stats:
    cache directory                     /home/.ccache
    cache hit (direct)                    95
    cache hit (preprocessed)            2064
    cache miss                          7214
    called for link                      658
    called for preprocessing             561
    compile failed                        65
    preprocessor error                    63
    bad compiler arguments                74
    unsupported source language           63
    autoconf compile/link               1662
    no input file                        139
    files in cache                     14997
    cache size                         386.7 Mbytes
    max cache size                       2.0 Gbytes
     
    Last edited: Dec 3, 2014
  2. eva2000

    eva2000 Administrator Staff Member

    28,971
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,759
    Local Time:
    7:23 PM
    Nginx 1.13.x
    MariaDB 5.5
    You ran into 2 issues, changed PHP download url and CentALT yum error as that yum repo is dead now, so need updated Centmin Mod 1.2.3-eva2000.07 stable or higher code which you can upgrade via instructions specific in upgrade section at Install - Centmin Mod 1.2.3-eva2000.07 stable install | Centmin Mod Community

    Then use newly updated centmin.sh to upgrade PHP
     
  3. Alex

    Alex New Member

    22
    4
    3
    Jun 18, 2014
    Ratings:
    +4
    Local Time:
    7:23 PM
    1.4.6
    Thanks for the quick reply, I just did the updated centmin as your said though the PHP update still isn't working:

    Code:
    checking whether to enable DOM support... yes
    checking for xml2-config path... (cached) /usr/bin/xml2-config
    checking whether libxml build works... (cached) yes
    checking for ENCHANT support... yes
    configure: error: Cannot find enchant
    make: *** No targets specified and no makefile found.  Stop.
    
    real    0m0.003s
    user    0m0.001s
    sys     0m0.001s
    make: *** No rule to make target `install'.  Stop.
    
    real    0m0.003s
    user    0m0.001s
    sys     0m0.002s
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
    *************************************************
    
    Wed Dec  3 09:18:51 AEDT 2014
    Success: PHP configure ok
    
    *************************************************
    make -j2
    make: *** No targets specified and no makefile found.  Stop.
    
    real    0m0.004s
    user    0m0.002s
    sys     0m0.001s
    *************************************************
    
    Wed Dec  3 09:18:52 AEDT 2014
    Error: 2, PHP make failed (1.2.3-eva2000.07)
    
    *************************************************
     
    Last edited: Dec 3, 2014
  4. eva2000

    eva2000 Administrator Staff Member

    28,971
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,759
    Local Time:
    7:23 PM
    Nginx 1.13.x
    MariaDB 5.5
    ah it might be because you still have CentALT repo enabled i think i do check for that

    what do these 2 commands output for you ?
    Code:
    yum list enchant enchant-devel --disablerepo=rpmforge,epel
    
    yum list enchant enchant-devel
    use
    Code:
     CODE tags to enclose SSH output makes it easier to read
     
  5. Alex

    Alex New Member

    22
    4
    3
    Jun 18, 2014
    Ratings:
    +4
    Local Time:
    7:23 PM
    1.4.6
    Cheers

    Code:
    [root@vps centmin-v1.2.3mod]# yum list enchant enchant-devel --disablerepo=rpmforge,epel
    Loaded plugins: downloadonly, fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: ftp.swin.edu.au
    * extras: ftp.swin.edu.au
    * updates: ftp.swin.edu.au
    http://centos.alt.ru/repository/centos/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: CentALT. Please verify its path and try again
    
    Code:
    [root@vps centmin-v1.2.3mod]# yum list enchant enchant-devel
    Loaded plugins: downloadonly, fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    epel/metalink                                                                                   | 2.9 kB     00:00
    * base: ftp.swin.edu.au
    * epel: mirror.web24.net.au
    * extras: ftp.swin.edu.au
    * rpmforge: ftp.riken.jp
    * updates: ftp.swin.edu.au
    http://centos.alt.ru/repository/centos/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: CentALT. Please verify its path and try again
    You have new mail in /var/spool/mail/root
    
     
  6. Alex

    Alex New Member

    22
    4
    3
    Jun 18, 2014
    Ratings:
    +4
    Local Time:
    7:23 PM
    1.4.6
    cpcheck.inc:

    Code:
    centaltoff() {
        if [[ -f /etc/yum.repos.d/centalt.repo ]]; then
            sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/centalt.repo
            yum clean all -q
        fi
    }
     
  7. eva2000

    eva2000 Administrator Staff Member

    28,971
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,759
    Local Time:
    7:23 PM
    Nginx 1.13.x
    MariaDB 5.5
    try manually disabling CentALT via these 2 commands

    Code:
    sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/centalt.repo
    
    yum clean all -q
     
  8. Alex

    Alex New Member

    22
    4
    3
    Jun 18, 2014
    Ratings:
    +4
    Local Time:
    7:23 PM
    1.4.6
    Woohoo, that worked, cheers
     
    • Like Like x 1