If you are getting the following error when running "/scripts/upcp - -force" command, Then please see the fix mentioned below.

Can't locate Cpanel/CPAN/URI/Escape.pm in @INC (@INC contains: /scripts /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /scripts/cPScript/Encoder/URI.pm line 8.

 

1.  Some modules are missing from /usr/local/cPanel/Cpanel

 

2.  So, download http://httpupdate.cpanel.net/pub/cpanelsync/RELEASE-x86_64/Cpanel.tar.bz2 and extract it on the server.

 

3.  This will place the missing modules back.

 

4. Run upcp again and it should complete without any errors.