cPanel is not updating to its latest.

GiviN.G

Member
Sep 30, 2014
9
0
1
cPanel Access Level
Root Administrator
Hello,

I was trying to update my cPanel, but after the upcp, it still showing the old version. There were no error while upcp and tried update from command line and WHM. Please see the log file for the upcp.

Code:
[email protected] [~]# tail -100 /var/cpanel/updatelogs/update.1414120835.log                                                                         
[20141023.232057]      [19369] Oct 23 23:20:57.606 [19370] dbg: generic: unlinking 20_compensate.cf                                                                     
[20141023.232057]      [19369] Oct 23 23:20:57.606 [19370] dbg: generic: unlinking local.cf                                                                             
[20141023.232057]      [19369] Oct 23 23:20:57.607 [19370] dbg: generic: unlinking 20_freemail_domains.cf                                                               
[20141023.232057]      [19369] Oct 23 23:20:57.607 [19370] dbg: generic: unlinking 20_body_tests.cf                                                                     
[20141023.232057]      [19369] Oct 23 23:20:57.607 [19370] dbg: generic: unlinking 20_html_tests.cf                                                                     
[20141023.232057]      [19369] Oct 23 23:20:57.607 [19370] dbg: generic: unlinking 10_default_prefs.cf                                                                  
[20141023.232057]      [19369] Oct 23 23:20:57.607 [19370] dbg: generic: unlinking 60_whitelist_spf.cf                                                                  
[20141023.232057]      [19369] Oct 23 23:20:57.607 [19370] dbg: generic: unlinking 20_vbounce.cf                                                                        
[20141023.232057]      [19369] Oct 23 23:20:57.607 [19370] dbg: generic: unlinking 25_replace.cf                                                                        
[20141023.232057]      [19369] Oct 23 23:20:57.608 [19370] dbg: generic: unlinking 10_hasbase.cf                                                                        
[20141023.232057]      [19369] Oct 23 23:20:57.608 [19370] dbg: generic: unlinking languages                                                                            
[20141023.232057]      [19369] Oct 23 23:20:57.608 [19370] dbg: generic: unlinking 20_aux_tlds.cf                                                                       
[20141023.232057]      [19369] Oct 23 23:20:57.608 [19370] dbg: generic: unlinking 25_pyzor.cf                                                                          
[20141023.232057]      [19369] Oct 23 23:20:57.608 [19370] dbg: generic: unlinking 20_imageinfo.cf                                                                      
[20141023.232057]      [19369] Oct 23 23:20:57.608 [19370] dbg: generic: unlinking 60_adsp_override_dkim.cf                                                             
[20141023.232057]      [19369] Oct 23 23:20:57.609 [19370] dbg: generic: unlinking 20_uri_tests.cf                                                                      
[20141023.232057]      [19369] Oct 23 23:20:57.609 [19370] dbg: generic: unlinking STATISTICS-set0-72_scores.cf.txt                                                     
[20141023.232057]      [19369] Oct 23 23:20:57.609 [19370] dbg: generic: unlinking 20_mailspike.cf                                                                      
[20141023.232057]      [19369] Oct 23 23:20:57.609 [19370] dbg: generic: unlinking 23_bayes.cf                                                                          
[20141023.232057]      [19369] Oct 23 23:20:57.609 [19370] dbg: generic: unlinking 30_text_it.cf                                                                        
[20141023.232057]      [19369] Oct 23 23:20:57.609 [19370] dbg: generic: unlinking 30_text_pl.cf                                                                        
[20141023.232057]      [19369] Oct 23 23:20:57.609 [19370] dbg: generic: unlinking 20_porn.cf                                                                           
[20141023.232057]      [19369] Oct 23 23:20:57.610 [19370] dbg: generic: unlinking 20_fake_helo_tests.cf                                                                
[20141023.232057]      [19369] Oct 23 23:20:57.610 [19370] dbg: generic: unlinking 20_meta_tests.cf                                                                     
[20141023.232057]      [19369] Oct 23 23:20:57.610 [19370] dbg: generic: unlinking 60_shortcircuit.cf                                                                   
[20141023.232057]      [19369] Oct 23 23:20:57.610 [19370] dbg: generic: unlinking 30_text_fr.cf                                                                        
[20141023.232057]      [19369] Oct 23 23:20:57.610 [19370] dbg: generic: unlinking 72_scores.cf                                                                         
[20141023.232057]      [19369] Oct 23 23:20:57.610 [19370] dbg: generic: unlinking 20_dynrdns.cf                                                                        
[20141023.232057]      [19369] Oct 23 23:20:57.610 [19370] dbg: generic: unlinking 25_asn.cf                                                                            
[20141023.232057]      [19369] Oct 23 23:20:57.611 [19370] dbg: generic: unlinking 60_whitelist_subject.cf                                                              
[20141023.232057]      [19369] Oct 23 23:20:57.611 [19370] dbg: generic: unlinking 30_text_de.cf                                                                        
[20141023.232057]      [19369] Oct 23 23:20:57.611 [19370] dbg: generic: unlinking 25_razor2.cf                                                                         
[20141023.232057]      [19369] Oct 23 23:20:57.611 [19370] dbg: generic: unlinking 30_text_pt_br.cf                                                                     
[20141023.232057]      [19369] Oct 23 23:20:57.611 [19370] dbg: generic: unlinking 20_net_tests.cf                                                                      
[20141023.232057]      [19369] Oct 23 23:20:57.611 [19370] dbg: generic: unlinking 60_whitelist_dkim.cf                                                                 
[20141023.232057]      [19369] Oct 23 23:20:57.612 [19370] dbg: generic: unlinking 25_accessdb.cf                                                                       
[20141023.232057]      [19369] Oct 23 23:20:57.612 [19370] dbg: generic: unlinking 25_dkim.cf                                                                           
[20141023.232057]      [19369] Oct 23 23:20:57.612 [19370] dbg: generic: unlinking sa-update-pubkey.txt                                                                 
[20141023.232057]      [19369] Oct 23 23:20:57.612 [19370] dbg: generic: unlinking 72_active.cf                                                                         
[20141023.232057]      [19369] Oct 23 23:20:57.612 [19370] dbg: generic: unlinking 60_awl.cf                                                                            
[20141023.232057]      [19369] Oct 23 23:20:57.612 [19370] dbg: generic: unlinking 73_sandbox_manual_scores.cf                                                          
[20141023.232057]      [19369] Oct 23 23:20:57.612 [19370] dbg: generic: unlinking 20_advance_fee.cf                                                                    
[20141023.232057]      [19369] Oct 23 23:20:57.613 [19370] dbg: generic: unlinking 25_antivirus.cf                                                                      
[20141023.232057]      [19369] Oct 23 23:20:57.613 [19370] dbg: generic: unlinking 20_phrases.cf                                                                        
[20141023.232057]      [19369] Oct 23 23:20:57.613 [19370] dbg: generic: unlinking 25_textcat.cf                                                                        
[20141023.232057]      [19369] Oct 23 23:20:57.613 [19370] dbg: generic: unlinking STATISTICS-set3-72_scores.cf.txt                                                     
[20141023.232057]      [19369] Oct 23 23:20:57.613 [19370] dbg: generic: unlinking STATISTICS-set2-72_scores.cf.txt                                                     
[20141023.232057]      [19369] Oct 23 23:20:57.613 [19370] dbg: generic: unlinking 60_whitelist.cf                                                                      
[20141023.232057]      [19369] Oct 23 23:20:57.614 [19370] dbg: diag: updates complete, exiting with code 0                                                             
[20141023.232057]      [19369] Done                                                                                                                                     
[20141023.232059]      [19369] Checking update....update ok!                                                                                                            
[20141023.232059]   Processing: Restoring compiler permissions                                                                                                          
[20141023.232059]    - Processing command `/usr/local/cpanel/scripts/compilers restore`                                                                                 
[20141023.232059]      [19408] Compilers are enabled for unprivileged users.                                                                                            
[20141023.232059]   Processing: Repairing MySQL                                                                                                                         
[20141023.232059]    - Processing command `/usr/local/cpanel/scripts/fixmysql`                                                                                          
[20141023.232059]   Processing: Updating MySQL Server                                                                                                                   
[20141023.232059]    - Processing command `/usr/local/cpanel/scripts/mysqlup`                                                                                           
[20141023.232100]      [19411] MySQL-server-5.1.68-0.cloud is already installed.  Use --force to reinstall.                                                             
[20141023.232100]      [19411] MySQL-client-5.1.68-0.cloud is already installed.  Use --force to reinstall.                                                             
[20141023.232100]      [19411] MySQL-devel-5.1.68-0.cloud is already installed.  Use --force to reinstall.                                                              
[20141023.232100]      [19411] MySQL-shared-5.1.68-0.cloud is already installed.  Use --force to reinstall.                                                             
[20141023.232100]      [19411] MySQL-test-5.1.68-0.cloud is already installed.  Use --force to reinstall.                                                               
[20141023.232100]   Processing: Updating SMTP (EXIM) Server                                                                                                             
[20141023.232100]    - Processing command `/usr/local/cpanel/scripts/eximup`                                                                                            
[20141023.232100]      [19417] exim-4.80-5 is already installed.  Use --force to reinstall.                                                                             
[20141023.232100]   Processing: Cleaning SpamAssassin DBM files                                                                                                         
[20141023.232100]    - Processing command `/usr/local/cpanel/scripts/spamassassin_dbm_cleaner`                                                                          
[20141023.232100]      [19425] /usr/local/cpanel/scripts/spamassassin_dbm_cleaner: version 1.0                                                                          
[20141023.232100]      [19425] Checking SpamAssassin dbm databases....Done                                                                                              
[20141023.232100]      [19425] Checked 0 files for 1 user(s),  ok,  broken                                                                                              
[20141023.232100]   Processing: Configuring Frontpage                                                                                                                   
[20141023.232100]    - Processing command `/usr/local/cpanel/scripts/initfpsuexec`                                                                                      
[20141023.232100]      [19430] initfpsuexec: using apache 2.x support                                                                                                   
[20141023.232100]   Cleaning Squirrelmail attachment directories                                                                                                        
[20141023.232100]   Processing: Running former postinstall scripts                                                                                                      
[20141023.232100]    - Processing command `/usr/local/cpanel/bin/dcpumon --killproc`                                                                                    
[20141023.232100]      [19439] Added Contact [email protected]                                                                                                      
[20141023.232100]      [19439] Added Contact [email protected]                                                                                                      
[20141023.232100]    - Processing command `/usr/local/cpanel/bin/scanfornewmail`                                                                                        
[20141023.232100]      [19442] Scanning for new mail senders.....Done                                                                                                   
[20141023.232100]    - Processing command `/usr/local/cpanel/scripts/fixsuexeccgiscripts`                                                                               
[20141023.232100]      [19443] Scanning suexec_log...Done                                                                                                               
[20141023.232100]    - Processing command `/usr/local/cpanel/bin/setupdbmap`                                                                                            
[20141023.232100]    - Processing command `/usr/local/cpanel/bin/fix_userdata_perms`                                                                                    
[20141023.232100]    - Processing command `/usr/local/cpanel/scripts/detect_env_capabilities`                                                                           
[20141023.232100]                                                                                                                                                       
[20141023.232100] Maintenance complete.                                                                                                                                 
=> Log closed Thu Oct 23 23:21:00 2014                                                                                                                                  
----------------------------------------------------------------------------------------------------                                                                    
=> Log opened from cPanel Update (upcp) - Slave at Thu Oct 23 23:21:00 2014                                                                                             
[20141023.232100]   Maintenance completed successfully                                                                                                                  
[20141023.232101]   Running Standardized hooks                                                                                                                          
[20141023.232102]                                                                                                                                                       
[20141023.232102]       cPanel update completed                                                                                                                         
[20141023.232102]   A log of this update is available at /var/cpanel/updatelogs/update.1414120835.log                                                                   
[20141023.232102]   Removing upcp pidfile                                                                                                                               
[20141023.232102]                                                                                                                                                       
[20141023.232102] Completed all updates                                                                                                                                 
=> Log closed Thu Oct 23 23:21:02 2014 
[email protected] [~]#
[email protected] [~]#
[email protected] [~]# cat /usr/local/cpanel/version                                                                                                                          
11.34.2.8                                                                                                                                                               
[email protected] [~]#

And the version showing as

Code:
[email protected] [~]# cat /usr/local/cpanel/version                                                                                                                          
11.34.2.8                                                                                                                                                               
[email protected] [~]#
But in the WHM, when I got to Home »Server Configuration »Update Preferences, it show as 11.46.0.9 selected.

Additional Info::

Code:
[email protected] [~]# cat /etc/redhat-release                                                                                                                                
CentOS release 6.5 (Final)                                                                                                                                              
[email protected] [~]#                                                                                                                                                        
[email protected] [~]# cat /var/cpanel/sysinfo.config                                                                                                                         
# This values in this file are calculated and updated if necessary nightly. If you wish to override                                                                     
# these values, populate lock= with a comma delimited list of keys you don't want updated.                                                                              
# This will allow you to change those values to suit your needs.                                                                                                        
#                                                                                                                                                                       
# Example: if you set lock like this, then rpm_dist and rpm_arch will not be updated nightly:                                                                           
# lock=rpm_dist,rpm_arch                                                                                                                                                
#                                                                                                                                                                       
ises=2                                                                                                                                                                  
lock=                                                                                                                                                                   
release=6.5                                                                                                                                                             
rpm_arch=x86_64                                                                                                                                                         
rpm_dist=centos                                                                                                                                                         
rpm_dist_ver=6                                                                                                                                                          
[email protected] [~]#
Please help me in this. Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

Please post the output from the following command:

Code:
cat /etc/cpupdate.conf
Thank you.
 

GiviN.G

Member
Sep 30, 2014
9
0
1
cPanel Access Level
Root Administrator
Thank you Michael.

This was fixed. Mike Simsic helped me via ticket. I will post the fix here.

My cPanel version was 11.34.

When updating from versions of cPanel older than 11.36, what you will need to do is the following. Since you are already on 11.34, you'll only need to do this:
1) Edit /etc/cpupdate.conf and change the following:
CPANEL=current
to
CPANEL=11.36

2) /scripts/upcp --force

This should allow the update to 11.36 to complete. As long as the update went through ok, once it has finished, you'll need to:
3) Edit /etc/cpupdate.conf again, and change the following:
CPANEL=11.36
to
CPANEL=current

And then:
4) /scripts/upcp --force

As long as the cPanel version is at 11.36, there should no longer be any further intervention needed to update to the latest version (currently 11.46).

This will take a bit of time to complete, as it has to update to 11.36, then 11.38, 11.40, 11.42, 11.44, and finally 11.46, but this should be able to update with the above steps.

Thanks again :D
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
I am happy to see the issue has been addressed. Thank you for updating us with the outcome.